Hi:
    I want to filter all the mails send to filter...@example.com. so I
create configuration at main.cf like below:

smtpd_recipient_restrictions =
   check_recipient_access hash:/etc/postfix/filter_access,
   reject_unknown_sender_domain,
   permit

and create filter_access like below
 filter_me@ FILTER fiilter_script:dummy

however bad mail from (like abc@abc)  will be rejected before filter.
so I need to use additional configuration like:

smtpd_recipient_restrictions =
   check_recipient_access hash:/etc/postfix/filter_access,
   check_recipient_access hash:/etc/postfix/recipient_access,
   reject_unknown_sender_domain,
   permit

and create recipient_access like below:
filter_me@ OK

it seems a little complicated to use two config files to finish the
job. can I both "FILTER" and "OK" for  all the mails send to
filter...@example.com?

thanks a lot for help!

Reply via email to