-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 04/09/12 18:45, Always Learning wrote:
> We want to block all emails sent from spamming servers like > Microsoft ESMTP Mail Service. > > In ACL HELO how can one match the data in the HELO/EHLO line ? I > want to match 'Microsoft ESMTP MAIL Service' and then drop or > reject the connection. > > 220 galsrv1.galvatech.local Microsoft ESMTP MAIL Service, Version: > 6.0.3790.4675 ready at Wed, 5 Sep 2012 03:29:41 +1000 You're confusing the welcome banner with the helo. When a mailserver connects to yours and issues a HELO/EHLO it only sends its hostname. It doesn't send a string like "Microsoft ESMTP MAIL Service". You need to match on a header in the data acl instead. - -- Mike Cardwell https://grepular.com/ http://cardwellit.com/ OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 -----BEGIN PGP SIGNATURE----- iQGGBAEBCgBwBQJQRkuEMBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBMoCCACtqiSyface ux1l38NIFYtdYKWHUADyVATrqdkFkg61zZ0MecBpP8ECpdmeCJkAHE5qfWBbwiOn /HUcGJwNJFf1Kpp+KMmiGNgdZ6KUMao81N8iSI3JhG9C/ZAkgsPppezt9ujFsJbK izUqaUBHKNJHjOdpSsehrXgmeJxnA9l88f6CxPTeuHhKT1qe6w+yBBcPi3oY/d/I x25QqAjbzmCeSlRTpgv1dqrm7VwhQ2oFJstW6N3O7SE0bj2SbK9sIEDvzX5sHrcP rNIoDUv/hqltE3Cx5vnbwaAadUuw+ZNKXWsyAD/mozUBKCD5IH+AsUqEO1LoLSpN 73yNY7BUgmh2 =ANwV -----END PGP SIGNATURE----- -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
