Re: [Exim] Reject certain HELO arguments

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tamas TEVESZ
日付:  
To: exim-users
題目: Re: [Exim] Reject certain HELO arguments
On Fri, 12 Mar 2004, Frank Elsner wrote:

> > is exim able to reject certain HELO/EHLO arguments?
> >
> > Particularly, I don't want my mailserver to talk to hosts that introduce
> > themselfes as "localhost" or even my mailserver's hostname.
>
> Yes, that's possible in the ACLs, but ...
>
 > > Exim version 3.36 debug level 1 uid=0 gid=0
 >                ^^^^
 > ... not with exim-3. Exim-4 has ACLs.


i got news for you :), but its... a bit hacky.

turn on receiver_verify, then have a director (at the appropriate
place, i'd suggest number one) something along the lines of:

driver = smartuser
condition = ${if eq{$sender_helo_name}{localhost}{yes}{no}}
new_address = :fail:

this way you can "emulate" even sender_ident checks like in v4's
connect acl, etc.

v3 is not dead yet ;>

--
[-]
'Luck is my middle name,' said Rincewind, indistinctly.
'Mind you, my first name is Bad.'