Postfix configuration so that it just discards mail?

Alex Dean alex at crackpot.org
Thu Mar 30 12:54:05 MST 2006


Cool.

Also, if your apps happen to be PHP based, you can alter some setting  
in php.ini to change the behavior of the mail() function quite a  
lot.  'sendmail_path' can be set to any program you like, so you  
could write your own custom script to handle the mail in any way you  
want.

alex

On Mar 30, 2006, at 12:24 PM, Bill Earl wrote:

> Alex,  it looks like fakemail will work perfectly for what we're  
> doing.
> Thanks!
>
> Bill
>
>
> Alex Dean wrote:
>> Have you looked at FakeMail?
>> (http://sourceforge.net/projects/fakemail)  It's a simple MTA written
>> in Perl.  It will listen to port 25 (or any other port you specify),
>> and any mail it receives will be written to a file instead of sent.
>> You can look at the files it creates to see what emails your
>> applications are 'sending'.
>>
>> alex
>>
>> On Mar 30, 2006, at 10:26 AM, Bill Earl wrote:
>>
>>> Hello all,
>>>
>>> This seems like it should be a simple setup and that I'm overlooking
>>> something really obvious, but since I am overlooking it, I could use
>>> some assistance.
>>>
>>> We're setting up a series of debian systems that our developers will
>>> use. These systems need to provide "sendmail" connections to some
>>> applications that will run on them, but we don't want the mail to
>>> actually be sent.  We're using postfix, and I can make a log of the
>>> emails that are "sent", but what's the best way to make sure that  
>>> the
>>> system doesn't actually find a way to send the mail out to the  
>>> world?
>>>
>>> Thanks much!
>>>
>>> Bill
>>>
>>
>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

.





More information about the PLUG-discuss mailing list