Re: [exim] SMTP connection message count

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Peter Bowyer
Datum:  
To: Exim Users
Betreff: Re: [exim] SMTP connection message count
On Wed, 3 Nov 2004 13:22:35 +0000 (GMT), j.linn <sys044@???> wrote:
> When a series of messages are sent using the same SMTP connection, is
> there a variable which gives the message number in the series and is this
> available for use in ACLs. I want to know which is the first and which are
> the later ones, in particular.
>
> We have a specialist bulk mailer which sends all the message to people
> individually but via the same SMTP connection. For performance reasons we
> have increased the smtp_accept_max_per_connection. However the issue is
> that once we have virus scanned the first, I would like to send the others
> through without scanning [same message].
>
> I think I can see how to do this by setting my own variable and testing it
> in the data acl assuming these are not cleared between messages. However a
> system messages number to test would be better.


The $acl_m variables are reset per message; the $acl_c variables are
persistent throughout the connection. Simply set a $acl_c at the end
of the data acl, and test it at the beginning.

Peter


> If anyone has done this, please let me know how you did it.
>
> Sorry if this is in the manual but could not see it. Page number please.
>
> John Linn
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>