[Gllug] Sendmail return paths
Adrian McMenamin
Adrian at mcmen.demon.co.uk
Wed Mar 19 00:20:22 UTC 2003
On Tue, 2003-03-18 at 10:09, Tethys wrote:
>
> 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
>
Thanks for this. Appears to be working (in that the Return-path is set
the way I want it to).
And using m4 was actually a lot easier than I thought it would be!
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list