Re: [exim] Blocking Microsoft ESMTP Mail Service

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: exim-users
Data:  
Para: exim-users
Assunto: Re: [exim] Blocking Microsoft ESMTP Mail Service
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