Page 1 of 1
Disable {Spam not delivered} notifications
Posted: 04 Apr 2016 08:20
by lavazza
where is the setting located (if any) to disable the "{Spam not delivered}" notification on one specific mailbox?
Re: Disable {Spam not delivered} notifications
Posted: 07 Apr 2016 23:50
by shawniverson
For a single user...
I'll take a look. I think it can be done in MailScanner using a ruleset...
Re: Disable {Spam not delivered} notifications
Posted: 25 Jul 2016 22:44
by dbrunt
Can this be done?
Re: Disable {Spam not delivered} notifications
Posted: 08 Sep 2016 20:06
by cdburgess75
It would be nice to enable or disable for certain users.
Re: Disable {Spam not delivered} notifications
Posted: 10 Sep 2016 00:04
by shawniverson
Answer: yes
You have to create a ruleset and set Spam Actions = /path/to/ruleset.rule
The "ruleset.rule" would contain something like this (replace <tab> with real tabs)
Code: Select all
To:<tab>someone@example.com<tab>store
FromOrTo:<tab>default<tab>store notify
Re: Disable {Spam not delivered} notifications
Posted: 10 Sep 2016 00:29
by dbrunt
Question,
Is the correct syntax in the rule "store,notify" or "store notify"?
MailScanner.conf appears to be using a space separator between action keywords...
Thanks!
Re: Disable {Spam not delivered} notifications
Posted: 10 Sep 2016 00:30
by shawniverson
Corrected...got in a hurry
Re: Disable {Spam not delivered} notifications
Posted: 13 Sep 2016 00:36
by cdburgess75
This works great, thank you!
Re: Disable {Spam not delivered} notifications
Posted: 15 Sep 2016 17:40
by dbrunt
What about wildcarding?
Code: Select all
To:<tab>*@example.com<tab>store
To:<tab>@example.com<tab>store
To:<tab>example.com<tab>store
Re: Disable {Spam not delivered} notifications
Posted: 16 Sep 2016 16:22
by ovizii
Didn't the latest version 3.0.1.4 basically replace the {Spam not delivered} notifications or do we now have both, these and the daily quarantine reports available?
Re: Disable {Spam not delivered} notifications
Posted: 16 Sep 2016 17:34
by dbrunt
I'm not aware of that.
EFA has always had {Spam not delivered} notifications (global option yes/no) and Daily Quarantine report (user option yes/no).
Re: Disable {Spam not delivered} notifications
Posted: 16 Sep 2016 18:06
by shawniverson
Both functionalities should be there.
Re: Disable {Spam not delivered} notifications
Posted: 16 Sep 2016 18:07
by dbrunt
Shawn,
Any idea on my wildcard question?
Re: Disable {Spam not delivered} notifications
Posted: 16 Sep 2016 18:08
by shawniverson
I think it works if you leave off the "*@"
Re: Disable {Spam not delivered} notifications
Posted: 21 Sep 2016 23:32
by dbrunt
Just to be clear for others, here is our implementation:
In /etc/MailScanner/conf.d create:
spam.actions.conf
Code: Select all
Spam Actions = %rules-dir%/spam.actions.rules
In /etc/MailScanner/rules create:
spam.actions.rules
Code: Select all
To: user@mydomain.com store
FromOrTo: default store custom(spam)
(Use tabs between fields)