Hello,

I need to configure the following setup with postfix:

filter mail for 'supp...@example.com' based on sender address:
 - if the sender address is inside a list of serveral 100.000 priorized
   addresses, simply forward the mail to 'ticketsys...@example.com'
- otherwise send an autoreply to the sender telling him that he needs to
   register at the ticketsystem first

Unfortunately I'm rather new to postfix and after reading some docs I'm
unsure how to best implement the described setup.

The mailserver receives up to 1.000 mails a day, and is expected to grow in the future. Thus the solution should be as simple and fast as possible ;)

First I thought, that smtpd_sender_restrictions might be what I'm looking for, but it seems like that doesn't support other actions than rejecting
mail for false conditions.

Now I think that policy and or after queue filtering are good solutions,
but both seem rather complex for a relatively easy problem.

I'm curious to read your suggestions and comments :)

Regards,
 jonas

Reply via email to