Re: [Exim] demime/malware in acl_not_smtp

Pàgina inicial
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
A: Andreas Metzler
CC: exim-users, Tom Kistner
Assumpte: Re: [Exim] demime/malware in acl_not_smtp
On Thu, 12 Feb 2004 13:21:35 +0100 Andreas Metzler wrote:
> On Thu, Feb 12, 2004 at 01:17:52PM +0100, Tom Kistner wrote:
> > Frank Elsner wrote:
> >
> > >Why are "demime" and "malware" not available in the "acl_not_smtp" ?
> > >What's the difference to "acl_smtp_data" for this behaviour ?
> >
> > There is a bitmap (called "cond_forbids") in acl.c that defines which
> > conditions and modifiers can (or cannot) be used in each ACL. You can
> > edit it to allow both demime and malware in acl_not_smtp. I am not sure
> > if it will work then. In theory, it COULD work, but I can't guarantee
> > anything. Maybe use it on a test system first ...
>
> Somebody else did it:
> http://article.gmane.org/gmane.mail.exim.exiscan.user/1255


This somebody (Tobias Ringström <tobias@???>) just wrote me in a
reply to my question for a ready-to-use patch:

> I don't have access to it now, but just remove the
> "(1<<ACL_WHERE_NOTSMTP)|" from the exiscan ACL:s, i.e. demime,
> malware, regex and spam.


> We've been running exim and UUCP with such a patch now for a long time
> now, and it works fine. Just make sure that the uucp user is in the
> trusted_users list in exim.


As I said, I'll try it and report.

--Frank Elsner