Check if valid user before scanning

Alex Neuman alex at nkpanama.com
Sat Jul 3 13:43:17 IST 2004


And you don't need to run the ClamAV daemon for MS to use ClamAV.

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Ken A
Sent: Friday, July 02, 2004 5:01 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Check if valid user before scanning

With sendmail, when you don't have a local password file or ldap handy,
you can use the access map feature to explicitly allow relaying TO your
users and reject with 550 by default all others, like so:

TO:user1 at domain.com    RELAY
TO:user2 at domain.com    RELAY
# Default entry to reject
TO:domain.com  ERROR:5.1.1:550 User unknown

Ken A
Pacific.Net

John Hinton wrote:

> My mailserver is getting pounded with mail sent to invalid usernames at
our
> hosted domains. Today, there have been about 1200 viruses sent so far, of
> which only about 20% were to real mail accounts. Is there a way to allow
the
> checking of a valid username before scanning begins? If the account
doesn't
> exist bounce or dump it, but for sure not use the resources.
>
> I'm using RHEL 3.0 and sendmail and have procmail running as well. Using
> ClamAV as the AV package running as a deamon. This thing takes a bit of
> horsepower! Looking for ways to stop the waste of processor power on the
trash.
>
> -------------------------- MailScanner list ----------------------
> To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/     and the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html
>
>

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list