sendmail woes

Jeff Schroeder jeff at zingstudios.com
Thu Dec 14 16:40:14 MST 2006


Daniel wrote:

> Notice this is a 550 error.  The server thinks I am a spammer.  I
> have a good to, from, and cc, but the sender information is
> apache@<computer name>

Add a "Return-Path:" header.  It's independent of the "From:" header, 
and is automatically added by the MTA on any message that doesn't have 
it.

$header .= "Return-Path: " . $senderEmail . "\r\n";

HTH,
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20061214/729ffa6e/attachment.bin 


More information about the PLUG mailing list