Page 1 of 1

Qmail-Scanner beginner woes

Posted: Fri Nov 17, 2006 1:35 am
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

Posted: Fri Nov 17, 2006 6:27 pm
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.

Re: Qmail-Scanner beginner woes

Posted: Sat Nov 18, 2006 11:14 am
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.

Posted: Mon Nov 20, 2006 9:58 pm
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,