Re: [exim] exim+exiscan

Góra strony
Delete this message
Reply to this message
Autor: Tor Slettnes
Data:  
Dla: Margrit.Lottmann
CC: Odhiambo Washington, exim-users
Temat: Re: [exim] exim+exiscan
On Thu, 2004-09-30 at 06:58, Margrit Lottmann wrote:
> On Thu, 30 Sep 2004, Odhiambo Washington wrote:
> > accept hosts = +webservers
> >
> > Then begin the scans....
> >
> I think ...that doesn't work right... ???
> accept in acl_smtp_rcpt is only the "ok" for the recipient check
> I have to exclude special addresses (or hosts) from acl_smtp_data
> ... there hosts option dosn't work ...


Yes, it does.

Put the "accept" statement _before_ any statements containing
"malware=", "spam=", etc. conditions.

For instance:

acl_smtp_data:
    ...

    
    accept hosts = +webservers


        deny message = Message contains malware ($malware_name)
             malware = *



Also try:
    # exim4 -bhc your.web.server.ip


to issue SMTP commands manually and watch what happens.

-tor