Sincere thanks to Dan Lowe and Sergio, yes Sergio, I wanted to set the reply to to nabeel@bose.com. I am in the process of setting up that mailbox. The solution as per Sergio: In your .mc file (you do generate your .cf from a .mc, don't you?) you simply need to add a line that reads FEATURE(`masquerade_envelope') In standard sendmail 8.9.3, this adds a couple of rules to S94. If you want to do it by hand, notice that the header and envelope sender addresses go through a slightly different sequence of rulesets. You need to make sure that the envelope sender is passed through the same ruleset (S93 in my case) that does masquerading for the header sender. In m4/proto.m4, I see ################################################################### ### Ruleset 94 -- convert envelope names to masqueraded form ### ################################################################### S94 ifdef(`_MASQUERADE_ENVELOPE_', `R$+ $@ $>93 $1', `R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2') If Solaris sendmail doesn't offer these configuration options, junk it and install the latest sendmail from www.sendmail.org. Or another MTA like qmail (www.qmail.org) or postfix (www.postfix.org). (We used to run locally-compiled sendmail 8.9.3, but recently switched to qmail 1.03.) The solution as per Dan: set up reverse DNS if possible. If not, try configuring whatever is sending mail to send it as such: /usr/lib/sendmail -fnabeel@bose.com Or it might be: /usr/lib/sendmail -oi -oem -fnabeel@bose.com The only problem with this one was that it didnt allow me to set a subject on the commandline which mailx enabled me to do and which the script was using. Thanks all, Nabeel -----Original Message----- From: Ahmed, Nabeel Sent: Monday, August 13, 2001 11:31 AM To: SunManagers (E-mail) Subject: Masquerading Domain Name Hi, My email goes out as nabeel@gemini.bose.com It gets rejected from a couple of places who use reverse lookup. So, I need to make sure that it goes out as nabeel@bose.com So, far I have configured DM in sendmail.cf The DM value is bose.com What it does is now, when I send a message, it shows the address in the from field as nabeel@bose.com, however, if I monitor the output using sendmail -v to send the mail, it is still sending the mails as nabeel@gemini.bose.com What other fields do I need to change? Thanks, NabeelReceived on Tue Aug 14 18:38:56 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:01 EDT