Visit Our UNIX and Linux User Community


sendmail masquerading on AIX.


 
Thread Tools Search this Thread
Operating Systems AIX sendmail masquerading on AIX.
# 1  
Old 06-07-2011
Question sendmail masquerading on AIX.

Hello all,

I have a requirement wherein I need to change the "received from" address parameter for outgoing mails from an AIX server. I tried using the [mail -r] option to specify the "reply-to" address, still my relay server rejects the mails as the "received from" address still contains [root@localhost].

I know, this can be done by sendmail masquerading, however I'm not sure how to configure this on AIX - though I've done it on Linux regenerating the ~/sendmail.cf file from ~/sendmail.mc using m4 utility.

Could anyone amongst you, help me configure masquerading on AIX please?


Thanks,
-- Souvik
# 2  
Old 06-07-2011
It looks like you need to configure our host properly in sendmail.cf so it says it is what it is, and then the reverse lookup on the opposite end will match, if the DNS is set up right for this host. This varies by sendmail version, and there is much good advice online.

Reverse lookup on your DNS is easy to check, just put your IP on an nslookup command line to see if it knows your host and domain. You might need an nslookup option to make it use the DNS not local files.

Previous Thread | Next Thread
Test Your Knowledge in Computers #240
Difficulty: Easy
In 1973, a transatlantic satellite link connected the Norwegian Seismic Array (NORSAR) to the ARPANET, making Norway the first country outside the US to be connected to the network.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

2. AIX

sendmail error aix 5.2

Hi, i'm having this error in my aix development server... i dont know what to do, anyone can helpme out with this??? I'll be so gratefull. ---- start of message Message from syslogd@aixdes1 at Mon Aug 9 08:36:03 2010 ... aixdes1 mail:crit sendmail: My unqualified host name (aixdes1)... (4 Replies)
Discussion started by: fdeivis
4 Replies

3. AIX

sendmail on AIX

Hi, Is sendmail required to read local mail for root user on AIX? I shutdown sendmail daemon and sent a test mail to root and I got it. I don't know if I'm missing something here. Thanks regards Israel. (1 Reply)
Discussion started by: iga3725
1 Replies

4. AIX

Problems with sendmail on AIX

hi, i got this error, i have no idea where to start.. anyone please??? Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .c f file is version 9 WARNING: local host name (BAANPRO) is not qualified; see cf/README: WHO AM I? Running /var/spool/mqueue/o3CBj3np1138768... (3 Replies)
Discussion started by: fdeivis
3 Replies

5. AIX

AIX sendmail configuration

I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address. What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies

6. AIX

Mutt/Sendmail Masquerading Problem on AIX 5.3

We are running Unix AIX 5.3 and I have been asked to masquerade the sender name on our email processing. We have one domain name and many users: user1@domainname user2@domainname user3@domainname We use mutt/sendmail to do our email processing. I discovered that using genericstable within... (1 Reply)
Discussion started by: FHMARTINS
1 Replies

7. SCO

Sendmail masquerading

I am having a problem with my sendmail configuration I have masquerading on but when I send a mail to multiple people it masquerades my email but not the others? see the sample below: From: name@vegena.net Sent: Friday, July 24, 2009 9:42 AM To: name2@atksco1.vegena.net;... (0 Replies)
Discussion started by: garycrow
0 Replies

8. AIX

How to configure sendmail for AIX 5.3

Hello All, I am very new to this sendmail thing. I need to set up AIX servers with sendmail service to get emails in my corporate email address. All I am asked to do is use SMTP gateways (already in place) for using sendmail. thanks in advance (0 Replies)
Discussion started by: solaix14
0 Replies

9. UNIX for Dummies Questions & Answers

Sendmail Masquerading

Hi, I'm trying to get my mails sent from the address user@domain instead of user@hostname.domain. Should be simple masquerading configuration in sendmail config files, but this is where I fall (newbie). The sendmail.cf is not recommended for editing. There should be some kind of .mc file that... (0 Replies)
Discussion started by: shimpanzo
0 Replies

10. UNIX for Dummies Questions & Answers

Sendmail config on AIX 5.3

Hi, I've looked through the posts here and tried everything and cannot get sendmail to work properly. The server only needs to send and not receive mail. I need it to be routed through an open relay which has ip address of 10.126.35.8. Here's what I've done so far: I have amended... (1 Reply)
Discussion started by: johnbrickell
1 Replies

Featured Tech Videos