Koozali.org: home of the SME Server

Denying mail from specific domains

Jeff

Denying mail from specific domains
« on: November 20, 2003, 06:07:18 AM »
With a 5.6U5 server, is there an easy way to enter a list of domains that you do not want to receive mail from? It's a sledgehammer approach to spam control but we are getting a wild amount of abuse from one domain in particular (various users) and simply want the server to bounce the mail back to them with a denied message.

Bob King

Re: Denying mail from specific domains
« Reply #1 on: November 21, 2003, 02:55:42 AM »
Use the Mailfront mailrules contrib.

Go to http://wiki.contribs.org/index.php?module=article&view=10&MMN_position=33:33

Look under dmay.

Jeff

Re: Denying mail from specific domains
« Reply #2 on: November 22, 2003, 01:18:18 PM »
Thanks. Seems to work. However, it also seems to be a little insidious. Namely, I can't get rid of it:

[root@diaboli mailfront]# rpm -Uvh dmc-mitel-mailrules-0.0.1-7.noarch.rpm
Preparing...                ########################################### [100%]
package dmc-mitel-mailrules-0.0.1-7 is already installed
[root@diaboli mailfront]# rpm -e dmc-mitel-mailrules-0.0.1-7.noarch.rpm
error: package dmc-mitel-mailrules-0.0.1-7.noarch.rpm is not installed

Another fellow is having the same problem here:

http://www.e-smith.org/bboard/read.php?f=1&i=34351&t=34351

Any clues? I'd really like to be able to remove it at will.

dean

Re: Denying mail from specific domains
« Reply #3 on: November 22, 2003, 01:34:24 PM »
Try:

rpm -e dmc-mitel-mailrules

you don't need the version etc.

Dean

SloopJohnB

Re: Denying mail from specific domains
« Reply #4 on: November 22, 2003, 07:24:31 PM »
Also do a rpm -qa to list all the packages. When you want to remove them, do rpm -e , then usually type in the first word or two, without all the version numbers and file extensions...

SloopJohnB