[imp] SMTP question
Lars Hecking
lhecking@nmrc.ucc.ie
Mon, 11 Dec 2000 20:12:44 +0000
> I have imp/horde running on a different server that the imap
> (mailserver) server. When I send messages the email address is showing
> up as user@mailserver.domain.com. I would like to be user@domain.com.
> Can anyone point me in the right direction.
You need to configure the MTA on the mail server to masquerade for the
domain. The how-to depends on the MTA.
In sendmail, you would use MASQUERADE_AS(domain.com) in the m4 config
file (and there are a couple of more options related to masquerading).
In postfix, you would add
masquerade_domains = $mydomain
to main.cf.