Test mode for email

David Miller justdave at bugzilla.org
Tue Oct 14 00:29:58 UTC 2003


On 10/13/2003 5:21 PM -0700, Joel Peshkin wrote:

> It seems that, whenever I try to test new changes on the database from
> my live site, I have to do some hack to prevent sending spurious emails
> or to ensure that the emails go to me instead.  This is especially
> important when testing email notification changes.
>
> I cannot possibly be the only person with this problem.  Should we....
>
> a) Provide a param or config variable to force ALL mail to be sent to a
> specific address (even though the To: in the message will point to the
> actual user)
>
> b) Provide a mechanism to force all mail to be written to a file instead
> of sent
>
> c) Continue to hack around the problem

There used to be a $sendmail = 1 at the top of processmail that you could
set to 0.  processmail is gone obviously.  I don't know if that survived.
-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/



More information about the developers mailing list