Re: [Dovecot] UW-IMAP to Dovecot conversion - How to migrate the folders?
On Mon, Aug 20, 2007 at 03:21:20PM -0700, Patrick - South Valley Internet wrote: We just migrated away from our AIX machines which were running Postfix and UW-IMAP. We're now running Postfix with Dovecot. I already converted everyone's mbox file to maildir, but now I'm having a little troubles with how to exactly populate their IMAP folders. People are saying they cannot see their folders. These 'folders' they are talking about can be found in their /home directory. We just moved from HPUX to linux and there we had the problem, that with IMAP and UW-IMAPd you had to specify a Folder Path in the client. With Dovecot and Maildir you don't need this. Check if your users have set this folder path. That solved a lot of problems here. Philipp -- If you have problems in Windows: REBOOT If you have problems in Linux: BE ROOT
[Dovecot] userdb override?
Hi, I used to change the mailbox root for some users using a custom userdb file which contains lines like: doe::2:200::/u/doe::userdb_mail=mbox:/u/doe/Mail:INBOX=/var/mail/%u The logfiles shows the mail location stays default ( rc15 worked ): --- dovecot: Aug 21 09:43:49 Info: auth(default): master out: USER 250 doe system_user=doe uid=20324 gid=200 home=/u/doe dovecot: Aug 21 09:43:49 Info: imap-login: Login: user=doe dovecot: Aug 21 09:43:49 Info: IMAP(doe): Effective uid=2, gid=200, home=/u/doe dovecot: Aug 21 09:43:49 Info: IMAP(doe): mbox: data=/u/doe/:INBOX=/var/mail/doe dovecot: Aug 21 09:43:49 Info: IMAP(doe): mbox: root=/u/doe, index=/u/doe, inbox=/var/mail/doe --- Configuration: # 1.0.3: etc/dovecot.conf mail_location: mbox:~/:INBOX=/var/mail/%u auth default: mechanisms: plain login digest-md5 cram-md5 ntlm verbose: yes debug: yes passdb: driver: passwd-file args: /etc/userdb_extra passdb: driver: pam userdb: driver: passwd args: /etc/userdb_extra userdb: driver: passwd-file args: /etc/userdb_extra -- Leroy
Re: [Dovecot] userdb override? [SOLVED]
userdb: driver: passwd args: /etc/userdb_extra userdb: driver: passwd-file args: /etc/userdb_extra Got it working again. The userdb driver: passwd shouldnt point to the userdb_extra file and the passwd-file should be configured first. The sequence does matter, after the first hit it doesnt look futher. -- Leroy
Re: [Dovecot] userdb override?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 21 Aug 2007, Leroy van Logchem wrote: passdb: driver: passwd-file args: /etc/userdb_extra passdb: driver: pam userdb: driver: passwd args: /etc/userdb_extra userdb: driver: passwd-file args: /etc/userdb_extra Dunno if it matters, but you've used passwd with the file first, try using passwd-file before the passwd driver. BTW: passdb and userdb are not consistent. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsqnBS9SORjhbDpvAQIxAQf/Y60zyTXZIpXFq5b7629S70i4twQgLCzz G2jsIvjyagjHfDSqh4GRo1zrSZeoomCi0ELHHfgChjXuNhsiK9WswxXpH2lcSGGX oL5OFUzOhxnjgJnfsHuYNj6gF20stLfyIyQ1lH60fKDzkNkbt0khTF6lc6BGrIIo rzuErDt/gy7t6NIqYlLtRIFxSivKi2QyEnR8kow/KVweIvPz6bxeF3NdRM3RmpZy 5UVCWrx2MHD7ZBFt8KtrvkjQ16M8PBXdiujiqLAo+oEnDBtp/gi/Dt+AO7XE5Iv8 O6ZZazDhsXMNhTb0TUj3gaTSFFAf4L+3TOqdflJGyxYS+3EWFIEiHg== =3+Q+ -END PGP SIGNATURE-
Re: [Dovecot] Subscriptions - delivering to different folders
May be wrong (am I?), but i think that perhaps you'are looking at the wrong hammer. If I had to do that i'd use the lda (e.g procmail, modifing .procmailrc in the backup user homedir) to achieve that. My half cent, Luis bichumo escribió: Hi,
[Dovecot] Exim-dovecot-Horde/imp-Mysql
Dear all, I'm running a linuxbox with ' Dovecot-Exim-horde/IMP- Mysql ', this is a very good combination and works excellent for the system users. Now I want to change the configuration and authenticate against the mysql database from horde. That way it is much easy for me to create (virtual) mail users. I also want to use the mail alias of the horde users for Exim and Dovecot. My questions are; is it possible to use the horde mysql database for this? And is it also possible for the mail alias of horde? If this is possible, is there a howto of this configuration? The packages i'm using are: Exim 4.67 Dovecot 1:1.0.3 Horde 3.1.4 Mysql 5.0.45 PHP 5.2.3 -- Met vriendelijke groet / Kind regards, André Eisvogel
Re: [Dovecot] UW-IMAP to Dovecot conversion - How to migrate the folders?
Kyle Wheeler wrote: On Monday, August 20 at 04:07 PM, quoth Patrick - South Valley Internet: I have, but it didn't do anything that I could tell. I tried resyncing my IMAP but I didn't see the new folder. Does it matter that the UW-IMAP folders are in mbox-like format? It appears each folder is a single file, similar to mbox format. Yeah, it does matter. Dovecot doesn't allow you to mix-and-match different mail storage formats very easily. You may be able to set something like that up with the Namespaces support in Dovecot, but the easiest thing to do is to convert your mbox files into Maildir. ~Kyle Thanks Kyle, but how do I convert the mbox-like IMAP folders into something Dovecot can read with the new config? Patrick
Re: [Dovecot] UW-IMAP to Dovecot conversion - How to migrate the folders?
Philipp Kolmann wrote: On Mon, Aug 20, 2007 at 03:21:20PM -0700, Patrick - South Valley Internet wrote: We just migrated away from our AIX machines which were running Postfix and UW-IMAP. We're now running Postfix with Dovecot. I already converted everyone's mbox file to maildir, but now I'm having a little troubles with how to exactly populate their IMAP folders. People are saying they cannot see their folders. These 'folders' they are talking about can be found in their /home directory. We just moved from HPUX to linux and there we had the problem, that with IMAP and UW-IMAPd you had to specify a Folder Path in the client. With Dovecot and Maildir you don't need this. Check if your users have set this folder path. That solved a lot of problems here. Philipp Hi Philipp, Our users are using Outlook Express and Outlook. I just set up an IMAP account that is having the issue and I didn't specify any folders. I just used the defaults. What's even more odd is that when I created a new folder within Outlook Express, I see it in /home/USERNAME/Maildir/subscriptions, but I don't see the folder anywhere...how does Dovecot see these IMAP folders? Is there some sort of tag that is contained within each Maildir email that tells what folder it goes in to? Patrick
Re: [Dovecot] Imap service and quota
Hi Miguel, On Tue, 21 Aug 2007 11:50:10 -0600 Miguel [EMAIL PROTECTED] wrote: Hi, i have just migrated from courier-imap to dovecot. im using it with vpopmail, the pop service is working ok but the imap service for imp webmail is not writing the quota information to the maildirsize file, as recommended in the docs, i have this in dovecot.conf : plugin { # Quota plugin. Multiple backends are supported: # dirsize: Find and sum all the files found from mail directory. #Extremely SLOW with Maildir. It'll eat your CPU and disk I/O. # dict: Keep quota stored in dictionary (eg. SQL) # maildir: Maildir++ quota # fs: Read-only support for filesystem quota quota = maildir } This only happend with imp/imap, there is not problem using a pop client Regards, Have you added the quota plugin to the imap service? As far as I've understood the docs it needs to be in every service. However, I'm new to dovecot, too, so I may be wrong. Baltasar -- _ FORMER 03 GmbH _ infanteriestra§e 19 haus 6 eg _ 80797 muenchen _ www.former03.de
[Dovecot] maildir question
If I copy message files (from a command prompt) will dovecot get upset or confused? Do I need to delete index files or anything like that? I ask because I need to restore some messages from a backup, but not restore the entire maildir. I tried some the other day as a test, but the user is saying that they didn't appear. TB ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **
Re: [Dovecot] maildir question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 22, 2007 at 10:36:38AM +1000, Tim Bates wrote: If I copy message files (from a command prompt) will dovecot get upset or confused? Dovecot is supposed to cope just fine. See http://www.dovecot.org/list/dovecot/2007-August/024601.html Do I need to delete index files or anything like that? I don't know about maildir (I'm using mbox), but I'd expect Dovecot to reindex whenever it sees the directory more recent than the index file. I ask because I need to restore some messages from a backup, but not restore the entire maildir. I tried some the other day as a test, but the user is saying that they didn't appear. Have you checked the creation dates of the maildir and of the corresponding index? Regards - -- tomás -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGy7ioBcgs9XrR2kYRAnOrAJwI+J4qYYDgTd0NmaqnbxAxq2/A+QCfS2YI 17XpT1HZhmdCaK3xLynQIDk= =6nvK -END PGP SIGNATURE-
Re: [Dovecot] maildir question
Tim Bates wrote: If I copy message files (from a command prompt) will dovecot get upset or confused? Do I need to delete index files or anything like that? I ask because I need to restore some messages from a backup, but not restore the entire maildir. I tried some the other day as a test, but the user is saying that they didn't appear. It's part of how Maildir is designed. Since Dovecot can quite happily deal with other agents (user or delivery) meddling with the files and moving them about, it will also happily deal with new messages arriving magically. -- Curtis Maloney [EMAIL PROTECTED]
Re: [Dovecot] maildir question
Curtis Maloney wrote: Tim Bates wrote: If I copy message files (from a command prompt) will dovecot get upset or confused? Do I need to delete index files or anything like that? I ask because I need to restore some messages from a backup, but not restore the entire maildir. I tried some the other day as a test, but the user is saying that they didn't appear. It's part of how Maildir is designed. Since Dovecot can quite happily deal with other agents (user or delivery) meddling with the files and moving them about, it will also happily deal with new messages arriving magically. Cool. That's good to know. I got word back that it showed in our webmail so it appears to be the client they are using (Outlook of course). TB ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **