Re: [Exim] prevent delivery via SMTP for a local domain

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Steve Haslam
Fecha:  
A: exim-users
Asunto: Re: [Exim] prevent delivery via SMTP for a local domain
On Thu, Aug 29, 2002 at 03:33:21PM +0200, Martin Kaiser wrote:
> The director that initiates the actual delivery looks checks for the
> mailbox.lmtp domain:
>
> localUser:
> driver = smartuser
> domains = mailbox.lmtp
> transport = lmtpTransport
>
>
> With mailbox.lmtp beeing a local domain, anybody can telnet to the
> mailserver's smtp port and inject mails for <boxname@???>
> directly.
>
> Is there any way to prevent this? I thought of the global filter, but
> there's no way to check the recipient.


Hm, you could add

condition = "${if eq{$received_protocol}{local}{yes}{no}"

to that director?

SRH
--
Steve Haslam      Reading, UK                           araqnid@???
Debian GNU/Linux Maintainer                               araqnid@???
almost called it today, turned to face the void, numb with the suffering
and the question- "Why am I?"                                  [queensrÿche]