Is there some rule about submitting questions with the string "Help" in the subject? I've tried posting the following note with the subject of "Help With header_checks" and received a bounce message indicating this error:

BOUNCE postfix-users@postfix.org:  Admin request: /^subject:\s*help\b/i


I'm using postfix 2.5.6,1 and have been using postfix for a long time. In older versions, to perform header checks, I had a text file and would then have to run postmap to create the header_check.db file. Is this step no longer required? When running 'postmap header_checks', I get lots of warning about "duplicate entry". Here's an example:

postmap: warning: header_checks.db: duplicate entry: "/^from:"
postmap: warning: header_checks, line 91: record is in "key: value" format; is this an alias file?

Also, I am attempting to reject some mail based upon the "Received:" header. Specifically, I have lines such as this in my header_checks:

/^Received: .*mycouponsavingsmail/REJECT 550

Yet I still receive mail with this in the header:

Received: from mail4.mycouponsavingsmail.com (mail4.mycouponsavingsmail.com [24.155.144.19])

Any ideas on what I'm missing?  I do have this line in my main.cf:

header_checks = regexp:/usr/local/etc/postfix/header_checks

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

Reply via email to