[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [Raq4r] Sendmail rewriting header addresses



"Kevin W. Brown" wrote:

> I just recently purchased a Raq4r.  Everything is going pretty good except
> for one thing.  When a user relays e-mail through the Raq, sendmail keeps
> rewriting the 'From' header address to be 'user@xxxxxxxxxxxxxxx' instead
> of 'user@xxxxxxxxxx'.

Do you mean the "From:" address, or the "From " address?  I've never
seen sendmail change the "From:" line on relayed mail (mail NOT
originating with the system), as long as the user has a "From:" header
in his outgoing email when he sends it to sendmail.  If you mean the
"From " address, try this change to /etc/sendmail.cf:

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM

Change the last line to:

domain.com

(without any leading hashmark)

But that'll still only show the domain name of the box, as all sendmail
hacks to allow virtual hosting are just that: hacks.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205