Hello there
This is my first post. I just configured MailEnable Enterprise to use SpamAssassin to catch the spam. I noticed that the message is delivered to user's INBOX and only after delivery, SpamAssassin filter the message, for example by adding a prefix in the subject string. I can't find a way to move a message to a Junk folder after SpamAssassin elaboration of message. The message still remains in INBOX
Is there anyone who can kindly help me?
Thanks in advance
--
Max
Moving messages to Junk AFTER SpamAssassin filtering
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Moving messages to Junk AFTER SpamAssassin filtering
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support
Re: Moving messages to Junk AFTER SpamAssassin filtering
Hello Ian
Thanks for your prompt reply.
I think I already did that configuration in the past and the problem was that the message was correctly marked as spam but NOT moved to junk.
Is there any possible cause for this behaviour?
Thanks in advance
Thanks for your prompt reply.
I think I already did that configuration in the past and the problem was that the message was correctly marked as spam but NOT moved to junk.
Is there any possible cause for this behaviour?
Thanks in advance
-
- Site Admin
- Posts: 9738
- Joined: Mon Mar 22, 2004 4:44 am
- Location: Melbourne, Victoria, Australia
Re: Moving messages to Junk AFTER SpamAssassin filtering
Hi,
Is the filter you have created a global filter or a mailbox level filter to catch the Spam assassin header? If the spam assassin application is marking the headers before the message is delivered to the mailbox via a mailbox delivery event then the global filter (MTA level) that you have created to catch the message header will not work because the filter would have already executed.
Is the filter you have created a global filter or a mailbox level filter to catch the Spam assassin header? If the spam assassin application is marking the headers before the message is delivered to the mailbox via a mailbox delivery event then the global filter (MTA level) that you have created to catch the message header will not work because the filter would have already executed.
Regards,
Ian Margarone
MailEnable Support
Ian Margarone
MailEnable Support
Re: Moving messages to Junk AFTER SpamAssassin filtering
Hello Ian
Well, actually our configuration is a bit more complex and probably this is leading to the reported issue.
I’ll try to explain, I really hope you can help us because I’m quite desperate
First of all: we are using Parallels Plesk 8.6 with Mail Enable Enterprise Edition. I don’t think Plesk is an issue because everything we configure on plesk reflects on Mail Enable console configuration.
1. On Plesk’s console, we configured Global Antispam (by using SpamAssassin; SpamAssasins is provided by Plesk) and allow local mailbox antispam.
This configuration reflects on Mail Enable with the following
Servers / LocalHost / Agents / MTA Properties / Enable Pickup Event : FLAGGED -> D:\Program Files (x86)\Parallels\Plesk\admin\bin\memailfilter.exe
Process Pickup After Filters Insead of Before NOT-FLAGGED
This configuration also reflects on
Mailenable Management / Messaging Manager / Post Offices / <MyDomain.com> / Mailboxes / <mymailbox> Properties / Actions TAB
Enable delivery event FLAGGED -> d:\Program Files (x86)\Parallels\Plesk\admin\bin\memailfilter_usr.exe
This means that as GLOBAL configuration of SpamAssassin is operating for every inbound message.
This also means that there is a LocalMailbox Action that enables the Delivery Events for every inbound message with SpamAssassin searches
2. The Mail Enable Antispam is off (we only need to use Spam Assassin for the moment
3. The SpamAssassins is configured as follows. Once “required hits†is beyond a predefined value, spam is detected and in such case perform the following actions
4. The Mail Enable has the following 2 Global filters
Filter1. If message is larger than 2 kb then add prefix to subject “Large Messageâ€
Filter2. If message contains “X-Spam-Flag= Yes†then add prefix “SpamFound†and Mark As Spam
5. The filter order is as follows
Filter1 - Enabled
Filter2 - Enabled
[SystemSpamFilter] - Disabled
With this configuration, when a new spam is detected, the message arrives it happens the following:
The message is processed by GlobalFilters, with Filter1 (in fact the Subject is added with “LargeMessageâ€)
Then is processed by the Filter2 which does not find the “X-Spam=Yes†and do not add “SpamFoundâ€
Then the message is processed by SpamAssassin which recognizes spam and it adds the required header and “****[SPAM]****â€.
The resulting message remains in the INBOX and has the following subject.
*****[SPAM]***** LargeMessage: Buy Viagra
So, now my question is :
How do I instruct MailEnable to process FILTERS only AFTER SpamAssassin?
Thank you SO MUCH for your precious cooperation
--
Max
Well, actually our configuration is a bit more complex and probably this is leading to the reported issue.
I’ll try to explain, I really hope you can help us because I’m quite desperate
First of all: we are using Parallels Plesk 8.6 with Mail Enable Enterprise Edition. I don’t think Plesk is an issue because everything we configure on plesk reflects on Mail Enable console configuration.
1. On Plesk’s console, we configured Global Antispam (by using SpamAssassin; SpamAssasins is provided by Plesk) and allow local mailbox antispam.
This configuration reflects on Mail Enable with the following
Servers / LocalHost / Agents / MTA Properties / Enable Pickup Event : FLAGGED -> D:\Program Files (x86)\Parallels\Plesk\admin\bin\memailfilter.exe
Process Pickup After Filters Insead of Before NOT-FLAGGED
This configuration also reflects on
Mailenable Management / Messaging Manager / Post Offices / <MyDomain.com> / Mailboxes / <mymailbox> Properties / Actions TAB
Enable delivery event FLAGGED -> d:\Program Files (x86)\Parallels\Plesk\admin\bin\memailfilter_usr.exe
This means that as GLOBAL configuration of SpamAssassin is operating for every inbound message.
This also means that there is a LocalMailbox Action that enables the Delivery Events for every inbound message with SpamAssassin searches
2. The Mail Enable Antispam is off (we only need to use Spam Assassin for the moment
3. The SpamAssassins is configured as follows. Once “required hits†is beyond a predefined value, spam is detected and in such case perform the following actions
Code: Select all
rewrite_header subject *****[SPAM]*****
add_header all X-ME-Content Deliver-To=Junk
add_header all X-Spam-Flag: YES
Filter1. If message is larger than 2 kb then add prefix to subject “Large Messageâ€
Filter2. If message contains “X-Spam-Flag= Yes†then add prefix “SpamFound†and Mark As Spam
5. The filter order is as follows
Filter1 - Enabled
Filter2 - Enabled
[SystemSpamFilter] - Disabled
With this configuration, when a new spam is detected, the message arrives it happens the following:
The message is processed by GlobalFilters, with Filter1 (in fact the Subject is added with “LargeMessageâ€)
Then is processed by the Filter2 which does not find the “X-Spam=Yes†and do not add “SpamFoundâ€
Then the message is processed by SpamAssassin which recognizes spam and it adds the required header and “****[SPAM]****â€.
The resulting message remains in the INBOX and has the following subject.
*****[SPAM]***** LargeMessage: Buy Viagra
So, now my question is :
How do I instruct MailEnable to process FILTERS only AFTER SpamAssassin?
Thank you SO MUCH for your precious cooperation
--
Max
Re: Moving messages to Junk AFTER SpamAssassin filtering
Hi Ian
Could you please help us?
We are desperate
Could you please help us?
We are desperate
Re: Moving messages to Junk AFTER SpamAssassin filtering
Thanks for sharing