|
From: Ralf Hildebrandt on 2 Dec 2007 05:52 On 2007-11-30, ONYX <ivakras1(a)gmail.com> wrote: > smtpd_recipient_restrictions = ..., > ..., > check_sender_access regexp:/path/to/file_with_restrictions, > ... > > The file /path/to/file_with_restrictions must contain something like > that: > /^spamer@.*/ REJECT Drink a poison > /.*@spamer-domain.com$/ REJECT Drink a poison > /^good-sender@.*/ OK > /.*@good-domain.com/ OK You don't need regexp for that, hash will do: spamer@ REJECT Drink a poison spamer-domain.com REJECT Drink a poison good-sender@ OK good-domain.com OK > If you wish to use smtpd_sender_restrictions - use it without > check_sender_access: > > smtpd_sender_restrictions = ..., > ..., > regexp:/path/to/file_with_restrictions, > ... You can still use it with check_sender_access regexp:/path/to/file_with_restrictions -- Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
|
Pages: 1 Prev: somebody please cleanup this group Next: 451 Temporary Lookup Failure |