Anders Norrbring wrote:
Is there a way to make Postfix send a '550 Recipient address rejected' for
every mail to a certain address in a domain, and still have it pass the mail
on to the IMAP server?
I'm looking for a way to 'simulate' that the address does not exist,
although it does..
Anders
You need a smtpd_proxy_filter that responds with a 550 after
end-of-data and keeps a copy. For example, you can do this
with amavisd-new by telling it to reject with quarantine.
Note that responding with 550 at end-of-data affects all
recipients of a multi-recipient message.
--
Noel Jones