Qmail-Scanner beginner woes

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
rkelley
New Forum User
New Forum User
Posts: 3
Joined: Fri Nov 17, 2006 1:31 am

Qmail-Scanner beginner woes

Unread post by rkelley »

I have a server running PSA 7 on RH 9. I am recieving about 12-14,000 spam messages per day to non-existent email addresses. I have installed qmail-scanner using yum install qmail-scanner and everything seems to be fine, but I have a few questions:

How do I make sure it is working?

and

How do I reject all email to non-existent users without sending a bounce message (I just want to throw them in the bit bucket)?

Thanks,

Ryan
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Unread post by kwebdesign »

You can check that it's working by looking at the log files in /var/spool/qscan/, or by sending yourself an e-mail and examining the headers. It should include some headers that reference spamassassin and clamd scans

The easiest way that I know of to just dump all mail sent to non-existent users is to create a mailname within plesk, don't give it a mailbox, forwarder, mailing list, etc., and then configure the mail preferences for the domain to forward mail sent to non-existent users to that address. That has to be done for each domain, though - there may be a better way to do it server-wide if that's what you want.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Qmail-Scanner beginner woes

Unread post by breun »

rkelley wrote:How do I reject all email to non-existent users without sending a bounce message (I just want to throw them in the bit bucket)?
Domain -> domain.com -> Mail -> Preferences -> Reject.

You can use group operations to change this setting for multiple domains at once.
Lemonbit Internet Dedicated Server Management
rkelley
New Forum User
New Forum User
Posts: 3
Joined: Fri Nov 17, 2006 1:31 am

Unread post by rkelley »

thanks for all of the input. Couple of questions though.

If i setup a mailname with no mailbox will it really just delete them all or will it just clog up the mail queue with bounces?

i cannot do the reject option because I am not in PSA 7.5

Also, I though qmail-scanner had a mechanism to reject the mail at the smtp level before it even had to be processed?

thanks,
Post Reply