sendmail from address setting

sendmail from address setting

am 09.01.2008 02:24:31 von Rilawich Ango

Hi,

I set a server using sendmail. The host name of that server is xyz
without domain name on it. Then I send an email to outside email
account and the from address is root@localhost.localdomain.
Now, I want to configure the from address to ,for example,
mailer@company.com. How can I do it in sendmail.

unplug

Re: sendmail from address setting

am 09.01.2008 18:19:35 von seaPea

On Jan 8, 5:24 pm, maillist...@gmail.com wrote:
> Hi,
>
> I set a server using sendmail. The host name of that server is xyz
> without domain name on it. Then I send an email to outside email
> account and the from address is r...@localhost.localdomain.
> Now, I want to configure the from address to ,for example,
> mai...@company.com. How can I do it in sendmail.
>
> unplug

I think you are looking for the Masquerade option.

FEATURE(`MASQUERADE_AS',`company.com')
MASQUERADE_DOMAIN(`company.com')dnl
MASQUERADE_AS(`company.com')dnl