Hello,
        I'm a new user of spamassassin. I'm using version 3.2.5 on a CentOS
5.3 machine with postfix 2.3 as the MTA. Spamassassin is being called from
amavisd-new version 2.6.4 to scan all messages.
        I don't want my outgoing emails scanned, i read spamassassin can be
configured by not check if it detects specific headers. Here's what i have
now for headers:

# adding headers
  add_header spam Flag _YESNOCAPS_
  add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
autolearn=_AUTOLEARN_ version=_VERSION_
  add_header all Level _STARS(*)_
  add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on
_HOSTNAME_
# local headers
header LOCAL_RCVD Received =~ /.*\(\S+\.domain\.com\s+\[.*\]\)/
describe LOCAL_RCVD Received from local machine
score LOCAL_RCVD -50

        To accomplish what i want would this work:
header LOCAL_RCVD Received =~ /.*\(\S+\.example\.com\s+\[.*\]\)/
describe LOCAL_RCVD Received from mail.example.com

Thanks.
Dave.

Reply via email to