On 3/18/2010 10:41 AM, Alex wrote:
Hi All

My problem is describe here
http://www.mail-archive.com/postfix-users@postfix.org/msg16775.html

Basically I have a mysql table with thousands recipients , on the left
hand I have recipient and on the right hand I have the action (REJECT)
and some additional text

u...@domain.tld REJECT Additional text

In case of am multi-recipient message, if I use check_recipient_access
and one of recipients is found in that table, the all message is
rejected and affects all recipients of the message.

No, that's not how postfix works. Only the "current" recipient is rejected. Every other recipient gets their own chance to be accepted or rejected.

If postfix does not behave this way for you, then you've misconfigured something. Feel free to follow these directions to ask for help:
http://www.postfix.org/DEBUG_README.html#mail


 From docs I understand that if I want to treat different every
recipient ,I have two solutions :

You're reading a different part of the docs that does not apply to smtpd_recipient_restrictions, or an action other than REJECT.


  -- Noel Jones

Reply via email to