Re: [exim] acl_smtp_mime

Página Inicial
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
Para: Philip Hazel
CC: exim-users, tom
Assunto: Re: [exim] acl_smtp_mime
On Mon, 4 Apr 2005 11:27:22 +0100 (BST) Philip Hazel wrote:
> On Tue, 15 Mar 2005, Frank Elsner wrote:
>
> > I've applied the following patch to receive.c:
> >
> > 2738c2738
> > < if (smtp_input && !smtp_batched_input)
> > ---
> > > if (!smtp_batched_input)
> >
> > Now the acl_smtp_mime ACL get's called for local mail also.
>
> > This solves my problem but I did't examine side effects of the patch.
>
> I now have. It isn't right because it then runs the acl_smtp_data ACL
> instead of the acl_not_smtp ACL.
>
> I have now done the "right thing" in the development code. I have added
> a new option acl_not_smtp_mime, and made that be used for non-SMTP
> input. I have made it a separate option (a) because the name was wrong
> otherwise (b) for backwards compatibility and (c) because people may
> want to run different ACLs anyway for the SMTP and non-SMTP cases.


Great.

> The new code is available in a snapshot I've just created, and I am
> about to commit it to the CVS (but I wanted Tom to see this message
> before the commit message).


I'll try when the snapshot is available.
Thanks so far.


Kind regards   ______________________________________________________________ 
Frank Elsner  /                        c/o  Technische Universitaet Berlin   |
 ____________/                              ZRZ, Sekr. E-N 50                |

|                                           Einsteinufer 17                  |
| Phone: +49 30 314 23897                   D-10587 Berlin                   |
| eMail: Elsner@???            Germany              ____________|

|________________________________________________________________| Exim rulez