Re: amavisd-new & postfix: # of processes

From: Ralf Hildebrandt (no email)
Date: Thu Jul 01 2004 - 02:19:47 EDT


* Jonathan Nichols <>:
> Greetings,
> I have (another) mailserver that gets about 250,000 mails a day -
> only about 15,000 are legit, the rest are common bogus addresses that get
> dropped (if they occur frequently enough) or bounced.

Do you accept the mail before bouncing it?

> content_filter = smtp-amavis:[127.0.0.1]:10024

LMTP is better

> smtpd_recipient_restrictions = permit_mynetworks,
> reject_unauth_destination, check_sender_access
> hash:/etc/postfix/banned_servers, check_recipient_access
> hash:/etc/postfix/recipient_checks, reject_unauth_pipelining, permit

check_sender_access hash:/etc/postfix/banned_servers
makes no sense, since check_sender_access checks envelope sender
addresses, not clients!

> soft_bounce = yes
This make NO SENSE on a production server.

> unknown_local_recipient_reject_code = 450
This make NO SENSE on a production server.

> $max_servers = 350; # number of pre-forked children (default 2)
> $max_requests = 800; # retire a child after that many accepts (default 10)

These values are way too high.

-- 
Ralf Hildebrandt                                 
my current spamtrap                              
http://www.arschkrebs.de/postfix/                Tel. +49 (0)30-450 570-155
ThisemailhasbeenbroughttoyoubyJOLTCola,favoredbyssysadmins,netadminsand
programmerseverywhere. JOLTCola--forallthesugarandtwicethecaffine(R). 







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD