Re: [Dovecot] Auth(default): add one userdb - what does this mean?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 27 Apr 2007, Wade Smart wrote: I got dovecot to start but then I had to reboot and now Im receiving errors: Apr 27 19:48:18 wadesmart dovecot: auth(default): You'll need to add at least one userdb Dovecot differs between Authentification service (aka passdb) and user information service (aka userdb). It looks like that you have no userdb { } block in your config. See: http://wiki.dovecot.org/UserDatabase or post your dovecot -n ouput. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRjWfji9SORjhbDpvAQJ0Swf/WTcL23HclHrXJNMX/yhq7TjM6kVltR38 Ns5OHVXCjbDyTftyGQ1E83MfiMN/uPckzFRm8f7peXxkM92L87NEr8Ivjfj4u2P5 O8Ec3KTNnkyg3ABDvJDKTRcJm5OiQ8F2HPCEHslSsM82WUb41g3qzjt5MZdDSJOD 3OpKfc731xTTGVnEau9Zx92P7GNWUTvYyqjjmmKbYagDcpZKnVn6Gm6YINrXsNsh 5mYm+Os13ZCaoKFY1fqVZTSv5XwSD1t/yneJI70fZRrOo5rE4SEMOiUZ+ORgkMZS erkwLTGfN8odwyU9HGD04nb8SD8DtNfMppm7sRpt6jh7h3CvkO0VSQ== =Uu05 -END PGP SIGNATURE-
[Dovecot] Warning about NFS but using local fs for INDEX
I am playing around with dovecot and want to use local filesystem for indexing. But whenever I open a new imap connection the following warning is shown: Apr 30 10:14:42 beira dovecot: Mailbox indexes in /app/home/gasi are in NFS mount. You must set mmap_disable=yes to avoid index corruptions. If you're sure this check was wrong, set nfs_check=no. /app/home is a NFS mounted filesystem, but I want dovecot to use /export/dovecot/gasi for indexing (See namespaces below). I shurely can follow the hints(nfs_check=no), but I am not shure if I did something wrong or maybe someday will change the configuration and forget to enable the nfs check. dovecot version: dovecot-1.0-1.2.rc15.el5 on CentOS 5.0 (with all updates). [EMAIL PROTECTED] etc]# dovecot -n # /etc/dovecot.conf syslog_facility: local6 login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 namespace: type: private separator: / location: mbox:~/Mail:INBOX=/var/spool/mail/%u:INDEX=/export/dovecot/%u inbox: yes namespace: type: private separator: / prefix: #home-tmp/ location: mbox:~:INDEX=/export/dovecot/%u auth default: passdb: driver: pam args: imap userdb: driver: passwd
Re: [Dovecot] Sieve notify error?
Láďa wrote: Ok, I will answer to myself :-) Just take a look here: http://article.gmane.org/gmane.mail.imap.dovecot/20813/match= and thanks for the patch, it works now :-) Actually it would be nice to include this patch in dovecot sieve CVS version, as originally it contains just unimplemented notify method. btw: nice to see reports saying it's working as expected:) Uldis
Re: [Dovecot] Any plans for storing messages on a database?
Any plans to have Dovecot store emails in a database? NAS/SAN devices which do automatic replication to a second device are extremely expensive. gluster is looking extremely interesting although it's rather new. I've tried the beta of file replication and it works, the non-beta is due out today.. John
[Dovecot] dovecot for imap
I have been using uw-imap on my mailserver. I tried briefly to use dovecot with the default config. It seem to work faster, but users imap folders (user accounts are in openldap) disappeared. Is there a sample config somewhere I can look at to get some idea how to configure dovecot so all the imap folders users created will appear when I make the switch? Most of my users login via Horde. Server is an FC6 box, dovecot installed via yum install. -- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
Re: [Dovecot] dovecot for imap
John Peacock spake the following on 4/30/2007 10:30 AM: [EMAIL PROTECTED] wrote: Users have inbox, trash and sent folder, but none of the other folders that they have created in /home/Username. Are the folders /invisible/ or not /subscribed/? Have one of the users go into the Horde folder subscribe page and see if their personal folders are displayed there. With other clients, e.g. Thunderbird, it is necessary to force the client to resubscribe to the folders when changing things. HTH John Part of the migration docs does mention copying/renaming .mailboxlist to .subscriptions and editing to suit. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't
Re: [Dovecot] dovecot for imap
If you mean the folders (as opposed to the inbox) of a user, this is the way I understand the interaction between the subscription list and folder displays: 1) The purpose of subscription lists is to restrict the folders presented in the folder list. 2) I think that the default is for IMAP to look for use and use for a subscription list. There is, on some clients, a check box to disable subscription lists AND SHOW ALL FOLDERS, but this is, by default, set to enable, so that the IMAP client/server interaction is to look and use a subscription list. This disablement configuration check box is buried 3 levels down and not easy to find. 3) Since the subscription lists under UWIMAP have a different name (unless you've copied the content over into the name that DC is looking for), Dovecot does not find it and does not display folders. 4) After banging around awhile, the users start laboriously checking all the subscription boxes in order to see their folders. In using the subscription list to SEE folders, they are using them exactly backwards. What they should be doing is (in a box hidden in advanced config) turning off subscription lists...but that's hard to find. 5) Everybody is aggravated Since sometimes the folders displayed can weirdly not match what is in the old subscription list OR there can be multiple subscripiton list scattered around the user's homedir, a co-worker here had a bright idea: when migrating from UWIMAP, don't copy the existing subscription list to the .subscriptions file that DC wants, instead do this: ls -1 ~/mail ~/mail/.subscriptions. After migration, all users should see all folders...and the few that actually use subscription lists to restrict what they see can be dealt with easily. That's how I see it...but maybe I'm getting it wrong... [EMAIL PROTECTED] wrote: Quoting Charles Marcus [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: I have been using uw-imap on my mailserver. I tried briefly to use dovecot with the default config. It seem to work faster, but users imap folders (user accounts are in openldap) disappeared. Is there a sample config somewhere I can look at to get some idea how to configure dovecot so all the imap folders users created will appear when I make the switch? Most of my users login via Horde. Server is an FC6 box, dovecot installed via yum install. Google is your friend: http://wiki.dovecot.org/MissingMailboxes -- Best regards, Charles Sort of missed that when looking at the wiki. Sorry, ddh
Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230
On Mon, 2007-04-23 at 12:07 -0700, Troy Engel wrote: Try running the script under strace (i.e. 'strace -e trace=file perl /script.pl') or truss to watch the perl script and see what file or directory it's trying to open. That should provide a quick clue. I was just testing the migration script, encountered the same issue and just added a print before the open || die at line 230. It tries to open the file Maildir/courierimapkeywords/:list which seems to be missing and probably not mandatory. I'm on Courier-IMAP 4.1.1. The patch below solves this. Is this a bug in the script? --- courier-dovecot-migrate.pl Tue Apr 3 05:48:33 2007 +++ courier-dovecot-migrate.pl Tue May 1 02:50:24 2007 @@ -227,7 +227,7 @@ my (%keywords, %files); my $f; - open ($f, $keyword_dir/:list) || die $!; + if (open ($f, $keyword_dir/:list)) { # read keyword names while ($f) { chomp $_; @@ -247,7 +247,7 @@ } } close $f; - + } # read updates from the directory my %updates; foreach ($keyword_dir/*) { ciao Luca
Re: [Dovecot] [courier-dovecot-migrate.pl] - No such file or directory at courier-dovecot-migrate.pl line 230
Luca Corti wrote: I was just testing the migration script, encountered the same issue and just added a print before the open || die at line 230. It tries to open the file Maildir/courierimapkeywords/:list which seems to be missing and probably not mandatory. Aha, thanks -- I too encountered the problem this weekend (deployed Dovecot server to production, migrated all our users) and noticed it was with the accounts that were either very new or never used; I suspect the assumption that this file is there is based on the account being in active use with Courier. -te -- Troy Engel | Systems Engineer Fluid Inc. | http://www.fluid.com