Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Checking HELO name?

Checking HELO name?

2009-03-15 by Enrico Scholz

Hi,

is there a way in milter-greylist to check whether HELO parameter matches
${client_name} (in a case insensitive manner)?  The 'HELO' acl clause
seems to accept quoted strings only which are not expanded, right?

Alternatively (and slightly offtopic): can such a check be realized
within sendmail.cf?  I could use a 'Kprogram' or 'Ksocket' map but this
seems too complicated for a string compare...



Enrico

Re: [milter-greylist] Checking HELO name?

2009-03-15 by Matthias Scheler

On Sun, Mar 15, 2009 at 10:39:41AM +0100, Enrico Scholz wrote:
> Alternatively (and slightly offtopic): can such a check be realized
> within sendmail.cf?

Not sure about that. But you can use "milter-regex" for that purpose:

http://www.benzedrine.cx/milter-regex.html

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/

Re: [milter-greylist] Checking HELO name?

2009-03-15 by Oliver Fromme

Enrico Scholz wrote:
 > is there a way in milter-greylist to check whether HELO parameter matches
 > ${client_name} (in a case insensitive manner)?

Keep in mind that you might get a lot of false positives if
you check the HELO parameter.  The RFC is not very strict
about it.  I think it's perfectly RFC-compliant to *not*
use the canonical host name (in the DNS sense) as the HELO
parameter.  This is especially true if you want bounces to
go to a different server, which is legal and happens quite
often.

Best regards
   Oliver


-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch\ufffdftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M\ufffdn-
chen, HRB 125758,  Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"If Java had true garbage collection, most programs
would delete themselves upon execution."
        -- Robert Sewell

Re: Checking HELO name?

2009-03-15 by Enrico Scholz

Oliver Fromme <olli-nXkPmmB+/pFv/W9eSQaxI7NAH6kLmebB@...>
writes:

>  > is there a way in milter-greylist to check whether HELO parameter
>  > matches ${client_name} (in a case insensitive manner)?
>
> Keep in mind that you might get a lot of false positives if you check
> the HELO parameter.

I want it for assigning higher greylisting timeouts; not to reject
mails.


Enrico

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.