> 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
Thanks Noel, I'm just not sure about how to implement it.. I do use Amavis-New already that I call from Postfix with 'content_filter = lmtp-amavis' in main.cf Would you happen to have a concrete example on how to use it for let's say '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' but not '[EMAIL PROTECTED]' ? Or would it be possible to use only for a whole domain, and not some addresses? In any case, it would be nice with an example! Thanks! Anders.