2 msgSQL query as alias
3 msgMailfrom restriction and SASL clients
4 msgHow to inform outside users that domain soon wi...
31 msgASSP and NOOP
9 msgDouble restrictions for SMTP Authen question ?
5 msgResend 'virus' mails
3 msgmessage_size_limit exceptions
53 msgabout greylist.pl and alternatives
7 msgfailing to send a large mail
1 msgRe: Another weird cert question
2 msgRestrict sending to one address from one IP?
6 msgForcing PIX workarounds?
4 msgheader checks are not working
9 msgrecipient_delimiter
3 msgDocumenting alias expansion in mails
5 msgDomain Change Notification

How to do a defer_if_permit with a SMTP code 451?
\ Kim Minh Kaplan (28 May 2007)
. \ (Wietse Venema) (28 May 2007)
. . \ Kim Minh Kaplan (28 May 2007)
. . . \ (Wietse Venema) (28 May 2007)

4 msgvirtual: mbox fine, maildir generates 'fatal: g...
5 msgMultiple relays and rate control with anvil
19 msg550
Subject:How to do a defer_if_permit with a SMTP code 451?
Group:Postfix-users
From:Kim Minh Kaplan
Date:28 May 2007


 
Hello,

I have written Greyfix¹ (yet another) greylisting policy server for
Postfix. The best current practice in Postfix to defer delivery for
greylisting seems to be to return action=defer_if_permit. The problem
is that this rejects the mail with an SMTP code 450 whereas it would
be better to use an SMTP code 451². I tried setting defer_code=451
but it is not used in the case of defer_if_permit. Is there a way to
defer with a 451 code instead of 450 using defer_if_permit?

For the moment I use action=451 instead of action=defer_if_permit.
What are the woes I should be aware of?

Thank you,
Kim Minh.

¹ http://www.kim-minh.com/pub/greyfix/
² http://cvs.puremagic.com/viewcvs/greylisting/schema/whitelist_ip.txt?r1=1.10& ;r2=1.11
--
Kim Minh.
http://www.kim-minh.com/


© 2004-2008 readlist.com