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
Qmail-Scanner beginner woes
-
- Forum User
- Posts: 93
- Joined: Sun Feb 13, 2005 2:24 pm
- Location: TN
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.
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.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Qmail-Scanner beginner woes
Domain -> domain.com -> Mail -> Preferences -> Reject.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)?
You can use group operations to change this setting for multiple domains at once.
Lemonbit Internet Dedicated Server Management
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,
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,