[Gllug] Sendmail

tet at accucard.com tet at accucard.com
Tue Jul 23 09:32:06 UTC 2002

>You need to edit the sendmail.cf file (/etc/sendmail.cf).
>Near the top of the file you should find a section like this:
># who I masquerade as (null for no masquerading) (see also $=M)
>you need to change the second line to:

This probably won't work. All it does it rewrite the address that's
visible in the headers. The next hop mail server *should* be rejecting
this as spam (then again, it is Exchange, so who knows what it's doing).
To rpevent that, you need to be masqerading the envelope as well. In your
/etc/mail/sendmail.mc file, add:

	define(`SMART_HOST', `exchangeserver.mydomain.com')dnl

Then run:

	m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
	service sendmail restart


Gllug mailing list  -  Gllug at linux.co.uk

More information about the GLLUG mailing list