Re: [exim] ACL rule

Page principale
Supprimer ce message
Répondre à ce message
Auteur: jean-paul natola
Date:  
À: W B Hacker, exim-users
Sujet: Re: [exim] ACL rule

>> > > > I want to tell exim NOT to send messages over 1Mb to spamassassin for> > scanning? What is the syntax> > Set a macro, e.g.: 'SCAN_MAX', in the 'main' section.> > SCAN_MAX = 1M> > > and where in the config file do I place it?> > > > At an acl in 'acl_smtp_data' (older Exim)> or in 'acl_smtp_mime' (newer Exim - also acl_not_smtp_mime for local) and in > either case *before* invoking SA or <whatever other> scanner(s):> > Use something like this:> > # DATA_18_SCAN_3: IF message larger than SCAN_MAX, THEN log,> # deny OR warn AND accept unscanned, advising recipient.> # deny> warn> condition = ${if >{$message_size}{SCAN_MAX} {true}}> message = X-Oversize: Message too large to scan.> log_message = D18S3 Passed unscanned - exceeds SCAN_MAX

I was follwoing you ok up to this point

> set acl_m19 = 1> > > THEN test the acl_m19 (or whatever) value before invoking scanning.
>




> You may use more than one of these if you want separate limits for SA, ClamAV, > et al.

Ideally I would like i meg to for both SPAM and Clam




_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE