Re: [Dovecot] Dovecot 1.1 migration to 1.2

2010-07-19 Thread Jason 'XenoPhage' Frisvold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 19, 2010, at 10:54 PM, Jason 'XenoPhage' Frisvold wrote: > Isn't 1.2 still in RC release? Is RC2 stable for production? Ugh .. My apologies. Apparently I'm seeing number where they aren't.. 2.0 is in RC.. 1.2 is what I'm running right now

Re: [Dovecot] Dovecot 1.1 migration to 1.2

2010-07-19 Thread Jason 'XenoPhage' Frisvold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 19, 2010, at 9:35 AM, Arne K. Haje wrote: > I was however able to do this on a test server, so when when upgrading > production server I already had a working config file ready for use. Isn't 1.2 still in RC release? Is RC2 stable for produc

Re: [Dovecot] namespace trouble

2010-07-19 Thread Kevin Faulkner
On Monday 19 July 2010 09:56:21 Timo Sirainen wrote: > On Fri, 2010-07-16 at 22:38 -0700, Kevin Faulkner wrote: > > mutt connecting option: > > mutt set spoolfile=imaps://server.here/INBOX." > > Apparently this doesn't work, because > > > 4> a0003 STATUS "Drafts" (MESSAGES) > > It should be doin

Re: [Dovecot] Unable to get Dovecot LDA/deliver working

2010-07-19 Thread Timo Sirainen
On 19.7.2010, at 22.59, Frank van Amsterdam wrote: > Scenario 1 > > -rwsr-xr-x 1 root root 870720 mrt 18 17:54 /usr/lib/dovecot/deliver > > Scenario 2 > > -rwsr-xr-x 1 root root 870720 mrt 18 17:54 /usr/lib/dovecot/deliver None of these are what http://wiki.dovecot.org/LDA#multipleuids tells y

Re: [Dovecot] Unknown column username in where clause

2010-07-19 Thread Timo Sirainen
On 19.7.2010, at 22.59, Daniel Luttermann wrote: > The queries uses only "userid" instead of "username" so I think if one > sql field were missing it should report that "userid" could not be > found because the query is "FROM users WHERE userid = '%u'". > > I've not select "username" in any sql s

Re: [Dovecot] Unable to get Dovecot LDA/deliver working

2010-07-19 Thread Frank van Amsterdam
I've been trying a few scenario's. Scenario 1 I changed the file rights on deliver. -rwsr-xr-x 1 root root 870720 mrt 18 17:54 /usr/lib/dovecot/deliver from /var/log/mail.log Jul 19 16:37:03 h1690641 postfix/pipe[15686]: 3195B9C8934: to=, orig_to=, relay=dovecot, delay=0.03, delays=0.03/0/0

Re: [Dovecot] Unknown column username in where clause

2010-07-19 Thread Daniel Luttermann
Anton Dollmaier wrote on 19.07.2010: > Hi, >> I dont' know where the field "username" should come from because I >> don't use this field (or query). > perhabs this is the problem? The queries uses only "userid" instead of "username" so I think if one sql field were missing it should report that

Re: [Dovecot] Unknown column username in where clause

2010-07-19 Thread Anton Dollmaier
Hi, I dont' know where the field "username" should come from because I don't use this field (or query). perhabs this is the problem? ;-) The relevant files are: Output of "dovecot -n" would be better, together with the additional files. dovecot-sql.conf.ext passw

[Dovecot] How to install sieve

2010-07-19 Thread Carsten Laun-De Lellis
Hi all I do have a problem. I have an installation on opensuse 11.2 with postfix, amavis, spamassassin and dovecot 1.2.9 with a mysql authtentication backend. Everything works fine. I want now to install sieve, but i failed all the time. I downloaded dovecot-1.2-sieve-0.1.17 and followed the inst

[Dovecot] Unknown column username in where clause

2010-07-19 Thread Daniel Luttermann
Version: Dovecot 2.0 rc2 I'm testing Dovecot with MySQL quotas but I get always this error for incoming mails: tux dovecot: lmtp(4928): Error: user testu...@dlutt.de: Auth USER lookup failed tux dovecot: auth: Error: mysql: Query failed, retrying: Unknown column 'username' in 'where clause' I d

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread William Blunn
Timo Sirainen wrote: I was thinking it would be nice to be able to compress attachments after they've already been delivered. Like maybe keep the attachments decoded for a few weeks and then compress them. Similar to how some people do it with Maildir. This can't work without a small header, o

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Thomas Leuxner
Am 19.07.2010 um 20:53 schrieb Timo Sirainen: > Probably enough to just do: > > 6 SELECT Public/Mailing-Lists/Apache-Users > 7 FETCH 1 (UID) > Yes. * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT ID

Re: [Dovecot] SSL / TLS Problem

2010-07-19 Thread pod
"Leander S." writes: > server [~]# cat /etc/ssl/mail/mail.key > -BEGIN RSA PRIVATE KEY- > [...] Hmm, you have apparently posted your private key to a public maillist. You might want to generate a new key and cert.

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 19:49 +0100, William Blunn wrote: > > I thought about that also, but it would require calculating and using a > > hash of the decoded message (but not the compressed message). Could get > > complex. > > > > BTW I am not attempting to suggest a complete system for de-duplic

Re: [Dovecot] Deleting Index Files and Expire Tool

2010-07-19 Thread Timo Sirainen
In theory Dovecot should fix indexes if it ever finds anything wrong with them. If that doesn't work, then you need to delete them manually. I don't really have any other good ideas. On Mon, 2010-07-19 at 13:58 -0500, Tom Goerger wrote: > We will likely do that at some point in the near future. I

Re: [Dovecot] Deleting Index Files and Expire Tool

2010-07-19 Thread Tom Goerger
We will likely do that at some point in the near future. I've done some testing with this issue in 1.1.17 as well, however this issue is not solved here. At this point, I'm less concerned with the reasons why any cache corruption issues might be occurring and more concerned with getting these fol

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 20:34 +0200, Thomas Leuxner wrote: > Traced and found sequence to crash: > > /usr/lib/dovecot/imap -u user Probably enough to just do: 6 SELECT Public/Mailing-Lists/Apache-Users 7 FETCH 1 (UID) ? But .. I don't really get it. I guess it has to be related to http://hg.dove

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread William Blunn
Timo Sirainen wrote: On Mon, 2010-07-19 at 18:30 +0100, William Blunn wrote: Consider storing the recovery filter stack in the dbox metadata rather than the attachment file. This has a couple of upshots: 1. If one person receives a message with an attachment which is encoded with base64 a

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Thomas Leuxner
Am 19.07.2010 um 20:08 schrieb Timo Sirainen: > Use rawlog to see what commands they send: > http://wiki2.dovecot.org/Debugging/Rawlog > Traced and found sequence to crash: /usr/lib/dovecot/imap -u user 4.4 LIST "" "" 5.4 LSUB "" * 6.4 NAMESPACE 7.4 SELECT Trash 8.4 UID SEARCH UID 1:* BEFORE 2

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread William Blunn
Timo Sirainen wrote: BTW. I was thinking about using "number of characters per base64 line" rather than "number of cells". I don't think it's required that line ends with a complete cell. You're right. Looking at RFC2045, whitespace aside, the entire stream must be an integer quantity of 4 c

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 20:06 +0200, Thomas Leuxner wrote: > Am 19.07.2010 um 19:55 schrieb Timo Sirainen: > > > Well, I can't.. Can you crash it by running from command line: > > > > /usr/local/libexec/dovecot/imap -u username > > a select INBOX > > b fetch 1 body.peek[] > > > > or some other com

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Thomas Leuxner
Am 19.07.2010 um 19:55 schrieb Timo Sirainen: > Well, I can't.. Can you crash it by running from command line: > > /usr/local/libexec/dovecot/imap -u username > a select INBOX > b fetch 1 body.peek[] > > or some other command that crashes it? Not sure of the dangerous command as the server surv

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 19:47 +0200, Thomas Leuxner wrote: > Indeed. Actually now that you mention I can crash it at will listing any ACL > protected folder, folders without ACL survive. The reason for the startup > crash was a global INBOX ACL also used. Well, I can't.. Can you crash it by runni

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 18:30 +0100, William Blunn wrote: > Consider storing the recovery filter stack in the dbox metadata rather > than the attachment file. > > This has a couple of upshots: > > 1. If one person receives a message with an attachment which is encoded > with base64 at say 19 cell

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Thomas Leuxner
Am 19.07.2010 um 19:39 schrieb Timo Sirainen: > On Mon, 2010-07-19 at 19:37 +0200, Thomas Leuxner wrote: >> Am 19.07.2010 um 19:02 schrieb Timo Sirainen: >> >>> I can't reproduce this even when using your config. It also shouldn't be >>> crashing where your bt shows it crashing. Try if make clean

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 19:37 +0200, Thomas Leuxner wrote: > Am 19.07.2010 um 19:02 schrieb Timo Sirainen: > > > I can't reproduce this even when using your config. It also shouldn't be > > crashing where your bt shows it crashing. Try if make clean and > > reinstall helps? If not, running via valgr

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Thomas Leuxner
Am 19.07.2010 um 19:02 schrieb Timo Sirainen: > I can't reproduce this even when using your config. It also shouldn't be > crashing where your bt shows it crashing. Try if make clean and > reinstall helps? If not, running via valgrind could show something > helpful. Think I isolated the issue. Re

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread William Blunn
Timo Sirainen wrote: X1442 2742784 94/b2/01f34a9def84372a440d7a103a159ac6c9fd752b 2744378 27423 27/c8/a1dccc34d0aaa40e413b449a18810f600b4ae77b So the format is: "X" 1*( ) ... Extra features -- The attachment files begin with an extensible header. This allows a couple of extr

Re: [Dovecot] Plugins/Virtual for save searches & last 30 days incomming Email

2010-07-19 Thread Timo Sirainen
On Sat, 2010-07-17 at 21:16 +0200, No body ist Perfect wrote: > How can i configure the virtal-dovecot (virtal folder) file for search > the complete Mailbox for email not older as 30 Days ? Haven't tried, but this should work: * younger 2592000 (30 days * 24 hours * 60 mins * 60 secs = 259200

Re: [Dovecot] Proxy IMAP/POP/ManageSieve/SMTP in a large cluster enviroment

2010-07-19 Thread Timo Sirainen
On Sun, 2010-07-18 at 18:22 -0300, Aliet Santiesteban Sifontes wrote: > > - In case we use a Proxy with dovecot we know we can use it with > IMAP/POP but are not sure for ManageSieve and more important for SMTP. The > question is, how can we proxy for the same user IMAP/POP/ManageSieve and >

[Dovecot] namespaces

2010-07-19 Thread jorge martinez
Hello, i have an issue with vpopmail, this created a sub folder named "0" and all the new users created inside this folder into the domain folder. Weel i don understand why vpopmail do that, but i want to know if the option in dovecot.conf namespaces i can make it to search the Maildir in both dir

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-19 Thread Timo Sirainen
On Sat, 2010-07-17 at 08:20 +0200, Thomas Leuxner wrote: > Latest HG dies upon client login. Rolling back to 2.0.rc2 (7dd7adba1c9e) > restores functionality. Dump attached. I can't reproduce this even when using your config. It also shouldn't be crashing where your bt shows it crashing. Try if ma

Re: [Dovecot] namespace trouble

2010-07-19 Thread Timo Sirainen
On Fri, 2010-07-16 at 22:38 -0700, Kevin Faulkner wrote: > mutt connecting option: > mutt set spoolfile=imaps://server.here/INBOX." Apparently this doesn't work, because > 4> a0003 STATUS "Drafts" (MESSAGES) It should be doing STATUS INBOX.Drafts. > namespace private { > separator = . > pre

Re: [Dovecot] Deleting Index Files and Expire Tool

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 11:26 -0500, Tom Goerger wrote: > My question is, is there a better way to handle corrupted cache files? Is > there a more graceful way to rebuild these using Dovecot tools? Or is there > a more specific index file that can be removed, rather than removing the > entire hier

Re: [Dovecot] Haha wow, thats freakin cool... mdbox

2010-07-19 Thread Timo Sirainen
On Sun, 2010-07-18 at 03:44 -0500, Stan Hoeppner wrote: > What happens when these indexes become corrupted, get accidentally deleted, or > have the permissions accidentally changed in a way that they become unreadable > by Dovecot? Does Dovecot still report the messages as being in the correct >

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Brandon Lamb
On Mon, Jul 19, 2010 at 9:45 AM, Brandon Lamb wrote: > On Mon, Jul 19, 2010 at 9:28 AM, Timo Sirainen wrote: >> On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: >>> dsync -u bran...@olypen.com mirror mdbox~/mdbox >> >> What version? Maybe I already fixed it? >> >> ./dsync -u tss mirror mdbo

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Brandon Lamb
On Mon, Jul 19, 2010 at 9:28 AM, Timo Sirainen wrote: > On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: >> dsync -u bran...@olypen.com mirror mdbox~/mdbox > > What version? Maybe I already fixed it? > > ./dsync -u tss mirror mdbox~/mdbox > dsync(tss): Fatal: execvp(mdbox~/mdbox) failed: No

Re: [Dovecot] mdbox, mdbox_rotate_size 2m default

2010-07-19 Thread Timo Sirainen
On Sat, 2010-07-17 at 23:25 -0700, Brandon Lamb wrote: > Anyone else test using different values? > Was 2M chosen as a default based on anything specific? Because UW-IMAP's mix format uses 2 MB. IIRC Mark also didn't have anything but his gut feeling when choosing the 2 MB.. > Is there any kind o

Re: [Dovecot] Doveadm director flush/remove

2010-07-19 Thread Timo Sirainen
On Sat, 2010-07-17 at 18:33 -0700, Brandon Davidson wrote: > Timo, > > >> Maybe this fixes it: http://hg.dovecot.org/dovecot-2.0/rev/cfd15170dff7 > > > > Nope, still crashes with the same stack. I'll rebuild with -g and report > > back. > > Here we go. Attached, hopefully Entourage won't mangle

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread William Blunn
Timo Sirainen wrote: Now that v2.0.0 is only waiting for people to report bugs (and me to figure out how to fix them), I've finally had time to start doing what I actually came here (Portugal Telecom/SAPO) to do. :) The idea is to have dbox and mdbox support saving attachments (or MIME parts i

Re: [Dovecot] dsync segmentation fault

2010-07-19 Thread Timo Sirainen
On Sun, 2010-07-18 at 00:08 -0700, Brandon Lamb wrote: > dsync -u bran...@olypen.com mirror mdbox~/mdbox What version? Maybe I already fixed it? ./dsync -u tss mirror mdbox~/mdbox dsync(tss): Fatal: execvp(mdbox~/mdbox) failed: No such file or directory dsync-local(tss): Error: read() from worker

[Dovecot] Deleting Index Files and Expire Tool

2010-07-19 Thread Tom Goerger
Hi, In order to periodically deal with corrupted index files in Dovecot, we routinely will remove a users .imap folder in order to have the indexes rebuild. This hasn't ever caused a problem previously. However, removing the user's index files seems to break the ability of the expire plugin to u

Re: [Dovecot] users can not login

2010-07-19 Thread Timo Sirainen
On Sun, 2010-07-18 at 18:57 -0700, Daminto Lie wrote: > Ubuntu-MailServer dovecot: imap-login: Aborted login (auth failed, 1 > attempts): > user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured > > My silly question is I do not quite understand what the above error means. It means yo

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 09:01 -0700, Daniel L. Miller wrote: > > The idea is to have dbox and mdbox support saving attachments (or MIME > > parts in general) to separate files, which with some magic gives a > > possibility to do single instance attachment storage. Comments welcome. > > > > > YAAA

Re: [Dovecot] pam needs root with 2.0rc2 on Solaris?

2010-07-19 Thread Timo Sirainen
On Mon, 2010-07-19 at 10:22 +0200, Laurent Blume wrote: > Hello all, > > I have a question using PAM to authenticate on Solaris 10, with 2.0rc2. > I need to set the user for auth-worker to root, else it will return > "Unknown user". Is that expected? I'm using PAM, so why does it need > access t

Re: [Dovecot] (Single instance) attachment storage

2010-07-19 Thread Daniel L. Miller
On 7/19/2010 8:24 AM, Timo Sirainen wrote: Now that v2.0.0 is only waiting for people to report bugs (and me to figure out how to fix them), I've finally had time to start doing what I actually came here (Portugal Telecom/SAPO) to do. :) The idea is to have dbox and mdbox support saving attachme

Re: [Dovecot] how configure dovecot for not case sensitive login

2010-07-19 Thread Pascal Volk
On 07/19/2010 05:46 PM Wilberth Perez wrote: > On what parameter of dovecot could configure those variables ? Please stop top-posting. Quoting You can use special variables in several places: * mail_location setting and namespace locations

Re: [Dovecot] how configure dovecot for not case sensitive login

2010-07-19 Thread Wilberth Perez
On what parameter of dovecot could configure those variables ? Regards . wilberth. El 19/07/2010 10:40 a.m., Pascal Volk escribió: On 07/19/2010 05:36 PM Wilberth Perez wrote: Any knows how can say to dovecot that Login = user and Login = User are the same? Thanks. %Lu see al

Re: [Dovecot] how configure dovecot for not case sensitive login

2010-07-19 Thread Pascal Volk
On 07/19/2010 05:36 PM Wilberth Perez wrote: > Any knows how can say to dovecot that > > Login = user and Login = User are the same? > > Thanks. > %Lu see also: http://wiki.dovecot.org/Variables Regards, Pascal -- The trapper recommends today: http://kopfkrebs.de/mitarbeiter/mitarb

[Dovecot] how configure dovecot for not case sensitive login

2010-07-19 Thread Wilberth Perez
Any knows how can say to dovecot that Login = user and Login = User are the same? Thanks.

[Dovecot] (Single instance) attachment storage

2010-07-19 Thread Timo Sirainen
Now that v2.0.0 is only waiting for people to report bugs (and me to figure out how to fix them), I've finally had time to start doing what I actually came here (Portugal Telecom/SAPO) to do. :) The idea is to have dbox and mdbox support saving attachments (or MIME parts in general) to separate fi

Re: [Dovecot] director service and managesieve

2010-07-19 Thread Oliver Eales
Am 19.07.2010 09:31, schrieb Xavier Pons: Hi, the director service have implemented any support for managesieve-login?. I get the error: managesieve-login: Error: proxy: host not given: user=, method=PLAIN, ... any workaround? You can configure the managesieve-login with the director the same

Re: [Dovecot] Dovecot 1.1 migration to 1.2

2010-07-19 Thread Simone Caruso
Il 19/07/2010 15:27, Claudio Prono ha scritto: Hello all, Here is my dovecot 1.1 conf: # 1.1.3: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot-err.log info_log_path: /var/log/dovecot-inf.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login logi

Re: [Dovecot] Dovecot 1.1 migration to 1.2

2010-07-19 Thread Arne K. Haje
Mandag 19. juli 2010 15.27.33 skrev Claudio Prono : > Hello all, > > Here is my dovecot 1.1 conf: [snip] > Now, is out the OpenSuSE 11.3, and i have noticed it uses dovecot > 1.2.11. My question is: there is any difference or incompatibility in my > configuration for the 1.2 serie of dovecot?

[Dovecot] Dovecot 1.1 migration to 1.2

2010-07-19 Thread Claudio Prono
Hello all, Here is my dovecot 1.1 conf: # 1.1.3: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot-err.log info_log_path: /var/log/dovecot-inf.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-logi

Re: [Dovecot] lda with sieve crash

2010-07-19 Thread Michal Hlavinka
On Friday, July 16, 2010 16:56:10 Timo Sirainen wrote: > > #0 mailbox_get_storage (box=0x0) at mail-storage.c:802 > > No locals. > > #1 0x7ff182bace34 in act_store_start (action=, > > > > aenv=0x153c848, tr_context=0x153c988) at sieve-actions.c:405 > > Looks like the cleanest fix is to

[Dovecot] pam needs root with 2.0rc2 on Solaris?

2010-07-19 Thread Laurent Blume
Hello all, I have a question using PAM to authenticate on Solaris 10, with 2.0rc2. I need to set the user for auth-worker to root, else it will return "Unknown user". Is that expected? I'm using PAM, so why does it need access to /etc/shadow? TIA! Laurent service auth-worker { # Auth work

[Dovecot] director service and managesieve

2010-07-19 Thread Xavier Pons
Hi, the director service have implemented any support for managesieve-login?. I get the error: managesieve-login: Error: proxy: host not given: user=, method=PLAIN, ... any workaround? thanks Xavier

Re: [Dovecot] Proxy IMAP/POP/ManageSieve/SMTP in a large cluster enviroment

2010-07-19 Thread Stan Hoeppner
Aliet Santiesteban Sifontes put forth on 7/18/2010 4:22 PM: > 6- Mail backend. > - ( n servers)RHEL5/6 using Dovecot. > > Now for functional role 6 "Mail Backend" we have some dilemmas. >- Recommended scalable filesystem to use for such scenario(Clustered or > not). You have 3 choices: NFS