Greg Phillips wrote:
> In your sendmail.mc file put a masquerade line in:
>
> MASQUERADE_AS(`ourcompany.com')dnl
>
> After that re-generate your sendmail.cf file, put it in /etc/mail and
> restart sendmail (# /etc/rc.d/rc.sendmail restart). That will make
> whoever@whatever.ourcompany.com be changed to whoever@ourcompany.com.
Hi Greg,
It sounds like that's what I need to do, I thought it might have
something to do with the way I'd configured 'hostname', 'domainname' etc
when I installed.
I've done a 'slocate -u' to update my file list, and 'slocate
sendmail.mc' but I don't appear to have this file, so I'm not sure how
to rebuild my sendmail.conf. Is hunting down a copy of sendmail.mc my
best bet then trying what you've suggested, or is it possible just to
modify my sendmail.conf directly?
Thanks,
Adam.