Re: [Dovecot] anti spam measures
[please don't drop the list, somebody else might care]
On Wed, 2008-11-26 at 07:02 -0700, Trever L. Adams wrote:
Johannes Berg wrote:
Interesting. Somebody else was reporting the same errors, but I'm not seeing them. But I'm still using 1.1.2. I'll review the changes, I guess, but if I don't find anything quickly I won't get around to poking at it before Christmas.
johannes
I found out what the problem is. In your git tree you have the signature option set for both dspam and crm114 with both uncommented.
Oh, so it's looking for the crm signature? Well, I guess the man-page should have them both commented out, maybe.
Can you provide me with more information on your crm setup?
Well, it's a bit complicated, but I'll leave out the SMTP part. When a mail is delivered locally, it's passed to crm114: basically:
xfilter "/usr/local/bin/mailreaver"
if ( /^X-CRM114-Status: UNSURE/:h ) { to $HOME/Maildir/.UNSURE/ } if ( /^X-CRM114-Status: SPAM/:h ) { to $HOME/Maildir/.SPAM/ }
and then in dovecot, I have: plugin { crm114_spam = SPAM crm114_unsure = UNSURE crm114_signature = X-CRM114-CacheID crm114_crm_binary = /usr/local/bin/mailreaver }
(I compile my plugin with the option to change the pluginname)
johannes
Interesting. Somebody else was reporting the same errors, but I'm not seeing them. But I'm still using 1.1.2. I'll review the changes, I guess, but if I don't find anything quickly I won't get around to poking at it before Christmas.
johannes
I found out what the problem is. In your git tree you have the signature option set for both dspam and crm114 with both uncommented.
I was the other one having this problem. Where exactly is that line? I was just looking at the whole thing again and re-testing, without any success. Cheers, Jakob
Jakob Curdes wrote:
I was the other one having this problem. Where exactly is that line? I was just looking at the whole thing again and re-testing, without any success. Cheers, Jakob
In dovecot.conf, look near the very bottom, in the crm 114 section of your antispam configuration. You will find that crm114's spam signature is likely uncommented. Comment it. Problem solved, at least here.
Trever
Trever L. Adams schrieb:
Jakob Curdes wrote:
I was the other one having this problem. Where exactly is that line? I was just looking at the whole thing again and re-testing, without any success. Cheers, Jakob
In dovecot.conf, look near the very bottom, in the crm 114 section of your antispam configuration. You will find that crm114's spam signature is likely uncommented. Comment it. Problem solved, at least here. No, I don't have that in dc.conf : # expire plugin # Trash and its children 7d, Spam 30d # expire = backup 7 Spam 30 # expire = backup 7 spam 30 expire_dict = proxy::expire expire = backup 7 spam 30 # If you have a non-default path to auth-master, set also: auth_socket_path = /var/run/dovecot/auth-master # end expire
Thats all (plus a dict line and the plugin call in the imap section). So my problem lies elsewhere :: = ((
JC
Jakob Curdes wrote:
No, I don't have that in dc.conf : # expire plugin # Trash and its children 7d, Spam 30d # expire = backup 7 Spam 30 # expire = backup 7 spam 30 expire_dict = proxy::expire expire = backup 7 spam 30 # If you have a non-default path to auth-master, set also: auth_socket_path = /var/run/dovecot/auth-master # end expire
Thats all (plus a dict line and the plugin call in the imap section). So my problem lies elsewhere :: = ((
JC
I assumed you pasted the antispam configuration at the end. The place I mentioned is in the antispam section.
Trever
Trever L. Adams wrote
I assumed you pasted the antispam configuration at the end. The place I mentioned is in the antispam section.
eh, too tired yesterday. My antispam config does contain a (correct) signature line, but just one:
################## # GENERIC OPTIONS
# mail signature (used with any backend requiring a signature)
antispam_signature = X-DSPAM-Signature
# semicolon-separated list of Trash folders (default unset i.e. none)
antispam_trash = trash;Trash;Deleted Items
# semicolon-separated list of spam folders
antispam_spam = spam
###########################
# BACKEND SPECIFIC OPTIONS
# dspam-exec plugin
# dspam binary
antispam_dspam_binary = /usr/local/bin/dspam
# semicolon-separated list of extra arguments to dspam
antispam_dspam_args = --user clamav
Still no ideas. Sigh.
JC
participants (3)
-
Jakob Curdes
-
Johannes Berg
-
Trever L. Adams