Koozali.org: home of the SME Server

Is it possible to block incoming mails to the admin account?

drfresh

Is it possible to block incoming mails to the admin account?
« 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

drfresh

Is it possible to block incoming mails to the admin account?
« Reply #1 on: January 14, 2005, 06:14:24 PM »
Really no one who can help me on this one?

Dr. Fresh

Olsen

Is it possible to block incoming mails to the admin account?
« Reply #2 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.

drfresh

Is it possible to block incoming mails to the admin account?
« Reply #3 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

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/

drfresh

Is it possible to block incoming mails to the admin account?
« Reply #5 on: January 16, 2005, 11:17:26 AM »
OK - installed. Looking forward to see if it works.

Thanks!

Dr. Fresh

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Is it possible to block incoming mails to the admin account?
« Reply #6 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

:-)