Test mode for email

J. Paul Reed preed at sigkill.com
Tue Oct 14 21:45:03 UTC 2003


On 14 Oct 2003 at 14:36:11, Joel Peshkin moved bits on my disk to say:

> I think what we want to do is to add a control that replaces ....
> open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i")
> with....
> open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam $testermail ")
> 
> By getting rid of the -t option to sendmail, ALL mail will actually be 
> sent to the tester but the headers inside the message will indicate 
> exactly who would have gottent them mail had it not been redirected.   
> This lets a copy of I live site be used for testing email notifications 
> without confusing the users.

I hate to keep chiming in here with the same info, but:

Your suggestion? 84876 does (or can do) that.

Wonderful, isn't it?

"Well then! When will that patch get in, goshdarnit!" you ask? Right after 
2.17.5 ships.

Since no one really wanted to review the huge-ish patch and it's a big, 
potentially destablizing change, Dave and I decided to put it in and 
"see what happens" after 2.17.5 ships.

Later,
Paul



More information about the developers mailing list