Disable {Spam not delivered} notifications
Disable {Spam not delivered} notifications
where is the setting located (if any) to disable the "{Spam not delivered}" notification on one specific mailbox?
			
			
									
						
										
						- shawniverson
 - Posts: 3783
 - Joined: 13 Jan 2014 23:30
 - Location: Indianapolis, Indiana USA
 - Contact:
 
Re: Disable {Spam not delivered} notifications
For a single user...
I'll take a look. I think it can be done in MailScanner using a ruleset...
			
			
									
						
										
						I'll take a look. I think it can be done in MailScanner using a ruleset...
Re: Disable {Spam not delivered} notifications
Can this be done?
			
			
									
						
										
						- 
				cdburgess75
 - Posts: 49
 - Joined: 11 Jun 2014 21:43
 
Re: Disable {Spam not delivered} notifications
It would be nice to enable or disable for certain users.
			
			
									
						
										
						- shawniverson
 - Posts: 3783
 - Joined: 13 Jan 2014 23:30
 - Location: Indianapolis, Indiana USA
 - Contact:
 
Re: Disable {Spam not delivered} notifications
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)
			
			
									
						
										
						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
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!
- shawniverson
 - Posts: 3783
 - Joined: 13 Jan 2014 23:30
 - Location: Indianapolis, Indiana USA
 - Contact:
 
Re: Disable {Spam not delivered} notifications
Corrected...got in a hurry  
			
			
									
						
										
						- 
				cdburgess75
 - Posts: 49
 - Joined: 11 Jun 2014 21:43
 
Re: Disable {Spam not delivered} notifications
This works great,  thank you!
			
			
									
						
										
						Re: Disable {Spam not delivered} notifications
What about wildcarding?
			
			
									
						
										
						Code: Select all
To:<tab>*@example.com<tab>store
To:<tab>@example.com<tab>store
To:<tab>example.com<tab>storeRe: Disable {Spam not delivered} notifications
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
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).
			
			
									
						
										
						EFA has always had {Spam not delivered} notifications (global option yes/no) and Daily Quarantine report (user option yes/no).
- shawniverson
 - Posts: 3783
 - Joined: 13 Jan 2014 23:30
 - Location: Indianapolis, Indiana USA
 - Contact:
 
Re: Disable {Spam not delivered} notifications
Both functionalities should be there.
			
			
									
						
										
						Re: Disable {Spam not delivered} notifications
Shawn,
Any idea on my wildcard question?
			
			
									
						
										
						Any idea on my wildcard question?
- shawniverson
 - Posts: 3783
 - Joined: 13 Jan 2014 23:30
 - Location: Indianapolis, Indiana USA
 - Contact:
 
Re: Disable {Spam not delivered} notifications
I think it works if you leave off the "*@"
			
			
									
						
										
						Re: Disable {Spam not delivered} notifications
Just to be clear for others, here is our implementation:
In /etc/MailScanner/conf.d create:
spam.actions.conf
In /etc/MailScanner/rules create:
spam.actions.rules(Use tabs between fields)
			
			
									
						
										
						In /etc/MailScanner/conf.d create:
spam.actions.conf
Code: Select all
Spam Actions = %rules-dir%/spam.actions.rulesspam.actions.rules
Code: Select all
To:     user@mydomain.com        store
FromOrTo:       default store custom(spam)