On Monday, December 08, 2008 at 06:36 CET, Frederick Reeve <[EMAIL PROTECTED]> wrote:
> I have a working Postfix 2.5.5 setup that uses several rbls. I would > like to collect the mail being blocked by these rbls but have it all > delivered to a single local address. I already have local delivery > working fine. Is this possible in an simple fashion? You can't eat the cake and have it. Rejected messages are not delivered to anyone, they are returned to sender. What you could do is accept the message but redirect it to whatever address you choose. Postfix alone can't do this, but a custom policy server could make the RBL lookup and return REDIRECT. The drawback of this method is that the sender won't be notified about the message not reaching the intended recipient. Again, if you reject the message you can't deliver it. Another alternative if you don't need to receive the whole message is to enable postmaster notification of RBL rejections by setting notify_classes (there is no setting that enables RBL rejections specifically, but you can use e.g. procmail to filter out the stuff you're not interested in). If the number of rejected messages is reasonably small, perhaps it can be monitored for false positives. http://www.postfix.org/postconf.5.html#notify_classes [...] -- Magnus Bäck [EMAIL PROTECTED]