Re: [Dovecot] Master user and missing folders

2008-04-19 Thread Anders
Anders <[EMAIL PROTECTED]> writes: > It logs the correct value for "home" with mail_debug=yes. It is also > able to print the correct quota values, so Dovecot seems to end up > at the right place. It was actually auth_debug that I turned on, not mail_debug. Here is the mail_debug log. It led me t

Re: [Dovecot] Delete antispam emails

2008-04-19 Thread David Reid
Johannes Berg wrote: >> This is what I found in syslog... >> >> Apr 12 21:28:15 kosh imap: antispam: plugin initialising >> Apr 12 21:28:15 kosh imap: antispam: "trash" is trash folder >> Apr 12 21:28:15 kosh imap: antispam: "Trash" is trash folder >> Apr 12 21:28:15 kosh imap: antispam: "Deleted I

Re: [Dovecot] Delete antispam emails

2008-04-19 Thread Johannes Berg
> Anyways, this is what I see with your patch (date/time stamp truncated > to allow the details to be on a single line)... > > ... map: antispam: mail copy: from trash: 0, to trash: 0 > ... map: antispam: mail copy: src spam: 1, dst spam: 0, src unsure: 0 > > So, it looks as though my trash dete

Re: [Dovecot] Delete antispam emails

2008-04-19 Thread David Reid
Johannes Berg wrote: >> Anyways, this is what I see with your patch (date/time stamp truncated >> to allow the details to be on a single line)... >> >> ... map: antispam: mail copy: from trash: 0, to trash: 0 >> ... map: antispam: mail copy: src spam: 1, dst spam: 0, src unsure: 0 >> >> So, it look

Re: [Dovecot] Delete antispam emails

2008-04-19 Thread Johannes Berg
On Sat, 2008-04-19 at 12:17 +0100, David Reid wrote: > Johannes Berg wrote: > >> Anyways, this is what I see with your patch (date/time stamp truncated > >> to allow the details to be on a single line)... > >> > >> ... map: antispam: mail copy: from trash: 0, to trash: 0 > >> ... map: antispam: mai

[Dovecot] building a simple antispam plugin

2008-04-19 Thread Alexander Prinsier
Hello, I'm trying to build another antispam plugin, but some things are a bit unclear. In backend_handle_mail I put store the signature returned from signature_extract into my antispam_transaction_context. In backend_commit it appears that the signature is empty. (It wasn't in backend_handle_mail

[Dovecot] Getting dovecot to recognize existing folders, was Re: Okay, so what's with "mail storage creation failed", was Cannot connect to dovecot imap server -- nothing in log

2008-04-19 Thread David Benfell
On Fri, 2008-04-18 at 00:27 -0400, Bill Cole wrote: > At 8:36 PM -0700 4/17/08, David Benfell wrote: > > (reduced to the key pieces of information.) > > >dovecot: 2008-04-17 20:24:51 Error: IMAP(benfell): Ambiguous mail > >location setting, don't know what to do with it: > >/home/benfell/imap-fol

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Johannes Berg
Hi, > I'm trying to build another antispam plugin, but some things are a bit > unclear. What are you trying to achieve? Just build another backend for my antispam plugin? > In backend_handle_mail I put store the signature returned from > signature_extract into my antispam_transaction_context. In

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Alexander Prinsier
Johannes Berg wrote: > Hi, > >> I'm trying to build another antispam plugin, but some things are a bit >> unclear. > > What are you trying to achieve? Just build another backend for my > antispam plugin? Yes, just another backend. It would be logging the signatures to a mysql database, so that I

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Johannes Berg
On Sat, 2008-04-19 at 15:12 +0200, Alexander Prinsier wrote: > Johannes Berg wrote: > > Hi, > > > >> I'm trying to build another antispam plugin, but some things are a bit > >> unclear. > > > > What are you trying to achieve? Just build another backend for my > > antispam plugin? > Yes, just anot

[Dovecot] mailtrain with dovecot antispam plugin

2008-04-19 Thread Hugo Monteiro
Hello all, and Johannes if you're around, I was trying to set up the "new" antispam plugin with the mailtrain backend, and i was trying to use the sendmail binary that's part of a qmail system. The message wouldn't get sent and i kept getting exit error 100 from the /var/qmail/bin/sendmail bi

Re: [Dovecot] How to deal with mail to unknown virtual recipients?

2008-04-19 Thread mouss
Andreas Ntaflos wrote: Thank you for your reply! Reading through it and re-reading the Postfix documentation gave me the clue I needed. Unfortunately I forgot to mention that I didn't have a virtual_mailbox_maps directive defined in Postfix's main.cf, so Postfix couldn't know anything about w

Re: [Dovecot] mailtrain with dovecot antispam plugin

2008-04-19 Thread Hugo Monteiro
Hugo Monteiro wrote: Hello all, and Johannes if you're around, I was trying to set up the "new" antispam plugin with the mailtrain backend, and i was trying to use the sendmail binary that's part of a qmail system. The message wouldn't get sent and i kept getting exit error 100 from the /var

[Dovecot] using mysql from within a plugin

2008-04-19 Thread Alexander Prinsier
Hello, I'm trying to access a mysql database in a plugin. -What special compiler flags do I need? I discovered that when I don't explicitly link lib-sql/libsql.a in, then I get an undefind symbol error about sql_init when loading the plugin. Shouldn't the imap process itself have sql support lin