How can MailScanner "push back"?

Julian Field MailScanner at ecs.soton.ac.uk
Thu Aug 23 20:48:27 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Leland J. Steinke wrote:
>
> Maybe I need to write a postfix policy daemon to query the hold queue 
> or otherwise check the box's status and 450-reject the connection if 
> the box is overloaded...
That sounds like the best approach to me. Find the length of the hold 
queue from either direct measurement or watching the logs, and 
450-reject connections if the queue is too large. You could 
alternatively do it without talking to postfix at all by using iptables 
to block connectivity to port 25 when the queue gets too large.

I don't know how hard it is to write a postfix policy daemon :-)

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.3 (Build 3017)
Charset: ISO-8859-1

wj8DBQFGzeSMEfZZRxQVtlQRAlVLAJ9FzXVh9eu4SAhN3TYuJO9Db/pAjgCfSabm
Z/0eutmbLuDQpy7FQPk1vLU=
=vyOy
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list