Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: drfresh on January 08, 2005, 12:53:35 PM

Title: Is it possible to block incoming mails to the admin account?
Post by: drfresh on January 08, 2005, 12:53:35 PM
I Have been googling the internet and searching in here in particular but can't seem to find any advice on the subject.

My problem is that I suddenly is beginning to get alot of "adverts" for diffent variants of Viagra and stuff mailed to my admin account. Now I only uses the admin account to receive system generated mails.

Therefore - is there a way of blocking incoming mails on a given account in this case the admin account?

I'm running 5.6 (I have done alot of modifications via diffent howto's - therefore I daren't upgrade in fear of loosing my modifications. Many people rely on my system as a mail server...)

Thanks in advance!

Dr. Fresh
Title: Is it possible to block incoming mails to the admin account?
Post by: drfresh on January 14, 2005, 06:14:24 PM
Really no one who can help me on this one?

Dr. Fresh
Title: Is it possible to block incoming mails to the admin account?
Post by: Olsen on January 14, 2005, 06:40:33 PM
You could use mailrules to reject all mail sent by anyone (*@*) to admin@yourdomain.com

Or you could use procmail delete all mail

Or you could setup spamassassin to identify the spam and delete it.

All viable options for you.
Title: Is it possible to block incoming mails to the admin account?
Post by: drfresh on January 15, 2005, 09:55:51 AM
Hi Olsen

Could you be more specific - especially on the first option. Does it require a plugin (can't find anything in the administration panel), and if, can you guide me to a "how to"?

My "server" is only an old laptop, but serves me well as an mailserver. But I don't think it will be able to power spamassassin and the likes.

Thanks!

Dr. Fresh
Title: Is it possible to block incoming mails to the admin account?
Post by: NickR on January 15, 2005, 08:36:10 PM
You need to install Darrel May's mailrules contrib:

http://mirror.contribs.org/smeserver/contribs/index.php?subdir=dmay%2Fsmeserver%2F5.x%2Fcontrib%2Fmailrules%2FSME5.6&sortby=name
Title: Is it possible to block incoming mails to the admin account?
Post by: drfresh on January 16, 2005, 11:17:26 AM
OK - installed. Looking forward to see if it works.

Thanks!

Dr. Fresh
Title: Is it possible to block incoming mails to the admin account?
Post by: CharlieBrady on January 17, 2005, 02:17:55 AM
Quote from: "NickR"
You need to install Darrel May's mailrules contrib:

http://mirror.contribs.org/smeserver/contribs/index.php?subdir=dmay%2Fsmeserver%2F5.x%2Fcontrib%2Fmailrules%2FSME5.6&sortby=name


No he doesn't. All he needs to do is:

/sbin/e-smith/db accounts setprop admin  Visible internal
/sbin/e-smith/signal-event email-update

:-)