Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: PhilV on May 12, 2004, 03:23:50 PM
-
Thru the server-manager SME can be set to either "Return To Sender", or else "Forward to Administrator", for unknown recipients on incoming e-mails.
How can I set SME to just delete, (i.e. drop/ignore), e-mails for unknown recipients? My server isn't very powerful and seems to be spending a lot of time returning messages to their senders, (I guess it is getting spammed with unknown_users@mydomain.com)
Thanks,
Phil
-
I have the same problem. Any solutions ?
-
The easiest approach is to just let qmail "do its thing". The email will bounce and then as it probably comes from a faked sender it will doublebounce and come back to you again.
Use this HOWTO to automatically remove these
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/double%20bounce%20message%20deletion%20HOWTO%20for%20sme%20server.htm
You could also use Darrell Mays mailrules rpm to block specific addresses, but this does get laborious to track and maintain. There are also some serious suggestions that this rpm is not fully compatible with sme 6.0 or 6.0.1 and can break some implementations of mail systems. The developers have warned not to use the mailrules rpm, although Darrell is not of that opinion.
Regs
Ray Mitchell
-
The problem with letting qmail do it's thing is that it generates a lot of double bounces, granted you could remove these like the site suggests but I think it would be best to be able to reject the user at the smtp level using the ldap directory.
There is a contrib that uses mailfront that does this but it is for SME 5.5. http://mirror.contribs.org/smeserver/contribs/cbharda/contrib/mailfront55/
I want to be able to do this also so I am going to try over the weekend to install it on 6.0.1.
Jon
-
Let us know if that contrib for v5.5 works on v6.x.
Another alternative is to use the spamassassin contrib from Greg Zartmann, which I use and does work OK on v6.0.
It has a white list and black list function in the server manager panel which allows you to enter addresses or domains to accept or reject messages from.
See
http://mirror.contribs.org/smeserver/contribs/gzartman/Beta/spamassassin/
There were some instal notes on the devinfo site a couple of months ago. See this thread
http://lists.contribs.org/mailman/public/devinfo/msg06894.html
Regs
Ray
-
I know the contrib doesn't work. :( I have tried and it needs a certain package that 6.0.1 doesn't have. I can't even remember what the error was but it wanted a package that had been upgraded from 5.5 to 6.x.
Jon