Re: [Exim] acl for DATA command

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Pavel Gulchouck
Datum:  
To: exim-users
Betreff: Re: [Exim] acl for DATA command
Hi!

On Tue, Sep 30, 2003 at 09:37:18AM +0100, Philip Hazel writes:
> > I did not found any ACL for DATA command.
> > acl_smtp_data runs after message received (for CRLF.CRLF).
> > Am I missed something?
>
> No.
>
> > I want to pass "rcpt to" for callout checks but reject DATA if
> > size did not specified in the "MAIL FROM:" line (ESMTP required).
>
> Why? The sending client host may just try again. There still seem to be
> MTAs that keep retrying unless you reject RCPTs. Why not reject at RCPT
> time?
>
> But as somebody else said, SIZE is purely optional. MTAs do not have to
> send it.


I'm hold a gateway to a part of *.fidonet.org (amateur dialup-based
network). Due to Win32.HLLM.Gibe.2 virus here's too much load,
about 10..100 incoming SMTP-connections per second. My gateway cannot
process such traffic, so I need drop a big part of this mail as victum.
I decide to deny all message with size more then 50K and messages
without SIZE specified in MAIL command. In this case I deny all
viruses and can process all normal mail received by ESMTP protocol.
Of cause, some normal mail is denied, but I cannot find quick better
solution. So, in this case callout to my host fails, and I want
to satisfy sender verifying (callout to me) but do not receive viruses
with empty sender by reject DATA command.

--
                                Lucky carrier,
                                                  Pavel.