Appologies the second post - can someone please also explain the postmap test, eg postmap -q "boarding" regexp:/etc/postfix/headerchecks
This comes back with nothing - i thought it might coma back with a match ? Laurence >>> "Laurence Moughan" <[email protected]> 16/09/09 12:00:15 >>> Hi All, Would someone just please give me a headsup on the format for reg exp headerchecks files, Im not sure how to format for searching for a string within an email address, eg to reject all mail with the word "boarding" eg for the from address [email protected] and [email protected] I have /^From:(.*)boarding_...@domain\.com/ REJECT junk /^From:(*)boarding(*)\...@adomain\.com/ REJECT junk /^From: *boardin...@domain\.com/ REJECT junk /^From: (.*)boarding(.)*...@domain\.com/ REJECT junk this is working now - which one is right ? im a bit confused Thanks Laurence
