Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: misnerspace on March 11, 2007, 07:16:22 AM
-
I have recently inherited SME (and so far I really love using it) so apologize if my question is dumb or has been answered before. This may be a strange request but I’m having problems with a particular spammer sending emails to groups
I would like to reject certain emails sent to groupname@mydomain.com IF they are sent from an external email address. So if someone sends the following:
To: groupname@mydomain.com
From: a_spammer@someotherdomain.com
the email will be rejected.
But if someone from my domain sends the following
To: groupname@mydomain.com
From: a_name@mydomain.com
the email won’t be rejected
and if someone sends the following
To: a_user@mydomain.com
From: a_name@someotherdomain.com
the email still won’t be rejected
To cut a long story short: I only want to allow users from mydomain.com to be able to send emails to groupnames@mydomain.com.
I’ve looked around for information but unfortunately can’t find anything. If someone can help me I will promise to update the wiki with the relevant information.
Thanks for your help/advice in advance
-
I would like to reject certain emails sent to groupname@mydomain.com IF they are sent from an external email address. So if someone sends the following:
To: groupname@mydomain.com
From: a_spammer@someotherdomain.com
the email will be rejected.
I’ve looked around for information but unfortunately can’t find anything.
You didn't look hard enough because we have three posts about blacklisting email (hint for the search button).
-
Hi bpivk, I have indeed checked various posts and unfortunately they do not seem to answer my question. Maybe my explanation wasn't that clear
I want to 'blacklist' all external email that is sent to only one particular groupname@mydomain.com.
The situation is as follows: unfortunately we have a problem where an ex-employee keeps sending emails to groupname@mydomain.com from a multitude of anonymous webmail accounts. The ex-employee can easily set up as many hotmail, yahoo, etc email accounts as they want.
I have been requested by the MD to 'stop this from happening'.
The only strategy I can think of is to block all external emails that are sent to this one unique particular group email (the entire office!) BUT i want employees with legitimate employee@mydomain.com email addresses to still be able to send internal emails to this same internal group. I do not want to block entire domains such as hotmail, gmail, etc as it would be unfair to employees.
I don't think this is something that spamassassin can handle, it may be that my strategy if flawed.
Any advice would be much appreciated
Thanks for your help/advice in advance and I will update the wiki once I find a solution
-
A simpler solution would be to change the name of the group in question. As you need only emails from internal users, you need to announce the new address only to your users.
-
A simpler solution would be to change the name of the group in question. As you need only emails from internal users, you need to announce the new address only to your users.
I agree. You should change the name and your problems will be solved. As you yourself said this is only for one domain so just change the domain or prosecute the guy.
The only strategy I can think of is to block all external emails....
I do not want to block entire domains such as hotmail, gmail, etc as it would be unfair to employees.
These two just don't go together.
And i found a link that might help you...
http://forums.contribs.org/index.php?topic=29297.0
-
And i found a link that might help you...
http://forums.contribs.org/index.php?topic=29297.0
Better is a search for "visible internal", which will find, amongst other things:
"How to add local groups that cannot receive external emails"
-
Hi CharlieBrady, jonic, and bpivk, thanks for your help. I did actually think about jonic's solution but the only problem is that employees talk and an existing employee may pass on the group name, I doubt it though but it is possible. I will follow CharlieBrady's advice, thanks for your help, it is much appreciated!
CharlieBrady, just to double check so I don't make a colossal mistake and before I update the wiki.... which of the following is correct:
db accounts setprop myGroupName Visible internal
signal-event email-update
or
db accounts setprop myGroupName@myDomainName.com Visible internal
signal-event email-update
It was nice to come across the SME developers manual to get an idea of its architecture!
-
ok, after reading the developers manual and doing the following
db accounts show
its obvious that it is the following:
db accounts setprop myGroupName Visible internal
signal-event email-update
and it works!
Out of interest, does anyone know how I could get a list of all the settable properties for the accounts db. I guess I really want to know how this particular db is structured