Page 1 of 1

Spam not moved to spam folder

Posted: Fri Sep 23, 2016 6:21 am
by tmunix
Hi,
i'm a Plesk administrator where run Postfix and Magicspam.
I set MagicSpam to mark as spam and move on the spam folder, but not working the email are only marked nut not moved.
Can you help me please?
Schermata.jpg

Re: Spam not moved to spam folder

Posted: Fri Sep 23, 2016 3:58 pm
by magicspam
Hello tmunix,

Thank you for your post.

In oder for your flagged email messages to be delivered to the quarantine folder, please make sure that the following options:

'Rewrite Local Message Subject:'
'Rewrite Remote Message Subject:'
'Deliver to Spam folder:'

in the:

Settings / System -> Option - 'Advanced Options'

tab in the MagicSpam admin-interface panel for Plesk are checked.

Please let us know if these options are checked and the email still does not go to your quarantine and we will investigate further.

Re: Spam not moved to spam folder

Posted: Sat Sep 24, 2016 3:02 am
by tmunix
hi,

thank you for your answer.
Already i check all of this option:
Rewrite Local Message Subject:'
'Rewrite Remote Message Subject:'
'Deliver to Spam folder:'

But not working! The spam is only rewrite but not move in spam folder
https://drive.google.com/open?id=0BxAGn ... G5sZU5JWlE
Schermata.png
file
Schermata.png (240.08 KiB) Viewed 29009 times
Any help?

Re: Spam not moved to spam folder

Posted: Mon Sep 26, 2016 1:31 pm
by magicspam
Hello tmunix,

Thank you for your reply.

In order to continue with troubleshooting this issue, can you please conform that one or both of the following binaries exist and are executable:

/usr/bin/deliverquota

or

/usr/lib/dovecot/dovecot-lda

Also for the 'flagged' spam messages to be delivered to your customers, 'Spam' folder must exist in their Mailbox.

Please let us know if you have any questions in the meantime.

Re: Spam not moved to spam folder

Posted: Tue Oct 04, 2016 3:27 pm
by tmunix
magicspam wrote:Hello tmunix,

Thank you for your reply.

In order to continue with troubleshooting this issue, can you please conform that one or both of the following binaries exist and are executable:

/usr/bin/deliverquota

or

/usr/lib/dovecot/dovecot-lda

Also for the 'flagged' spam messages to be delivered to your customers, 'Spam' folder must exist in their Mailbox.

Please let us know if you have any questions in the meantime.
Hi,

I checked the server configuration but "/usr/bin/deliverquota" and "/usr/lib/dovecot/dovecot-lda" not exist.
I found

[root@xxx dovecot]# locate dovecot-lda
/usr/lib64/dovecot/libdovecot-lda.so.0
/usr/lib64/dovecot/libdovecot-lda.so.0.0.0
/usr/libexec/dovecot/dovecot-lda
/usr/share/doc/dovecot/example-config/dovecot-ldap.conf.ext
/usr/share/man/man1/dovecot-lda.1.gz
[root@xxx dovecot]# ls -al
total 2964
drwxr-xr-x. 3 root root 4096 Sep 6 2015 .
dr-xr-xr-x. 64 root root 36864 Feb 20 2016 ..
lrwxrwxrwx. 1 root root 31 Sep 6 2015 libdovecot-compression.so.0 -> libdovecot-compression.so.0.0.0
-rwxr-xr-x. 1 root root 35144 Aug 19 2015 libdovecot-compression.so.0.0.0
lrwxrwxrwx. 1 root root 25 Sep 6 2015 libdovecot-dsync.so.0 -> libdovecot-dsync.so.0.0.0
-rwxr-xr-x. 1 root root 189528 Aug 19 2015 libdovecot-dsync.so.0.0.0
lrwxrwxrwx. 1 root root 23 Sep 6 2015 libdovecot-lda.so.0 -> libdovecot-lda.so.0.0.0
-rwxr-xr-x. 1 root root 57400 Aug 19 2015 libdovecot-lda.so.0.0.0
lrwxrwxrwx. 1 root root 25 Sep 6 2015 libdovecot-login.so.0 -> libdovecot-login.so.0.0.0
-rwxr-xr-x. 1 root root 112504 Aug 19 2015 libdovecot-login.so.0.0.0
lrwxrwxrwx. 1 root root 25 Sep 6 2015 libdovecot-sieve.so.0 -> libdovecot-sieve.so.0.0.0
-rwxr-xr-x. 1 root root 683088 Aug 19 2015 libdovecot-sieve.so.0.0.0
lrwxrwxrwx. 1 root root 19 Sep 6 2015 libdovecot.so.0 -> libdovecot.so.0.0.0
-rwxr-xr-x. 1 root root 988720 Aug 19 2015 libdovecot.so.0.0.0
lrwxrwxrwx. 1 root root 23 Sep 6 2015 libdovecot-sql.so.0 -> libdovecot-sql.so.0.0.0
-rwxr-xr-x. 1 root root 27488 Aug 19 2015 libdovecot-sql.so.0.0.0
lrwxrwxrwx. 1 root root 27 Sep 6 2015 libdovecot-storage.so.0 -> libdovecot-storage.so.0.0.0
-rwxr-xr-x. 1 root root 861752 Aug 19 2015 libdovecot-storage.so.0.0.0
drwxr-xr-x. 2 root root 6 Sep 6 2015 sieve
[root@xxx dovecot]# locate deliverquota

i don't have any deliverquota

Any idea?
Thank you

Re: Spam not moved to spam folder

Posted: Tue Oct 04, 2016 4:42 pm
by magicspam
Hello tmunix,

Thank you for your reply.

From the outputs you have provided we can see that the dovecot-lda binaries are located in:

/usr/libexec/dovecot/

as in intended

/usr/lib/dovecot/

We have created ticket for this issue and passed it to our development team for future updates.
In the meantime you can use the following command to work around this issue:

ln -s /usr/libexec/dovecot /usr/lib/dovecot

Please let us know if you have any further questions or updates in the meantime.