Re: [Dovecot] Delete user data from Dovecot server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thiago Henrique said the following on 17/08/10 23:02: > when I add a user in the database, it is automatically created in the > structure of Dovecot at first login. > > Is there a easy way to delete a user ? You have to do it externally (from the Dovecot point of view). For instance, postfixadmin tool can run a script after you remove a user. You can do the same in the procedure you use to delete the user record. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Utility is when you have one telephone, luxury is when you have two, opulence is when you have three, and paradise is when you have none. --Doug Larson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxrYQkACgkQ3kWu7Tfl6ZSD4gCgsbzKc1/YbeonTy+QyJvKxzeb b1IAn3jdqAmMnK1dAtMUBYkPbHcfi9dh =VMmH -END PGP SIGNATURE-
Re: [Dovecot] REpeated e-mail
On 8/17/2010 10:53 PM, The Doctor wrote: Using 1.2.11 I am getting some people repeating that they are getting repeated POP3 e-mails. My configuration is # 1.2.11: /usr/dovecot/etc/dovecot.conf # OS: BSD/OS 4.3 i386 base_dir: /var/run/dovecot/ protocols: pop3 pop3s imap imaps ssl_listen: 204.209.81.1 ssl_cipher_list: ALL:!LOW:!SSLv2 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/dovecot/libexec/dovecot/pop3-login mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 first_valid_uid: 100 mail_location: mbox:~/mail:INBOX=/var/mail/%u dbox_rotate_days: 0 mail_executable(default): /usr/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/dovecot/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_no_flag_updates(default): no pop3_no_flag_updates(imap): no pop3_no_flag_updates(pop3): yes pop3_enable_last(default): no pop3_enable_last(imap): no pop3_enable_last(pop3): yes pop3_save_uidl(default): no pop3_save_uidl(imap): no pop3_save_uidl(pop3): yes pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: executable: /usr/contrib/libexec/dovecot/dovecot-auth passdb: driver: passwd-file args: /etc/master.passwd userdb: driver: passwd userdb: driver: passwd-file args: /etc/passwd I had this problem, on IMAP, too and it was because of an error with the dictionary service. I was getting repeated mails from this list, using Dovecot as the LDA. The dictionary service problem was on dovecot 1.2.13 and was an error on Timio's part. He is suppose to patch it in 1.2.14, if I understood him correctly. When I disabled all dictionary services, dovecot worked perfectly. The disabling was not a problem for me and can be worked around for being required for quota or expire by using a script for expire and doing quota by Maildir. If you use dbox or mbox, you'll need the dictionary service. Make sure you have no errors in your log. Jerrale G. SC Senior Admin
[Dovecot] reverting back to 1.2.12
ver 1.2.13 is also tossing these : Aug 18 03:37:49 dovecot: Warning: I/O leak: 805c600 (27) Aug 18 03:37:49 dovecot: Warning: I/O leak: 805c600 (25) Aug 18 03:37:49 dovecot: Warning: I/O leak: 805c600 (23) I have reverted back to 1.2.12 which "just works". I will go back and recompile 1.2.13 and 2.0.0 again. Maybe the addition of postgressql libs linked in or the use of GCC is the issue on Solaris. Not sure but 1.2.12 to 1.2.13 did not go smoothly at all. Dennis
Re: [Dovecot] pigeonhole
On 8/16/2010 2:01 PM, Marcus Rueckert wrote: On 2010-08-16 13:02:37 -0400, Jerrale G wrote: make sure you are using dovecot-2.0-rc6 you mean the final 2.0.0 right?:p darix I saw and upgraded right after I posted that, that 2.0 had been released. Jerrale G. SC Senior Admin
[Dovecot] Error: Index file too large ? 904 bytes ?
My 1.2.13 build is giving me errors based on the same conf file that was working perfectly for 1.2.12 : Aug 18 03:28:27 IMAP(dclarke): Error: Index file too large: /var/mail/dclarke/dovecot.index Aug 18 03:28:27 IMAP(dclarke): Fatal: block_alloc(2147483648): Out of memory Aug 18 03:28:27 dovecot: Error: child 12560 (imap) returned error 83 (Out of memory - see mail_process_size setting) The file in question is 904 bytes in size : bash-4.1# ls -l /export/home/dclarke/mail/.Sent/dovecot.index -rw--- 1 dclarke csw 904 Aug 4 16:05 /export/home/dclarke/mail/.Sent/dovecot.index So this seems insane. SO I made sure the conf file had this in it : mail_process_size = 256 I then restart the daemon and see this : Aug 18 03:37:02 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:02 dovecot: Error: child 12620 (imap) returned error 83 (Out of memory - see mail_process_size setting) Aug 18 03:37:07 IMAP(dclarke): Error: Index file too large: /export/home/dclarke/mail/.Sent/dovecot.index Aug 18 03:37:07 IMAP(dclarke): Warning: Created dotlock file's timestamp is different than current time (837089755 vs 1282102627): /export/home/dclarke/mail/.Sent/dovecot-uidlist Aug 18 03:37:07 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:07 dovecot: Error: child 12622 (imap) returned error 83 (Out of memory - see mail_process_size setting) Aug 18 03:37:09 IMAP(dclarke): Error: Index file too large: /export/home/dclarke/mail/.Sent/dovecot.index Aug 18 03:37:09 IMAP(dclarke): Warning: Created dotlock file's timestamp is different than current time (527779909 vs 1282102629): /export/home/dclarke/mail/.Sent/dovecot-uidlist Aug 18 03:37:09 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:09 dovecot: Error: child 12624 (imap) returned error 83 (Out of memory - see mail_process_size setting) Sure enough dovecot catches a timestamp issue : bash-4.1# date Wed Aug 18 03:39:24 GMT 2010 bash-4.1# ls -lapE /export/home/dclarke/mail/.Sent/dovecot-uidlist -rw--- 1 dclarke csw 1806 2010-08-16 13:52:16.442510077 + /export/home/dclarke/mail/.Sent/dovecot-uidlist bash-4.1# touch /export/home/dclarke/mail/.Sent/dovecot-uidlist bash-4.1# ls -lapE /export/home/dclarke/mail/.Sent/dovecot-uidlist -rw--- 1 dclarke csw 1806 2010-08-18 03:39:53.263345256 + /export/home/dclarke/mail/.Sent/dovecot-uidlist However the inability to deal with a 904 byte file is a bit of an issue here. Anyone know why mail_process_size = 256 is the wrong thing to look at ? Dennis
[Dovecot] dovecot-lda logging
Hi everyone, I'm using Postfix and Dovecot with dovecot-lda used for local delivery. I've successfully migrated from 1.2.13 to 2.0.0 however I have a little problem with dovecot-lda logging. With version 1.2.13, I use to log dovecot-lda to /var/log/dovecot-lda.log with world-writable mode. With version 2.0.0, postfix complains: "Can't open log file /var/log/dovecot.log: permission denied". This is understandable because my dovecot.log file is 0600 mode. My question is how do I retain the 1.2.13 functionality of logging dovecot-lda to /var/log/dovecot-lda.log. I've read the LDA.txt in the wiki documentation and it states I can override log_path & info_log_path like this: protocol lda { log_path = /var/log/dovecot-lda.log info_log_path = /var/log/dovecot-lda.log } What I don't know is where to add that segment. Should I add it to 10-logging.conf or 15-lda.conf? Right now I've added that to both the files but I still see the postfix permission denied message. I will appreciate if someone can help out. Thanks! BTW, Great work Timo!!! Thank you very much for a great piece of software!
[Dovecot] REpeated e-mail
Using 1.2.11 I am getting some people repeating that they are getting repeated POP3 e-mails. My configuration is # 1.2.11: /usr/dovecot/etc/dovecot.conf # OS: BSD/OS 4.3 i386 base_dir: /var/run/dovecot/ protocols: pop3 pop3s imap imaps ssl_listen: 204.209.81.1 ssl_cipher_list: ALL:!LOW:!SSLv2 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/dovecot/libexec/dovecot/pop3-login mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 first_valid_uid: 100 mail_location: mbox:~/mail:INBOX=/var/mail/%u dbox_rotate_days: 0 mail_executable(default): /usr/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/dovecot/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_no_flag_updates(default): no pop3_no_flag_updates(imap): no pop3_no_flag_updates(pop3): yes pop3_enable_last(default): no pop3_enable_last(imap): no pop3_enable_last(pop3): yes pop3_save_uidl(default): no pop3_save_uidl(imap): no pop3_save_uidl(pop3): yes pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: executable: /usr/contrib/libexec/dovecot/dovecot-auth passdb: driver: passwd-file args: /etc/master.passwd userdb: driver: passwd userdb: driver: passwd-file args: /etc/passwd -- Member - Liberal International This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! http://twitter.com/rootnl2k http://www.facebook.com/dyadallee Australia!! Vote to throw the REpublicans to the sharks!
Re: [Dovecot] 2.0 and vpopmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 17, 2010, at 12:56 PM, Timo Sirainen wrote: > It's in vpopmail 5.5. If you want to keep using 5.4, I guess you could > just remove that line of code.. No specific desire to use 5.4, I'm really just going with what's on the vpopmail site.. 5.5 is labeled as development, so I was somewhat reluctant to jump on that, though it has been around for a while.. I'll see if I can get 5.5 installed and run with that.. Thanks, - --- Jason 'XenoPhage' Frisvold xenoph...@godshell.com - --- "Any sufficiently advanced magic is indistinguishable from technology." - - Niven's Inverse of Clarke's Third Law -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iEYEARECAAYFAkxrK4UACgkQ8CjzPZyTUTSErwCfbEkr5xc6gWoFLw/m1OUZ42Xp OawAn2HpGZ9b3+6igPHLSebWXfN1BzSu =fAYs -END PGP SIGNATURE-
Re: [Dovecot] Using dovecot with vpopmail and mysql auth?
On 8/17/2010 8:39 AM, Aaron Greengrass wrote: Hi, Does anyone happen to know the right strings to do authentication against mysql storing vpopmail data, vs using the vpopmail auth module? I'm trying to get up to both vpopmail 5.5, and dovecot 2.0, and dovecot-auth seems to reliably segfault on the 5.5 vpopmail module. I've tried downgrading vpopmail as well, with less than stellar results. I saw an old article about doing exactly that -- switching from the vpop module, while still using it's DB, but it is both a) old, and b) confusing. Any help you can offer -- or urls in a pinch -- would be appreciated. Addendum I'm using one domain per table. This means I need to probably translate %d into blah_blah instead of blah.blah. An earlier list conversation mentioned this as a possible sql injection point -- I definitely don't want to open up a security hole! I saw the patch to use vpopmail 5.4.30 with dovecot 2.x, I can do that, but ideally I'd like to a) get up to vpopmail 5.5, b) stop using the vpopmail driver and switch to the mysql one, and c) upgrade to dovecot v2. Suggestions? Thanks for your help. Aaron.
Re: [Dovecot] Problem with compile
On 17.8.2010, at 23.11, Mišel Mešnjak wrote: > I have a problem compiling v2.0 of dovecot mail server on one old server > running RHEL 3. > This is error messaage I get (googled for it and have not found anything > useful): > > passdb-vpopmail.o(.text+0x39a): In function `vpopmail_preinit': > /root/dovecot-2.0.0/src/auth/passdb-vpopmail.c:185: undefined reference to > `vauth_load_module' Dovecot v2.0 requires vpopmail v5.5. Although I heard that it crashes with it. You can make it compile with older versions by just commenting out that line. I'm really considering dropping the support for vpopmail completely. It's been nothing but trouble. I can easily understand why Courier dropped support for it. It should still work via checkpassword interface, which at least doesn't change.
[Dovecot] Problem with compile
Hi! I have a problem compiling v2.0 of dovecot mail server on one old server running RHEL 3. This is error messaage I get (googled for it and have not found anything useful): passdb-vpopmail.o(.text+0x39a): In function `vpopmail_preinit': /root/dovecot-2.0.0/src/auth/passdb-vpopmail.c:185: undefined reference to `vauth_load_module' collect2: ld returned 1 exit status make[3]: *** [auth] Error 1 make[3]: Leaving directory `/root/dovecot-2.0.0/src/auth' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/dovecot-2.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/dovecot-2.0.0' make: *** [all] Error 2 Can someone point me in the right direction? Thanks and bye!
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On Tue, 2010-08-17 at 12:28 -0400, Jerrale G wrote: > > *Timo Sirainen and Charles Marcus* > eh Charles Marcus is not a developer, he has nothing to do with Dovecot other than he is a participant of this list
Re: [Dovecot] Delete user data from Dovecot server
On 17.8.2010, at 22.02, Thiago Henrique wrote: > when I add a user in the database, it is automatically created in the > structure of Dovecot at first login. The directories are created on login if the process has enough filesystem permissions to create them. With virtual users sharing a single UID this should be simple. > Is there a easy way to delete a user ? Delete it from your database and rm -rf /var/vmail/domain/user
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On 17.8.2010, at 22.58, Charles Marcus wrote: > But I do echo the sentiments as directed to Timo, who is the primary > (only?) dovecot developer... Stephan Bosch of course also develops Pigeonhole. But yeah, there's not that much cross-coding between these projects. Except when I change Dovecot APIs and force Stephan to update his code. :)
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On 17.8.2010, at 17.28, Jerrale G wrote: > Please, Mr. Sirainen, make a donation link as we have tried to find one on > dovecot.org! There is http://dovecot.org/donate.html, but I usually keep a link there only while I'm out of money (=studying). :)
Re: [Dovecot] \" character in folder name results in strange LIST
On 17.8.2010, at 21.51, Samuel Kvasnica wrote: > On 08/17/2010 07:40 PM, Timo Sirainen wrote: >> >> What errors does it give with that workaround enabled? Because it should >> have fixed your previous errors: > > Timo, just a short additional notice: I looked at your code around the > WORKAROUND_TB_EXTRA_MAILBOX_SEP and it is NOT > related in any way to the bug I observe. It is about trailing separator > on subscriptions Yes. > but the bug I observe is about > misbehaving LIST command for argument "folder/*" which causes failed > resubscription of the subfolders due to parent folder not found. Can you be more specific? What commands does TB send to Dovecot and what does Dovecot reply? > I think this is really a critical issue with LAYOUT=fs preventing many > clients to work correctly. It's been working that way for over 2 years, so it can't be all that critical for many people. Also UW-IMAP has been working that way for a longer time. > It might be related to combination of LAYOUT=fs and DIRNAME=xxx which I > must use, but not sure. I did a couple of tests, and it worked as I expected.
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
Jerrale G wrote: > > *Our gratitude goes to, but not limited to:* > > *Timo Sirainen and Charles Marcus* ??? I am about the furthest thing from a developer of anything, let alone dovecot, as you can get... But I do echo the sentiments as directed to Timo, who is the primary (only?) dovecot developer... Thanks Timo!! -- Best regards, Charles
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
Chris Hobbs wrote: On 8/17/10 9:28 AM, Jerrale G wrote: *Our gratitude goes to, but not limited to:* *Timo Sirainen and Charles Marcus* Please add New Haven Unified School District to the chorus. We migrated away from GroupWise this summer and in addition to getting to use a better suite of products (dovecot+postfix+SOGo), we're saving the district a nice chunk of money. Thank you, I'm sorry that I missed the original post, but United Defense Group, LLP of Studio City, California also uses Dovecot. Although I'm at work, I will also note these Dovecot users: - Music for Humans, Burbank California - Internet Society - Los Angeles Chapter, Los Angeles, California - MyPhotoDiet.com, Providence Rhode Island James Butler
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On Ter, 2010-08-17 at 12:28 -0400, Jerrale G wrote: > With the release of dovecot 2.0, the community of the Dovecot mailling > list, and us at Shelton Computers, would sincerely like to thank the > developers of Dovecot. For, if it were not for you, we would be stuck > with Courier and would not have the impressive features of Sieve, as > opposed to the unmanageable scripts, by end users, of maildrop. > > *Our gratitude goes to, but not limited to:* > > *Timo Sirainen and Charles Marcus* > > > *We apologize if we have missed anyone and ask that EVERYONE using > dovecot would express their thanks and gratitude by signing this thread, > to also include any people beyond the mentioned.* > > Please, Mr. Sirainen, make a donation link as we have tried to find one > on dovecot.org! > Shush, he'll spend it all in vodka and it will be no more bug fixes or new features for a long time. -- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc "I've finally stopped getting dumber" - Paul Erdos epitaph
[Dovecot] Unexpectedly lost message
Hi, We're having some issues with certain messages not being able to be read by Dovecot. Can anyone tell me under what conditions the error messages below could be caused? Aug 17 15:58:26 server.tc.umn.edu imap(user): : [ID 887855 local6.error] Next message unexpectedly lost from 1913995 Aug 17 15:58:26 server.tc.umn.edu last message repeated 2 times Aug 17 15:58:26 server.tc.umn.edu imap(user): : [ID 107833 local6.crit] Panic: file istream.c: line 76: assertion failed: (_stream->skip != _stream->pos) Aug 17 15:58:26 server.tc.umn.edu dovecot: [ID 684838 local6.error] child 13169 (imap) killed with signal 6 Thanks, -- Tom Goerger University of Minnesota - Internet Services
[Dovecot] Delete user data from Dovecot server
Hello, I'm testing Dovecot 2.0. I plan to use Dovecot 2.0 with thousands of domains per server. My user base is under virtual MySQL. when I add a user in the database, it is automatically created in the structure of Dovecot at first login. Is there a easy way to delete a user ? Thank you. -- Atenciosamente, Thiago Henrique (21)2233-5950 ramal 27 Infra Estrutura Linux Hostnet Internet - www.hostnet.com.br Digirati Telecomunicações - www.digirati.com.br
Re: [Dovecot] \" character in folder name results in strange LIST
On 08/17/2010 07:40 PM, Timo Sirainen wrote: > > What errors does it give with that workaround enabled? Because it should > have fixed your previous errors: Timo, just a short additional notice: I looked at your code around the WORKAROUND_TB_EXTRA_MAILBOX_SEP and it is NOT related in any way to the bug I observe. It is about trailing separator on subscriptions but the bug I observe is about misbehaving LIST command for argument "folder/*" which causes failed resubscription of the subfolders due to parent folder not found. I think this is really a critical issue with LAYOUT=fs preventing many clients to work correctly. It might be related to combination of LAYOUT=fs and DIRNAME=xxx which I must use, but not sure.
[Dovecot] Very complex Master User Examples using MySQL
For those who are interested I have posted in the Wiki examples of using master users in very interesting ways. In these example we will create 3 kinds of master users. The first will be users who can read all email for all domains. The next example will be users who can read all email for their domain only. The third example will be users who can read email of domains listed in a separate ownership table. http://wiki2.dovecot.org/Authentication/MasterUsers Go to Advanced SQL Examples at bottom Let me know what you think. In order to actually make this work you'll have to apply this patch Timo just posted: http://hg.dovecot.org/dovecot-2.0/rev/3ba227176cde
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
Tirsdag 17. august 2010 18.28.50 skrev Jerrale G : > With the release of dovecot 2.0, the community of the Dovecot mailling > list, and us at Shelton Computers, would sincerely like to thank the > developers of Dovecot. For, if it were not for you, we would be stuck > with Courier and would not have the impressive features of Sieve, as > opposed to the unmanageable scripts, by end users, of maildrop. > > *Our gratitude goes to, but not limited to:* > > *Timo Sirainen and Charles Marcus* > > > *We apologize if we have missed anyone and ask that EVERYONE using > dovecot would express their thanks and gratitude by signing this thread, > to also include any people beyond the mentioned.* > > Please, Mr. Sirainen, make a donation link as we have tried to find one > on dovecot.org! I much agree. Thanks guys for a wonderful software package. I'm actually basing a large part of my business on it :) Regards, Arne -- Arne K. Haaje | www.drlinux.no T: 69 51 15 52 | M: 92 88 44 66
Re: [Dovecot] dovecot 2.0 convert script
On Tue, 2010-08-17 at 14:49 -0400, Jerrale G wrote: > > Our dovecot 1.2 config, in the end of "auth default" had user=dauth, > which we used for the sockets in /var/run/dovecot, but this conflicted > with the new 2.0's authuser. Doveconf should have remove that user=dauth > but I don't think this will be an issue for anyone else unless they did > their own chrooting as well, which they should know how to undo. What exactly do you mean by this? You had auth default { user = dauth } But with what did it conflict with? It should have changed that to: service auth { user = dauth } Isn't that what you wanted?
[Dovecot] Tricky Master User Query - need MySQL help
OK - I want to do something very tricky with master users and if I get it to work I'm adding it to the wiki for everyone to use. So far I have a MySQL database that servers multiple domains. I can set a flag making someone a domain owner that allows that person to become master of that domain. Here's the query for that. password_query = SELECT user_name, domain_name, password FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND '%d'='%{login_domain}' So - here's where we get tricky. I have another table called "ownership" where I have 2 fields which is a pairing of email addresses (login_id) and domains owned (owned_object). Data might look like this: j...@blow.com domain1.com j...@blow.com domain2.com Since j...@blow.com owns both domain1.com and domain2.com I want him to be able to log in as anyone in those 2 domains as a master user. Examples: t...@domain1.com*joe@blow.com ha...@domain2.com*joe@blow.com So the idea is to create a MySQL query so that if the master user matches the domain part of the login user then it returns true and allows the login. What MySQL query will do that?
Re: [Dovecot] dovecot 2.0 convert script
On 8/15/2010 5:06 PM, Marc Perkel wrote: Since my old config had this: protocols = imap imaps pop3 pop3s ssl_cert_file = /usr/share/ssl/certs/imapd.pem ssl_key_file = /usr/share/ssl/certs/imapd.pem then the convert script should have added ssl = yes Just trying to document all the little issues as I find them. We use SSL and the convert script didn't add ssl=yes but, as Timo said, ssl=yes is the default. Anyway, without ssl=yes even existing, our SSL worked from the start. We did have a slight problem with the convert script though. As of 2.0, dovecot uses a different chrooted user for the login processes. In dovecot 1.2.x we were already doing the same thing in chrooting the login processes; we know our security :) (We keep telling people on here that defining the home directory for each user logging in is a security must, for chrooting that user, as well as implementing the uid and gid differences.) Our dovecot 1.2 config, in the end of "auth default" had user=dauth, which we used for the sockets in /var/run/dovecot, but this conflicted with the new 2.0's authuser. Doveconf should have remove that user=dauth but I don't think this will be an issue for anyone else unless they did their own chrooting as well, which they should know how to undo. Jerrale G. SC Senior Admin
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On 8/17/10 9:28 AM, Jerrale G wrote: *Our gratitude goes to, but not limited to:* *Timo Sirainen and Charles Marcus* Please add New Haven Unified School District to the chorus. We migrated away from GroupWise this summer and in addition to getting to use a better suite of products (dovecot+postfix+SOGo), we're saving the district a nice chunk of money. Thank you, -- Chris Hobbs Director, Technology New Haven Unified School District -- This message was scanned by ESVA and is believed to be clean.
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On 8/17/2010 11:16 AM, Timo Sirainen wrote: On Tue, 2010-08-17 at 10:45 -0700, Marc Perkel wrote: Aug 17 10:42:04 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master user lookup for login: b...@plf.net Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Oh, right, MySQL. I was only testing it with PostgreSQL. This'll fix it: http://hg.dovecot.org/dovecot-2.0/rev/3ba227176cde WORKS!!! Aug 17 11:29:37 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master user lookup for login: b...@plf.net Aug 17 11:29:37 auth: Debug: sql(t...@plf.net,127.0.0.1,master): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='plf.net' Aug 17 11:29:37 auth: Info: passdb(t...@plf.net,127.0.0.1,master): Master user logging in as b...@plf.net Aug 17 11:29:37 auth: Debug: sql(b...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'bill' AND domain_name = 'plf.net' Aug 17 11:29:37 auth: Debug: client out: OK 25 user=b...@plf.net user_name=tom domain_name=plf.net user_name=bill domain_name=plf.net Aug 17 11:29:37 auth: Debug: master out: USER 1 b...@plf.net master_user=...@plf.net Aug 17 11:29:37 imap-login: Info: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32204, secured Aug 17 11:29:37 imap(b...@plf.net): Info: Disconnected: Logged out bytes=28/635 Aug 17 11:29:38 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master user lookup for login: b...@plf.net Aug 17 11:29:38 auth: Debug: sql(t...@plf.net,127.0.0.1,master): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='plf.net' Aug 17 11:29:38 auth: Info: passdb(t...@plf.net,127.0.0.1,master): Master user logging in as b...@plf.net Aug 17 11:29:38 auth: Debug: sql(b...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'bill' AND domain_name = 'plf.net' Aug 17 11:29:38 auth: Debug: client out: OK 27 user=b...@plf.net user_name=tom domain_name=plf.net user_name=bill domain_name=plf.net Aug 17 11:29:38 auth: Debug: master out: USER 1 b...@plf.net master_user=...@plf.net Aug 17 11:29:38 imap-login: Info: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32216, secured Aug 17 11:29:38 imap(b...@plf.net): Info: Disconnected: Logged out bytes=97/497 Now - on to the really tricky stuff.
Re: [Dovecot] Managesieve and Dovecot 2.0: clients incompatible?
On Tue, 2010-08-17 at 14:05 -0400, Jerrale G wrote: > I successfully converted my 1.2.x config and am trying to use > managesieve. This configuration is really for 1.2.x even though it says > for 2.0: http://wiki2.dovecot.org/ManageSieve/Configuration Updated. > Trying to assign the port number is not by using "listen". Anyway, I > just reverted, on the client, to using the default port 2000. The > managesieve client now hangs trying to login and eventually times out. The default port is 4190 now. To change it to 2000, see the updated example.
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On 8/17/2010 1:45 PM, Marc Perkel wrote: On 8/17/2010 10:11 AM, Timo Sirainen wrote: Does it log "Master user lookup for login" if you patch Dovecot with http://hg.dovecot.org/dovecot-2.0/raw-rev/7428338c8df2 ? Ran the patch - here's the results for b...@plf.net*tom@plf.net Aug 17 10:42:04 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master user lookup for login: b...@plf.net Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Aug 17 10:42:04 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND masteradmin='1' Aug 17 10:42:04 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 10:42:06 auth: Debug: client out: FAIL 67 user=...@plf.net Aug 17 10:42:06 imap-login: Info: Aborted login (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=0, secured Again my query is: user_query = SELECT user_name, domain_name FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' password_query = SELECT user_name, domain_name, password FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND '%d'='%{login_domain}' you're not selecting the username LOL. The user query, related to how you are storing your mail and where you are storing it, should be: SELECT CONCAT('/path/to/mail/root/', mailboxes.domain, '/', mailboxes.username, '/' ), AS home, CONCAT('/path/to/mail/root/', mailboxes.domain, '/', mailboxes.username, '/mail' ) AS maildir, CONCAT('/path/to/mail/root/', mailboxes.domain, '/', mailboxes.username, '/sieve' ) AS sieve_dir, CONCAT('*:storage=', mailboxes.quota, 'M') AS quota_rule WHERE user_name=%n AND domain_name=%d AND owns_domain='1' /path/to/mail/root/example.com/johndoe is johndoe's home directory /path/to/mail/root/example.com/johndoe/mail is johndoe's maildirectory, where the mail directories, for imap, are stored and the inbox is stored (unless you defined inbox in dovecot.conf through a namespace or something) /path/to/mail/root/example.com/johndoe/sieve is where the sieve scripts are stored (if you use pigeonhole) *Your mysql userquery should ALWAYS define, at least, your home directory and the mail directory, for dovecot.* If you use mbox or dbox, omit the maildir part but you MUST use the home! The password query should select the password, not the username and domain; correct your thinking of mysql queries! If you have your passwords stored in md5, default_pass_scheme=md5 should be in your mysql config file. Jerrale G. SC Senior Admin
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On Tue, 2010-08-17 at 10:45 -0700, Marc Perkel wrote: > Aug 17 10:42:04 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master > user lookup for login: b...@plf.net > Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT > user_name, domain_name, password FROM users WHERE user_name = 'tom' AND > domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Oh, right, MySQL. I was only testing it with PostgreSQL. This'll fix it: http://hg.dovecot.org/dovecot-2.0/rev/3ba227176cde
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On 8/17/2010 11:08 AM, Mark Moseley wrote: On Tue, Aug 17, 2010 at 9:28 AM, Jerrale G wrote: With the release of dovecot 2.0, the community of the Dovecot mailling list, and us at Shelton Computers, would sincerely like to thank the developers of Dovecot. For, if it were not for you, we would be stuck with Courier and would not have the impressive features of Sieve, as opposed to the unmanageable scripts, by end users, of maildrop. I second that wholeheartedly. Without Timo's excellent software, I'd still be in the IMAP hell of 6 months ago -- before we switched to dovecot. Now I've got no more NetApps straining, no more servers with huge loads and massive I/O wait, and no more customers complaining about sluggish IMAP and webmail. I love it. I think it's time for a donation. Throw a few $$$ their way. Where's the donation page?
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On Tue, Aug 17, 2010 at 9:28 AM, Jerrale G wrote: > > With the release of dovecot 2.0, the community of the Dovecot mailling list, > and us at Shelton Computers, would sincerely like to thank the developers of > Dovecot. For, if it were not for you, we would be stuck with Courier and > would not have the impressive features of Sieve, as opposed to the > unmanageable scripts, by end users, of maildrop. I second that wholeheartedly. Without Timo's excellent software, I'd still be in the IMAP hell of 6 months ago -- before we switched to dovecot. Now I've got no more NetApps straining, no more servers with huge loads and massive I/O wait, and no more customers complaining about sluggish IMAP and webmail. I love it.
[Dovecot] Managesieve and Dovecot 2.0: clients incompatible?
I successfully converted my 1.2.x config and am trying to use managesieve. This configuration is really for 1.2.x even though it says for 2.0: http://wiki2.dovecot.org/ManageSieve/Configuration Trying to assign the port number is not by using "listen". Anyway, I just reverted, on the client, to using the default port 2000. The managesieve client now hangs trying to login and eventually times out. Is the new pigeonhole managesieve incompatible with clients that worked with managesieve 0.11.11? There is no output in the log concerning managesieve from pigeonhole. I guess I could put log=/path/to/a/file in the managesieve part and see what happens. In the old dovecot 1.2, we would get a "managesieve-login" in the log when a client even TRIED to login; now, nothing! -- Jerrale G. SC Senior Admin
Re: [Dovecot] \" character in folder name results in strange LIST
On 08/17/2010 07:40 PM, Timo Sirainen wrote: > > There are other differences between LAYOUT=fs and LAYOUT=maildir++, not > just that one. I guess ideally there wouldn't be any, but for now > LAYOUT=maildir++ works the way Courier/Cyrus does, and LAYOUT=fs works > the way UW-IMAP does. I'm not going to change that at least before v2.1. Thats very, very bad for us, but of course, its your free decision. Actually this should be automaticaly tested by a test-suite for (almost)every config combination and give always consistent results. >> With this bug, I absolutely cannot operate thunderbirds on dovecot in >> such setup (delete, move, rename wont work), so again a big showstopper. :-( >> >> imap_client_workaround does not seem to be related, at least not with >> maildir + Layout=fs > What errors does it give with that workaround enabled? Because it should > have fixed your previous errors: The workaround does not seem to change anything, the parent directory is still listed and Thunderbird gets confused. E.g. during move It first moves the folder and then tries to re-subscribe all its subfolders. But it got the old parent directory listed as subfolder before. So it will fail while trying to resubscribe that one, generate an error message and gui won't update correctly. If this workaround should work, switching it on must prevent listing the parent directory. But that does not seem to happen currently (or I'm doing something wrong...) ... I got down to fs_list_next() in mailbox-list-fs-iter.c which returns wrong info... if nothing helps I do my own patch...
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On 8/17/2010 10:11 AM, Timo Sirainen wrote: Does it log "Master user lookup for login" if you patch Dovecot with http://hg.dovecot.org/dovecot-2.0/raw-rev/7428338c8df2 ? Ran the patch - here's the results for b...@plf.net*tom@plf.net Aug 17 10:42:04 auth: Debug: auth(t...@plf.net,127.0.0.1,master): Master user lookup for login: b...@plf.net Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Aug 17 10:42:04 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 10:42:04 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND masteradmin='1' Aug 17 10:42:04 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 10:42:06 auth: Debug: client out: FAIL 67 user=...@plf.net Aug 17 10:42:06 imap-login: Info: Aborted login (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=0, secured Again my query is: user_query = SELECT user_name, domain_name FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' password_query = SELECT user_name, domain_name, password FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND '%d'='%{login_domain}'
Re: [Dovecot] \" character in folder name results in strange LIST
On Tue, 2010-08-17 at 19:31 +0200, Samuel Kvasnica wrote: > Well, given the fact it is listed ONLY if using LAYOUT=fs (if using > normal maildir layout it works correclty) it IS definitely a dovecot bug. > Whatever the correct behavior is, the result should not depend on > setting LAYOUT=fs => this is not consistent. There are other differences between LAYOUT=fs and LAYOUT=maildir++, not just that one. I guess ideally there wouldn't be any, but for now LAYOUT=maildir++ works the way Courier/Cyrus does, and LAYOUT=fs works the way UW-IMAP does. I'm not going to change that at least before v2.1. > With this bug, I absolutely cannot operate thunderbirds on dovecot in > such setup (delete, move, rename wont work), so again a big showstopper. :-( > > imap_client_workaround does not seem to be related, at least not with > maildir + Layout=fs What errors does it give with that workaround enabled? Because it should have fixed your previous errors: > 12 subscribe "Trash/aaa/" > 12 NO Invalid mailbox name: Trash/aaa/ <=== non-existing child folder, > ERROR > 13 unsubscribe "aaa/" > 13 NO Invalid mailbox name: aaa/ <=== non-existing child folder, ERROR x subscribe Trash/aa/ x OK Subscribe completed. x unsubscribe Trash/aa/ x OK Unsubscribe completed. x delete Trash/aa/ x OK Delete completed. x subscribe Trash/aa/ x NO Mailbox doesn't exist: Trash/aa
Re: [Dovecot] v2.0.0 released
> On Tue, 2010-08-17 at 13:19 -0400, Dennis Clarke wrote: > > > On Tue, 2010-08-17 at 13:15 -0400, Dennis Clarke wrote: > > > > > > > [titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log > > > > This file contains any messages produced by compilers while > > > > running configure, to aid debugging if configure makes a mistake. > > > .. > > > > --with-moduledir=/opt/csw/libexec/dovecot > > > > > > This is wrong. Modules don't belong under libexec. > > > > > > > Where would you like them ? > > Default location would be fine (= lib). Anything except libexec, since > it creates a conflict. I'm doing a recompile and tossing --with-moduledir out :-)
Re: [Dovecot] \" character in folder name results in strange LIST
On 08/17/2010 07:22 PM, Timo Sirainen wrote: > On Sun, 2010-08-15 at 16:50 +0200, Samuel Kvasnica wrote: 12 subscribe "Trash/aaa/" 12 NO Invalid mailbox name: Trash/aaa/ <=== non-existing child folder, ERROR 13 unsubscribe "aaa/" 13 NO Invalid mailbox name: aaa/ <=== non-existing child folder, ERROR >>> Set: >>> >>> imap_client_workarounds = tb-extra-mailbox-sep >>> >> just swapped shortly back to non-fs maildir layout for a test - that one >> works normally. So there must be a bug >> in layout=fs implementation, it is listing the parent directory as child ! > It's not really a bug, it's a feature.. Whether it's a good feature is > less clear. This is anyway what UW-IMAP also does, and what (Al)Pine > wants. And this exact same bug has existed for a long time with Doveocot > +mbox. The tb-extra-mailbox-sep workaround has fixed it for other people > previously.. > Well, given the fact it is listed ONLY if using LAYOUT=fs (if using normal maildir layout it works correclty) it IS definitely a dovecot bug. Whatever the correct behavior is, the result should not depend on setting LAYOUT=fs => this is not consistent. With this bug, I absolutely cannot operate thunderbirds on dovecot in such setup (delete, move, rename wont work), so again a big showstopper. :-( imap_client_workaround does not seem to be related, at least not with maildir + Layout=fs I'm debugging it right now, and it seems very strange, I think theres a nasty bug hidden there...
Re: [Dovecot] Standards of expectations for software installs
Marc Perkel put forth on 8/16/2010 12:22 PM: > No - I'm saying that an upgrade that does exactly the same thing as the > earlier version should "just work" without having to research cryptic > error messages you get after the new software fails to load. What I'm > saying is that Linux should be as easy as Windows. Would you like Linux based operating systems/applications to be as insecure as Windows? Would you like Linux based operating systems/application log entries to be as worthless when attempting to troubleshoot something as with Windows? Would you like Linux based operating systems/applications to change the location of menu items and configuration options with each upgrade just for the sake of "change"? So people don't think "what the hell did I just pay $500 for? Nothing changed!?" Etc, etc, etc. Everything is a trade-off Marc. All the effort that Microsoft puts into making things "easy" takes resources and focus away from other areas, often critical areas. Those other areas are more critical for Linux/Unix systems and applications because people need reliability from them more than they need ease of installation. The Linux world doesn't do everything right, and the MS world doesn't do everything wrong. But overall I think the Linux world tends to strike a better overall balance. It all comes down to expectations. You _expect_ MS things to work a certain way. The Linux world is inherently different. So you shouldn't automatically expect things in the Linux world to work "The Microsoft Way". And frankly you shouldn't want it that way either. -- Stan
Re: [Dovecot] v2.0.0 released
On Tue, 2010-08-17 at 13:19 -0400, Dennis Clarke wrote: > > On Tue, 2010-08-17 at 13:15 -0400, Dennis Clarke wrote: > > > > > [titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log > > > This file contains any messages produced by compilers while > > > running configure, to aid debugging if configure makes a mistake. > > .. > > > --with-moduledir=/opt/csw/libexec/dovecot > > > > This is wrong. Modules don't belong under libexec. > > > > Where would you like them ? Default location would be fine (= lib). Anything except libexec, since it creates a conflict.
Re: [Dovecot] \" character in folder name results in strange LIST
On Sun, 2010-08-15 at 16:50 +0200, Samuel Kvasnica wrote: > >> 12 subscribe "Trash/aaa/" > >> 12 NO Invalid mailbox name: Trash/aaa/ <=== non-existing child folder, > >> ERROR > >> 13 unsubscribe "aaa/" > >> 13 NO Invalid mailbox name: aaa/ <=== non-existing child folder, ERROR > > Set: > > > > imap_client_workarounds = tb-extra-mailbox-sep > > > just swapped shortly back to non-fs maildir layout for a test - that one > works normally. So there must be a bug > in layout=fs implementation, it is listing the parent directory as child ! It's not really a bug, it's a feature.. Whether it's a good feature is less clear. This is anyway what UW-IMAP also does, and what (Al)Pine wants. And this exact same bug has existed for a long time with Doveocot +mbox. The tb-extra-mailbox-sep workaround has fixed it for other people previously..
Re: [Dovecot] authentication failure with known good credentials???
On Sat, 2010-08-14 at 20:46 -0700, Dave Stevens wrote: > I have a problem on my server. To illustrate, I created a new user, > unclewiggly, and set up a password. I then used sent an email from my > usual account. Logging in with my browser I am able to see the inbox, > the mail and contents correctly. I then set up a new instance of > Eudora 7.1 on my windows 7 box with the appropriate login id and check > the account using the correct password. The fetch fails with the > client reporting an authentication failure. Set auth_debug_passwords=yes and look at the log.
Re: [Dovecot] v2.0.0 released
> On Tue, 2010-08-17 at 13:15 -0400, Dennis Clarke wrote: > > > [titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log > > This file contains any messages produced by compilers while > > running configure, to aid debugging if configure makes a mistake. > .. > > --with-moduledir=/opt/csw/libexec/dovecot > > This is wrong. Modules don't belong under libexec. > Where would you like them ?
Re: [Dovecot] v2.0.0 released
On Tue, 2010-08-17 at 13:15 -0400, Dennis Clarke wrote: > [titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. .. > --with-moduledir=/opt/csw/libexec/dovecot This is wrong. Modules don't belong under libexec.
Re: [Dovecot] v2.0.0 released
> On Tue, 2010-08-17 at 17:48 +0100, Timo Sirainen wrote: > > On Tue, 2010-08-17 at 17:32 +0100, Timo Sirainen wrote: > > > > > > test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c > -d "/opt/csw/libexec/dovecot/auth" > > > > > > This "|| install" part seems wrong, but it happens with me too. > But the > > > main problem is that why does test -z fail above? The auth binary > should > > > have been installed there already, so test -z should return > success. Or > > > is the auth file zero bytes long? Something's wrong with that.. > > > > Uh. No, I remembered wrong. test -z tests if the string is empty. > And of > > course the above string isn't empty. And looks like the mkdir is run > > with Linux, but it doesn't report a failure. Umm.. > > Oh, right. The above should be: > > test -z "/opt/csw/lib/dovecot/auth" || /bin/mkdir -p > "/opt/csw/lib/dovecot/auth" > > Why is it libexec and not lib? What parameters did you give to > configure? Looks as if you gave --libdir=/opt/csw/libexec > This may help : [titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Dovecot configure 2.0.0, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --build=sparc-sun-solaris2.8 --host=sparc-sun-solaris2.8 --prefi x=/opt/csw --sysconfdir=/etc/opt/csw/dovecot --localstatedir=/var/opt/csw/doveco t --enable-shared --enable-static --with-ioloop=poll --with-shadow --with-pam -- with-ldap=yes --with-sql=yes --with-mysql --with-sqlite --with-zlib --with-bzlib --with-ssl=openssl --with-storages=mbox,maildir --with-libiconv-prefix=/opt/csw --with-gssapi=yes --with-pgsql --with-libwrap --with-ssldir=/etc/opt/csw/ssl -- with-moduledir=/opt/csw/libexec/dovecot ## - ## ## Platform. ## ## - ## hostname = mimas uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_127721-03 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = mimas Release = 5.8 KernelID = Generic_127721-03 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 1 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/csw/gcc4/bin PATH: /opt/csw/bin PATH: /usr/xpg4/bin PATH: /usr/ccs/bin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /opt/schily/bin
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
Does it log "Master user lookup for login" if you patch Dovecot with http://hg.dovecot.org/dovecot-2.0/raw-rev/7428338c8df2 ?
Re: [Dovecot] v2.0.0 released
> On Tue, 2010-08-17 at 09:34 -0400, Dennis Clarke wrote: > > > libtool: install: ../.././install-sh -c .libs/auth > > /opt/csw/libexec/dovecot/auth > > > > Which sure looks like the file auth being copied into place > > Yes, that's correct. > > > and then right after we get a failure : > > > > libtool: install: ../.././install-sh -c .libs/checkpassword-reply > > /opt/csw/libexec/dovecot/checkpassword-reply > > This is also correct. > > > test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d > "/opt/csw/libexec/dovecot/auth" > > This "|| install" part seems wrong, but it happens with me too. But the > main problem is that why does test -z fail above? The auth binary should > have been installed there already, so test -z should return success. Or > is the auth file zero bytes long? Something's wrong with that.. No it is a real valid Sparc binary : # file /opt/csw/libexec/dovecot/auth /opt/csw/libexec/dovecot/auth: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped I'm going to experiment a bit here ... I have a theory but it will take hours to track down. Dennis
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On 8/17/2010 9:45 AM, Timo Sirainen wrote: On Tue, 2010-08-17 at 08:50 -0700, Marc Perkel wrote: Been trying to track this problem down further. The problem seems to be related to verifying the master user failing. Show the whole dovecot -n output and the whole logs when master user is logging in? You've cut away some stuff I'd like to see. dovecot -n # 2.0.0: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-budarin.1 x86_64 Fedora release 12 (Constantine) simfs auth_debug = yes auth_master_user_separator = * disable_plaintext_auth = no dotlock_use_excl = yes first_valid_uid = 12 info_log_path = /var/log/dovecot.log log_path = /var/log/dovecot.log login_greeting = Computer Tyme Dovecot ready. mail_fsync = never mail_gid = mail mail_location = maildir:/vhome/%d/home/%n:INDEX=/imap-cache/%d-%n mail_uid = mail mmap_disable = yes passdb { args = /etc/dovecot/sql.conf driver = sql } passdb { args = /etc/dovecot/domain-owner-sql.conf driver = sql master = yes pass = yes } passdb { args = /etc/dovecot/masteradmin-sql.conf driver = sql master = yes pass = yes } plugin { xexec = blacklist:/usr/local/dovecot/blacklist.sh %u xexec2 = whitelist:/usr/local/dovecot/whitelist.sh %u xexec3 = average:/usr/local/dovecot/average xexec4 = smtp:/usr/local/dovecot/smtp } protocols = imap pop3 service auth { unix_listener auth-client { mode = 0666 } unix_listener auth-master { mode = 0666 } } service imap-login { process_limit = 800 process_min_avail = 100 service_count = 0 vsz_limit = 64 } service imap { process_limit = 400 } service pop3-login { process_limit = 800 process_min_avail = 40 service_count = 0 vsz_limit = 64 } service pop3 { process_limit = 400 } ssl_cert = user_query = SELECT user_name, domain_name FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' password_query = SELECT user_name, domain_name, password FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' \ AND '%d'='%{login_domain}' Result: Aug 17 09:59:17 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Aug 17 09:59:17 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 09:59:17 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND masteradmin='1' Aug 17 09:59:17 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 09:59:19 auth: Debug: client out: FAIL 10 user=...@plf.net Aug 17 09:59:19 imap-login: Info: Aborted login (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=0, secured Note - I have two different kinds of masters here. I have a masteradmin who can read anyone's email and I have domain owners who can read anyone's email in the same domain. At least that is what I'm hoping to do.
Re: [Dovecot] Using a BSDI 4.X system for Dovecot
On Tue, 2010-08-17 at 00:51 -0600, The Doctor wrote: > Aug 17 00:35:10 doctor dovecot: POP3(user1): Fatal: > setregid(100(user),14(mail)) failed with euid=0(root): Operation not permitted > Aug 17 00:35:15 doctor dovecot: IMAP(user2): Fatal: > setregid(100(user),14(mail)) failed with euid=0(root): Operation not > permitted I think this isn't working with BSDI: > mail_privileged_group: mail Remove it and figure out some other way to handle locking for /var/mail. http://wiki.dovecot.org/MailLocation/Mbox
Re: [Dovecot] pigeonhole and utf-8 error
On Tue, 2010-08-17 at 09:35 +0200, Xavier Pons wrote: > >Aug 17 09:22:40 imap1 dovecot: lmtp(19629,miel): Error: > kea6K484akytTAAAJBW4rA: sieve: msgid= > ><1099311971.505.1282029699154.javamail.open-xcha...@o.uib.es>: failed > to store into mailbox 'atenció': >mailbox name not utf-8: atenció > > dovecot it's working without problem on this folder. > I suppose it's a misconfiguration, but I don't find where... I guess you wrote the script with ISO-8859-x charset or something instead of UTF-8.
Re: [Dovecot] 2.0 and vpopmail
On Mon, 2010-08-16 at 23:18 -0400, Jason 'XenoPhage' Frisvold wrote: > /usr/src/redhat/BUILD/dovecot-2.0.0/src/auth/passdb-vpopmail.c:185: undefined > reference to `vauth_load_module' > > Yes, it's an RPM, that's how I roll. I'm not finding vauth_load_module > anywhere on my system.. I'm running vpopmail 5.4.30 which is, I believe the > latest stable release.. It's in vpopmail 5.5. If you want to keep using 5.4, I guess you could just remove that line of code..
Re: [Dovecot] v2.0.0 released
On Tue, 2010-08-17 at 17:48 +0100, Timo Sirainen wrote: > On Tue, 2010-08-17 at 17:32 +0100, Timo Sirainen wrote: > > > > test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d > > > "/opt/csw/libexec/dovecot/auth" > > > > This "|| install" part seems wrong, but it happens with me too. But the > > main problem is that why does test -z fail above? The auth binary should > > have been installed there already, so test -z should return success. Or > > is the auth file zero bytes long? Something's wrong with that.. > > Uh. No, I remembered wrong. test -z tests if the string is empty. And of > course the above string isn't empty. And looks like the mkdir is run > with Linux, but it doesn't report a failure. Umm.. Oh, right. The above should be: test -z "/opt/csw/lib/dovecot/auth" || /bin/mkdir -p "/opt/csw/lib/dovecot/auth" Why is it libexec and not lib? What parameters did you give to configure? Looks as if you gave --libdir=/opt/csw/libexec
Re: [Dovecot] v2.0.0 released
On Tue, 2010-08-17 at 17:32 +0100, Timo Sirainen wrote: > > test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d > > "/opt/csw/libexec/dovecot/auth" > > This "|| install" part seems wrong, but it happens with me too. But the > main problem is that why does test -z fail above? The auth binary should > have been installed there already, so test -z should return success. Or > is the auth file zero bytes long? Something's wrong with that.. Uh. No, I remembered wrong. test -z tests if the string is empty. And of course the above string isn't empty. And looks like the mkdir is run with Linux, but it doesn't report a failure. Umm..
Re: [Dovecot] Master Login using MySQL problem - %{login_domain}
On Tue, 2010-08-17 at 08:50 -0700, Marc Perkel wrote: > Been trying to track this problem down further. The problem seems to be > related to verifying the master user failing. Show the whole dovecot -n output and the whole logs when master user is logging in? You've cut away some stuff I'd like to see.
Re: [Dovecot] 2.0 not starting
On Tue, 2010-08-17 at 18:36 +0200, Luciano Mannucci wrote: > I had no "listen" directive in my config, though. Maybe the default > changed from "*" to "*, ::"... Yes. IPv6 should be enabled by default nowadays..
Re: [Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
On Tue, 17 Aug 2010 12:28:50 -0400 Jerrale G wrote: > *Our gratitude goes to, but not limited to:* > > *Timo Sirainen and Charles Marcus* > > > *We apologize if we have missed anyone and ask that EVERYONE using > dovecot would express their thanks and gratitude by signing this thread, > to also include any people beyond the mentioned.* We too! luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL/ E-MAIL: posthams...@sublink.sublink.org / \ AND POSTINGS/ WWW: http://www.mannucci.ORG/
Re: [Dovecot] 2.0 not starting
On Tue, 17 Aug 2010 18:13:30 +0200 Luigi Rosa wrote: > Change > > listen = *, :: > > to > > listen = * > Works! I added a "listen = *". I had no "listen" directive in my config, though. Maybe the default changed from "*" to "*, ::"... Many thanks! luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL/ E-MAIL: posthams...@sublink.sublink.org / \ AND POSTINGS/ WWW: http://www.mannucci.ORG/
[Dovecot] Using dovecot with vpopmail and mysql auth?
Hi, Does anyone happen to know the right strings to do authentication against mysql storing vpopmail data, vs using the vpopmail auth module? I'm trying to get up to both vpopmail 5.5, and dovecot 2.0, and dovecot-auth seems to reliably segfault on the 5.5 vpopmail module. I've tried downgrading vpopmail as well, with less than stellar results. I saw an old article about doing exactly that -- switching from the vpop module, while still using it's DB, but it is both a) old, and b) confusing. Any help you can offer -- or urls in a pinch -- would be appreciated.
Re: [Dovecot] v2.0.0 released
On Tue, 2010-08-17 at 09:34 -0400, Dennis Clarke wrote: > libtool: install: ../.././install-sh -c .libs/auth > /opt/csw/libexec/dovecot/auth > > Which sure looks like the file auth being copied into place Yes, that's correct. > and then right after we get a failure : > > libtool: install: ../.././install-sh -c .libs/checkpassword-reply > /opt/csw/libexec/dovecot/checkpassword-reply This is also correct. > test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d > "/opt/csw/libexec/dovecot/auth" This "|| install" part seems wrong, but it happens with me too. But the main problem is that why does test -z fail above? The auth binary should have been installed there already, so test -z should return success. Or is the auth file zero bytes long? Something's wrong with that..
[Dovecot] EVERYONE USING DOVECOT PLEASE SIGN: Thanks, Administrators of Dovecot!
With the release of dovecot 2.0, the community of the Dovecot mailling list, and us at Shelton Computers, would sincerely like to thank the developers of Dovecot. For, if it were not for you, we would be stuck with Courier and would not have the impressive features of Sieve, as opposed to the unmanageable scripts, by end users, of maildrop. *Our gratitude goes to, but not limited to:* *Timo Sirainen and Charles Marcus* *We apologize if we have missed anyone and ask that EVERYONE using dovecot would express their thanks and gratitude by signing this thread, to also include any people beyond the mentioned.* Please, Mr. Sirainen, make a donation link as we have tried to find one on dovecot.org! Sincerely, Jerrale Gayle, Senior Technical Admin of Shelton Computers
Re: [Dovecot] 2.0 not starting
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luciano Mannucci said the following on 17/08/10 18:03: > I have no IPV6 on my machine (as well as no IPX, appletalk... :). Is > there a way to tell dovecot not trying to use non-existing protocols > (or more accurately: not running protocols)? Change listen = *, :: to listen = * So Dovecot will not (try to) use non-existing (or non-configured) protocols. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Sed modo senectus morbus est, carmen vitae immoderatae hic est. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxqtScACgkQ3kWu7Tfl6ZQSQACfWafmVaQ+UkbGoqKvnjS6J67E iBIAoMBFZrtU3cufAitCW6wcZ5p+564K =kgQF -END PGP SIGNATURE-
Re: [Dovecot] 2.0 not starting
On Tue, 17 Aug 2010 16:57:24 +0200 Oliver Eales wrote: > That is a problem with the ipv6 config on your machine. Dovecot tries to > (also) bind to the ipv6 ANY address. Ohh, I see... There is no more --disable-ipv6... I have no IPV6 on my machine (as well as no IPX, appletalk... :). Is there a way to tell dovecot not trying to use non-existing protocols (or more accurately: not running protocols)? Cheers to all, luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL/ E-MAIL: posthams...@sublink.sublink.org / \ AND POSTINGS/ WWW: http://www.mannucci.ORG/
[Dovecot] Master Login using MySQL problem - %{login_domain}
Hi Timo, Been trying to track this problem down further. The problem seems to be related to verifying the master user failing. My passdb looks like this: passdb { driver = sql args = /etc/dovecot/dovecot-domain-owner-sql.conf master = yes pass = yes } dovecot-domain-owner-sql.conf contains: user_query = SELECT user_name, domain_name FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' password_query = SELECT user_name, domain_name, password FROM users WHERE user_name = '%n' AND domain_name = '%d' AND owns_domain='1' AND '%d'='%{login_domain}' In this example - b...@plf.net is an ordinary user. t...@plf.net is a domain owner. Tom wants to read bills email. The login is: b...@plf.net*tom@plf.net This results in t...@plf.net being classified as an unknown user. Aug 17 08:38:30 auth: Debug: sql(t...@plf.net,127.0.0.1): query: SELECT user_name, domain_name, password FROM users WHERE user_name = 'tom' AND domain_name = 'plf.net' AND owns_domain='1' AND 'plf.net'='' Aug 17 08:38:30 auth: Info: sql(t...@plf.net,127.0.0.1): unknown user Aug 17 08:38:32 auth: Debug: client out: FAIL 15 user=...@plf.net Aug 17 08:38:32 imap-login: Info: Aborted login (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=0, secured Note that the query used to determine that t...@plf.net is valid is the password_query and not the user_query resulting in unknown user. I think that's where the problem is.
Re: [Dovecot] 2.0 not starting
Am 17.08.2010 16:47, schrieb Luciano Mannucci: Error: service(pop3-login): listen(::, 110) failed: Address already in use Error: service(imap-login): listen(::, 143) failed: Address already in use Fatal: Failed to start listeners That is a problem with the ipv6 config on your machine. Dovecot tries to (also) bind to the ipv6 ANY address. Regards, Oliver
Re: [Dovecot] Master User Features I'd like to see
On 8/16/2010 2:24 PM, Timo Sirainen wrote: On 16.8.2010, at 22.01, Marc Perkel wrote: But the %{login_domain} evaluates to an empty string as you can see from the results of the debug. What about %{login_user} or %{username}? Hi Timo, Apparently I'm getting different results that you are. I'm trying to think of anything unusual I might be doing. I do have more than one master user db. Perhaps that is the problem? Is there some tests I can run to debug this? passdb { driver = sql args = /etc/dovecot/dovecot-master-sql.conf master = yes pass = yes } passdb { driver = sql args = /etc/dovecot/dovecot-domain-owner-sql.conf master = yes pass = yes }
[Dovecot] 2.0 not starting
Hi everybody, I tried to upgrade my 1.2.13 dovecot to 2.0. The configure/make/install process seemed to work flawlessly. I created the dovenull user, converted my config with #src/config/doveconf -n -c /etc/dovecot.conf > /tmp/dovecot.conf and moved the result manually to /etc/dovecot. By typing "dovecot" (after having stopped the previous instance :), I get: Error: service(pop3-login): listen(::, 110) failed: Address already in use Error: service(imap-login): listen(::, 143) failed: Address already in use Fatal: Failed to start listeners tough nor "netstat -ta" nor "lsof -i" do show anything using port 110 or 143. What did I wrong? Here is my doveconf -n: baobab:/usr/src/local/mail/dovecot/current/dovecot-2.0.0 # doveconf -n # 2.0.0: /etc/dovecot/dovecot.conf # OS: Linux 2.6.27.45-0.1-pae i686 openSUSE 11.1 (i586) ext3 doveconf: Warning: Dovecot was last started using /etc/dovecot.conf, but this config is /etc/dovecot/dovecot.conf auth_cache_size = 3072 auth_debug = yes auth_mechanisms = plain login auth_username_format = %Lu auth_verbose = yes disable_plaintext_auth = no first_valid_gid = 0 first_valid_uid = 100 info_log_path = /var/log/dovecot/logfile.info log_path = /var/log/dovecot/logfile login_greeting = Dovecot at Baobab ready. mail_location = mbox:/var/spool/mailboxes/%u:INBOX=/var/spool/mail/%u:DIRNAME=mbox:INDEX=/var/dovecot_indexes/%u maildir_copy_with_hardlinks = no namespace { inbox = yes location = prefix = separator = . type = private } passdb { driver = pam } plugin { quota = maildir quota_rule = *:storage=300M } protocols = pop3 imap service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = root } service imap-login { inet_listener imaps { address = 212.45.144.44, 212.45.144.70, 192.168.134.44 } process_limit = 512 } service pop3-login { inet_listener pop3s { address = 212.45.144.44, 212.45.144.70, 192.168.134.44 } process_limit = 512 } ssl_ca = http://www.mannucci.ORG/
Re: [Dovecot] v2.0.0 released
- Original Message - From: Timo Sirainen Date: Monday, August 16, 2010 6:31 pm Subject: Re: [Dovecot] v2.0.0 released Cc: Dovecot Mailing List > On 16.8.2010, at 23.25, Dennis Clarke wrote: > > > "imap-match.c", line 199: identifier redeclared: imap_match_dup > > I think someone reported this problem earlier .. but I'm not sure. > Anyway I've no idea why it would complain about this. > > > So that stops me while I figure out what the issue is with imap-match.h > > and/or imap-match.c in the Solaris world while using Sun Studio 11. > > I heard it compiles ok with Sun Studio 12.1. Seems to compile fine with GCC 4.5.1 and binutils 2.20.1.20100303. However the install process then fails repeatedly. Any thoughts on this ? http://www.blastwave.org/docs/dovecot_2.0.0_install-FAIL.txt The same log with numbers lines is here : http://www.blastwave.org/docs/dovecot_2.0.0_install-FAIL-N.txt Where I see on line 354 : libtool: install: ../.././install-sh -c .libs/auth /opt/csw/libexec/dovecot/auth Which sure looks like the file auth being copied into place and then right after we get a failure : libtool: install: ../.././install-sh -c .libs/checkpassword-reply /opt/csw/libexec/dovecot/checkpassword-reply test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d "/opt/csw/libexec/dovecot/auth" mkdir: "/opt/csw/libexec/dovecot/auth": Exists but is not a directory mkdir: "/opt/csw/libexec/dovecot/auth": Exists but is not a directory On line 372 onwards I try again with a whole new compile and install fails again. I think the compile went fine but getting the results into place on the filesystem is turning out to be a real chore. Certainly not "make install" simple. Dennis
Re: [Dovecot] cluster with dsync mirror
On Mon, Aug 16, 2010 at 9:27 AM, Patrick Domack wrote: > I used a setup like this, to sync mail between 3 different datacenters, in a > multimaster setup. > > For this I used unison, running every 28seconds. And it worked well for two > years, before I changed to a better approach. Older versions of dovecot > didn't like the moves very much (pre 1.0), but when I upgraded it to 1.0.x > versions, it seemed to be happy. I discontinued it before 1.1 was out. I am interested in what you are using now as well. Did you always have your users connect to the same system? Thank you for your response. Bryan
Re: [Dovecot] v2.0.0 released
On Aug 16, 2010, at 7:49 AM, Timo Sirainen wrote: http://dovecot.org/releases/2.0/dovecot-2.0.0.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.0.tar.gz.sig A new dovecot2 port Mac and/or MacPorts users here. http://trac.macports.org/ticket/26111 Regards, Bradley Giesbrecht
[Dovecot] Using a BSDI 4.X system for Dovecot
It might be old but still worked. I am using Dovecot 1.2.11 hoping to replace QualComm Eudora and Cyrus IMAP. dovecot -n yields base_dir: /var/run/dovecot/ protocols: imap imaps pop3 pop3s ssl_listen: 204.209.81.1 ssl_cipher_list: ALL:!LOW:!SSLv2 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/dovecot/libexec/dovecot/pop3-login mail_max_userip_connections(default): 10 mail_max_userip_connections(imap): 10 mail_max_userip_connections(pop3): 3 first_valid_uid: 100 last_valid_uid: 65535 last_valid_gid: 65535 mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u dbox_rotate_days: 0 mail_executable(default): /usr/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/dovecot/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): auth default: executable: /usr/contrib/libexec/dovecot/dovecot-auth passdb: driver: passwd-file args: /etc/master.passwd userdb: driver: passwd userdb: driver: passwd-file args: /etc/passwd And running SSL here In my logs I see Aug 17 00:35:10 doctor dovecot: POP3(user1): Fatal: setregid(100(user),14(mail)) failed with euid=0(root): Operation not permitted Aug 17 00:35:15 doctor dovecot: IMAP(user2): Fatal: setregid(100(user),14(mail)) failed with euid=0(root): Operation not permitted Question: What are am I not doing right? -- Member - Liberal International This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! http://twitter.com/rootnl2k http://www.facebook.com/dyadallee Australia!! Vote to throw the REpublicans to the sharks!
[Dovecot] pigeonhole and utf-8 error
Hi, now, I'm working with the last version of dovecot and pigeonhole sieve, and when apply a sieve filter on a new message, and it try to move this mail to a folder with special character like accent give me the error 'mailbox name not utf-8: ...' >Aug 17 09:22:40 imap1 dovecot: lmtp(19629,miel): Error: kea6K484akytTAAAJBW4rA: sieve: msgid= ><1099311971.505.1282029699154.javamail.open-xcha...@o.uib.es>: failed to store into mailbox 'atenció': >mailbox name not utf-8: atenció dovecot it's working without problem on this folder. I suppose it's a misconfiguration, but I don't find where... Xavier