7 msgInvalid Sender Address syntax
2 msghigh availability
2 msgBFD (Brute Force Detection) & Postfix
5 msgrelay domain and forwarding
2 msgdk-milter - emal size issues
5 msgMail sent from local machine shows undisclosed-...
16 msgSorting incoming mails according to rules
5 msgCorrect use of smtpd_tls_security_level
1 msggraph queue sizes
6 msglarge deferred queue ('too many connections')
3 msgTo see IP's
5 msgHow Can I Block certain IP's Within Range of my...
8 msgQuestion about adding a special header to emails
3 msgrcpt count mismatch and corrupt queue file ?
2 msgtoo many connections
11 msgWhitelist broken email servers?
4 msgWrite failed in network_biopair_interop with er...

Pattern-matching in HELO
\ Jeff Honey (15 Jun 2007)
. \ Noel Jones (15 Jun 2007)

3 msgheader_checks du jour
3 msgGood Resource for additional Spam Blocking
Subject:Pattern-matching in HELO
Group:Postfix-users
From:Jeff Honey
Date:15 Jun 2007


 
I am working on matching some particular spam in a helo_check.

Where should I be looking to match? In the name the sending MTA provides or the one that is resolved in hard braces? Frequently they are two different things. Should I just try to match both? I apologize for being so clueless at the details of this stage of the SMTP conversation.

This is what I am trying to match...nothing too complicated:

(helo_checks file)
/spamliveshere\.net/ 550 (hc-011) your email contains invalid contents.
/technobabble/ 550 (hc-012) Go Away.

Here is a snippet of main.conf referencing aformentioned file:

(main.cf)
...
smtpd_recipient_restrictions =
check_helo_access regexp:/etc/postfix/maps/helo_checks,
...


I don't seem to be successful in just dropping things at HELO when the mail comes into postfix. Perhaps I am just trying to catch it too early or too late.

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ Jeff Honey, Network Administrator
¤ PS America, Inc.
¤ 4426 N. Orange Blossom Trl
¤ Orlando, FL 32804
¤ 407-521-1011 voice
¤ 407-521-1007 fax
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤



© 2004-2008 readlist.com