Re: [Dovecot] anti spam measures

2008-11-28 Thread Trever L. Adams

Jakob Curdes wrote:

Still no ideas. Sigh.

JC


Sorry, then I am afraid I do nnot know what the problem is. Good luck.

Trever



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] anti spam measures

2008-11-27 Thread Jakob Curdes

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


Re: [Dovecot] anti spam measures

2008-11-27 Thread Trever L. Adams

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



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] anti spam measures

2008-11-27 Thread Jakob Curdes

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


Re: [Dovecot] anti spam measures

2008-11-26 Thread Trever L. Adams

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




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] anti spam measures

2008-11-26 Thread Jakob Curdes



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



Re: [Dovecot] anti spam measures

2008-11-26 Thread Johannes Berg
[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


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] anti spam measures

2008-11-26 Thread Johannes Berg
On Wed, 2008-11-26 at 06:30 -0700, Trever L. Adams wrote:
> Trever L. Adams wrote:
> > I believe it appears you have gone back to dspam, is this correct? 

No.

> > What backend do you use? What version? I am using 3.8.1.

I'm using crm114 still.

> > I still have problems with your plugin with the hash driver and the 
> > sqlite3 driver seems to segfault all the time.
> >
> > Any ideas?

Sorry, no.

> I just realized it is the dovecot-antispam plugin that is returning the 
> error of not finding the signature.
> 
> dovecot-1.1.6-2.fc10.i386 is the version of dovecot I am using.
> 
> Looking at the message source, there is indeed an X-DSPAM-Signature line.

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


signature.asc
Description: This is a digitally signed message part