On Mon, 26 Nov 2007, Matthew Ford wrote:
> I installed Web Alpine on my Apache server, and everything seemed to be
> working fine... until I noticed something about the outbound mail it was
> sending. Since Web Alpine is a process running under the user-id of the
> webserver ("daemon", "www" or whatever), sendmail will put the daemon's
> username in the Return-path, i.e. [EMAIL PROTECTED] instead of
> [EMAIL PROTECTED] Any delivery failure messages will therefore end up in
> the administrator's inbox, not the user's. This can be avoided by
> specifying an SMTP server for outbound mail, of course - but surely it
> should be *obligatory* to use an SMTP server, if sendmail will always do
> the wrong thing?
sendmail has a concept of "trusted users" (a config file setting).
If the user UID isn't "trusted" then sendmail will not let them
set the Return-path value, it will explicitly set that name to
the user's name. If they are "trusted" then senmail will let them
set the Return-path & From to what ever they want.
Long story short, add your webserver user-id to sendmail's "Trusted users"
list.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw