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.

From docs I understand that if I want to treat different every recipient ,I have two solutions :
1 - use a transport table for that recipient, something like :
        
u...@domain.tld discard

- in this case all recipients in the message pass except the rcpt to: <u...@domain.tld> who is discarded. This solution doesn't help me much because I want notify the sender that one of his recipients was rejected and second : I need to build a new transport table for those recipients.

2 - the second solution is to use a policy service and the ability to use the "instance" attribute.

Is there a policy service for my problem or someone have a better solution?

Thanks
Alex

Reply via email to