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