Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

When does Header chech take place?

4 views
Skip to first unread message

unruh

unread,
Feb 20, 2012, 1:14:14 PM2/20/12
to

I have machine A relaying mail to machine B. I am getting spammed on my
"addresses" from my newsnet postings, slrn*unruh@wormhole
where * is some 8 random digits. Of course machine B rejects these as
invalid addresses, and the mails are then piling up on machine A as it
tries to deliver them.
I tried to put an entry into header_checks of
/^To: slrn.*unruh@wormhole/ DISCARD
to discard such addresses, but they are still getting through. When does
postfix do the header check and does it get done before the mail is
relayed to the other machine? This is annoying because my mailq gets
clogged up.
I do have
header_checks = regexp:/etc/postfix/header-checks
in main.cf

0 new messages