[Cialug] Postfix Disable BOUNCE [SOLVED]

Lister lister at kulish.com
Mon Jun 28 08:59:27 CDT 2010


  Ok, I feel a little silly about this one.  I got buried in the main 
and master cf's for postfix when I should have been looking in amavisd.conf.

Basically, I have this set up to DISCARD everything that is a virus or 
spam (if score reaches evasive action, otherwise it is marked as 
***SPAM*** in the subject).  Spam headers are ALWAYS being added.

Apparently, the following destinies are default in amavis-new:
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_BOUNCE;

I changed them to the following and I don't appear to be bouncing any 
spam notifications:
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_DISCARD;
$final_spam_destiny       = D_DISCARD;

This should help prevent postfix backscatter and keep my mailq cleaned up.

Along the same lines, I shortened my maximal_queue_lifetime and 
bounce_queue_lifetime in postfix's main.cf.


On 6/27/2010 12:03 PM, Josh More wrote:
> No idea on Postfix itself...
>
> But if you wanted to disallow all sending of email too, you could block outgoing port 25 traffic unless it was related to an incoming (established) connection.
>
> -Josh More, CISSP, GIAC-GSLC, GIAC-GCIH, RHCE, NCLP
> morej at alliancetechnologies.net
> 515-245-7701
>
> ________________________________________
> From: cialug-bounces at cialug.org [cialug-bounces at cialug.org] on behalf of Lister [lister at kulish.com]
> Sent: Sunday, June 27, 2010 11:57
> To: cialug at cialug.org
> Subject: [Cialug] Postfix Disable BOUNCE
>
>    I have a postfix server on which I never want to bounce an email
> regardless of bad email address, spam, virus etc.
> Basically, I want to completely disable the bounce functionality.
>
> Anyone got any pointers on getting this done?
>
> Thanks.
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list