Noel Jones wrote: >> It looks like I want to check for RCPT TO:<VERP_Address> >> So I ran this check against the regexp table using postmap: >> postmap -q "RCPT TO:<chris+no-one-home=chrisdos....@chrisdos.com>" >> regexp:header_checks.regexp >> and it came back with a result of DISCARD. >> >> So I guess I don't understand how you said it will never match as >> postmap said it does match. >> >> I'm not trying to be difficult or anything, just trying to figure out >> why this isn't working for me. > > Don't use header_checks, use a check_recipient_access map. > > It seems you trying to capture this on the sending system. You can't do > that, the sender isn't verp'ed when header_checks and smtpd_*_checks > sees the address. > > -- Noel Jones
Well, I'm going to really want to forward a message that matches the regexp. I'm just doing the discard right now for testing. The header_checks allows me to do more than just accept or reject. Chris