Re: [Dovecot] Move mail in Maildir without IMAP
On Sat, 2008-12-20 at 12:37 +, RW wrote: On Fri, 19 Dec 2008 07:52:58 +0200 Timo Sirainen t...@iki.fi wrote: No. But you could do something like: export MAIL=maildir:/home/user/Maildir printf 1 select src\n2 copy 1:* dest\n3 store 1:* +flags.silent \\deleted\n4 close\n | imap That's easier than I thought. Is it possible to do that with virtual accounts, if I set the appropriate uid and path in MAIL, or do I need to give dovecot some additional user information? Those should be enough. Perhaps also set USER just in case. Also if you're using some plugins they're not enabled when running like this (but with extra environment settings you could run them too). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] SSL certs per listen IP
Ian P. Christian wrote: Does anyone else see a value in my putting this in as a feature request? IMO it would be useful to have a whole list of IP/SSL mappings, or perhaps different certs on different ports. I will happily accept I'm in the minority though is no one else sees value in this. I don't really want to run X number of instances of dovecot on my setup, as X might be reasonably high, and I'm running this on a low member virtual machine - if it weren't for having to run multiple processes, memory requirements would be very low. It would be nice, but it is hardly something essential. I believe this feature is already planned by Timo for a future version. -- I'm prepared for all emergencies but totally unprepared for everyday life. Eduardo M KALINOWSKI edua...@kalinowski.com.br http://move.to/hpkb
Re: [Dovecot] SSL certs per listen IP
http://wiki.dovecot.org/Roadmap v1.2 will be the next release after v1.1. v2.0 will provide a rewritten master process and config handling framework, which makes it a lot easier to implement several other features. Many people also want to use configuration that currently isn't possible, but will be easy to support using v2.0 (e.g. different auth lookups or SSL certs based on local/remote IP or protocol). Well, seems it's already thought up ;) For now, I'll run seperate processes, either as seperate Xen domains, or on the same server Thanks all!
[Dovecot] change sender name in Sieve
Hello, the vacation module of Sieve works fine for me, but the sender name (From Header) is always the e-mail address. I'm unable to add a name here. I'd love to have my realname in the From: field. Did I miss something? :-) Thanks, Jakob
Re: [Dovecot] change sender name in Sieve
Jakob Grießmann schreef: Hello, the vacation module of Sieve works fine for me, but the sender name (From Header) is always the e-mail address. I'm unable to add a name here. I'd love to have my realname in the From: field. Did I miss something? :-) No, you tripped a bug. The following script should have yielded the desired result: -- require vacation; vacation :from Stephan Bosch step...@rename-it.nl I am off to Hawaii; -- However, the header constructed by Dovecot looks as follows: From: Stephan Bosch step...@rename-it.nl Most mail servers will reject this, drop it, or dump it in a frozen queue somewhere. This bug is/was present in both the CMU Sieve and new Sieve plug-in. In case you are using the CMU Sieve plug-in, a patch against the v1.1 version is attached. The change is very trivial and should be easy to backport to the v1.0 version. For the new Sieve plug-in, the bug is fixed in the Mercurial repository and it will therefore be fixed in the upcoming release. Timo, could you apply this fix to the dovecot-sieve-1.0/1.1 repositories? Regards, -- Stephan Bosch step...@rename-it.nl diff -r cac988cd3e7d src/sieve-cmu.c --- a/src/sieve-cmu.c Fri Oct 03 19:52:34 2008 +0300 +++ b/src/sieve-cmu.c Sun Dec 21 17:38:26 2008 +0100 @@ -749,7 +749,7 @@ fprintf(f, Date: %s\r\n, message_date_create(ioloop_time)); fprintf(f, X-Sieve: %s\r\n, SIEVE_VERSION); -fprintf(f, From: %s\r\n, src-fromaddr); +fprintf(f, From: %s\r\n, src-fromaddr); fprintf(f, To: %s\r\n, src-addr); fprintf(f, Subject: %s\r\n, str_sanitize(src-subj, 80)); if (md-id) fprintf(f, In-Reply-To: %s\r\n, md-id);
Re: [Dovecot] change sender name in Sieve
On Sun, 2008-12-21 at 17:49 +0100, Stephan Bosch wrote: This bug is/was present in both the CMU Sieve and new Sieve plug-in. In case you are using the CMU Sieve plug-in, a patch against the v1.1 version is attached. The change is very trivial and should be easy to backport to the v1.0 version. For the new Sieve plug-in, the bug is fixed in the Mercurial repository and it will therefore be fixed in the upcoming release. Timo, could you apply this fix to the dovecot-sieve-1.0/1.1 repositories? http://hg.dovecot.org/dovecot-sieve-1.0/rev/1ddefc5e4e33 http://hg.dovecot.org/dovecot-sieve-1.1/rev/49537bad6797 I suppose it's soon time for a new Sieve plugin v1.1.6 release. signature.asc Description: This is a digitally signed message part
[Dovecot] expire plugin with pgsql not working
Hi! I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. I'm using dovecot-1.1.7 and pgsql. When moving a message inside the monitored directory, the expires table won't get updated because of an error: statement: INSERT INTO expires (expire_stamp, mailbox) VALUES ('1229993423', 'leva/spamassassin.SPAM') INSERT ERROR: null value in column username violates not-null constraint Wonder why doesn't dovecot pass the username too. What could be the problem? Daniel -- LEVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1
Re: [Dovecot] expire plugin with pgsql not working
On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire instead. Although I just had to fix that page too. statement: INSERT INTO expires (expire_stamp, mailbox) VALUES ('1229993423', 'leva/spamassassin.SPAM') INSERT ERROR: null value in column username violates not-null constraint Wonder why doesn't dovecot pass the username too. What could be the problem? It doesn't need to have a username field. Leave it out of the primary key (and remove the entire field).
Re: [Dovecot] expire plugin with pgsql not working
Timo Sirainen wrote: On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire instead. Although I just had to fix that page too. Yes, I meant that page sorry. It was a problem with the username column in the table maybe? It doesn't need to have a username field. Leave it out of the primary key (and remove the entire field). Daniel -- LEVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1