[Gllug] Sendmail return paths

Tethys tet at accucard.com
Tue Mar 18 10:09:12 UTC 2003


Adrian McMenamin writes:

>How can I get sendmail to set the correct return path ie
>user at mycomapny.com and not apache at mycompanieswebserver.com when users
>are using my web application to exchange emails.
>
>Some emails are bouncing (either because they don't have a valid return
>path or some other reason) and I don't get to see the error messages to
>fix them...

The obviosu way is to fix the application, so it sends mail out from a
valid address at your site. Failing that...

	MASQUERADE_AS(`mycompany.com')dnl
	FEATURE(`masquerade_envelope')dnl

Then add and alias for apache in /etc/aliases to divert mail to
apache at mycompany.com to whichever user(s) you want to receive it.

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list