Koozali.org: home of the SME Server

Admin account gets spammed with failure notices

Beast

Admin account gets spammed with failure notices
« Reply #15 on: May 24, 2005, 10:41:47 AM »
This means I can remove the rules I have created?

I will have to create a rule to allow it for other domains then? Like the "catch-all" feauture in generel.

It works great BTW.

Beast

Admin account gets spammed with failure notices
« Reply #16 on: May 24, 2005, 10:49:46 AM »
Have the problem that the rule.

Accept: "to" *@mydomain.dk

or

Accept: "to" *@*mydomain.dk

do not work?

if I send a mail to xxxxxx@mydomain.dk it is rejected even with the above rule(s) in place.

What is wrong?

Beast

Admin account gets spammed with failure notices
« Reply #17 on: May 24, 2005, 11:00:14 AM »
Why have you made that a default rule - it is part of the default server-manager e-mail functionallity already?

(It does not default deliver mail to unknown users unless it is set-up to deliver it to a specific account)

Offline raem

  • *
  • 3,972
  • +4/-0
Admin account gets spammed with failure notices
« Reply #18 on: May 24, 2005, 11:33:23 AM »
Beast

I'm a bit confused about what you are trying to do, but I'm taking a guess.

> ....It uses random user names in front of the domain.

With the dungog-mailblocking contrib installed, and assuming these names are not accounts on your server, then all messages to those addresses will be rejected. That's what you want isn't it ?


> The user that have the domain and a single user
> account do not like me to disable the domain

Guessing what you mean here, perhaps you have not set up email aliases for other domains hosted on your server, see
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/virtual%20domain%20email%20aliases%20HOWTO%20for%20sme%20server.htm

You can also use the mailblocking contrib to enable or disable addresses for certain domains, see the bottom half of the page in server manager and select which addresses are allowed for which domains.


> Is there a way to disable all invalid usernames for this domain only?

The dungog-mailblocking contrib rejects messages to all invalid accounts by default, if a user account does not exist at all, then any email to that address is rejected for all domains.

To allow an address for one domain but not for others use the steps mentioned above, called Allowed Domains for Mail: in the server manager panel.
In this case though, you must create a valid user account first (which will apply to all domains unless otherwise controlled using the aliases custom template outlined above) and then enable/disable for the required domains using the server manager contrib panel.


Generally to totally manage email aliases for multiple domains you need to use email aliases custom template AND the features in mailblocking contrib.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Admin account gets spammed with failure notices
« Reply #19 on: May 24, 2005, 11:40:31 AM »
This thread may also be useful to help setup rules to allow/block certain external/internal users

http://forums.contribs.org/index.php?topic=23486.0
...

Beast

Admin account gets spammed with failure notices
« Reply #20 on: May 24, 2005, 12:37:20 PM »
Quote
With the dungog-mailblocking contrib installed, and assuming these names are not accounts on your server, then all messages to those addresses will be rejected. That's what you want isn't it ?


This is not what I want - only for a specific domain!

But I have it working now - I was just missing an entry in the from field of the rule (does not default to *@*).

Now it works
Thanks
[/quote]