Hello, I am using regex header_checks for smtpd. This rule works fine:
/^Subject: Your parcel .*/ DISCARD But when I try to do a recipient-specific rule if /^To: <[email protected]>/ /^Subject: Your parcel .*/ DISCARD endif it does not work, even when the recipient is exactly <[email protected]> Any idea why ? Also, I know I can test locally with postmap: postmap -q 'Subject: Your parcel is ready' regexp:/var/local/postfix/maps/header_checks How could I test the second case, where I have multiple conditions? thanks,
