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
dhottinger@harrisonburg.k12.va.us 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
Quoting Charles Marcus CMarcus@Media-Brokers.com:
dhottinger@harrisonburg.k12.va.us 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
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
Quoting dhottinger@harrisonburg.k12.va.us:
Quoting Charles Marcus CMarcus@Media-Brokers.com:
dhottinger@harrisonburg.k12.va.us 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
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
Not sure if that is what I want. When setting mailbox_location to : mail_location = mbox:~/mail:INBOX=/var/mail/%u
Users have inbox, trash and sent folder, but none of the other folders
that they have created in /home/Username.
Their home is defined in ldap.
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
dhottinger@harrisonburg.k12.va.us wrote:
Not sure if that is what I want. When setting mailbox_location to : mail_location = mbox:~/mail:INBOX=/var/mail/%u
Users have inbox, trash and sent folder, but none of the other folders that they have created in /home/Username.
Their home is defined in ldap.
If their mailboxes are in /home/username, which I assume is their proper home directory, shouldn't your mail_location be mbox:~/:INBOX=/var/mail/%u ?
dhottinger@harrisonburg.k12.va.us 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
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Quoting John Peacock jpeacock@rowman.com:
dhottinger@harrisonburg.k12.va.us 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
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
They are for a fact invisible. I tried to subscribe to them. They
dont show up. However, new folders can be created. Looks like
dovecot created a folder in /home/user named mail, and Maildir. mail
has userfolders in it and Maildir has their inbox. Does this sound
right? Currently my users inbox is /var/mail/spool/mail.
ddh
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
dhottinger@harrisonburg.k12.va.us wrote:
They are for a fact invisible. I tried to subscribe to them. They dont show up.
Then indeed you have the wrong mail_location directive in the configuration file. You should follow all of the steps listed here:
http://wiki.dovecot.org/TestInstallation
starting with step 5. Unless someone on the list has *exactly* the same setup as you do, I would perform those tests yourself, since anyone random user's suggestion for mail_location should be considered a WAG (wild a$$ed guess).
However, new folders can be created. Looks like dovecot created a folder in /home/user named mail, and Maildir. mail has userfolders in it and Maildir has their inbox. Does this sound right?
Currently my users inbox is /var/mail/spool/mail.
For one thing, if your existing "user created folders" exist in the top level /home/username folder, then this is certainly wrong:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
since that would store the user folders inside a directory called "mail" in their home directory (which is what you found, right?).
One last suggestion, make sure that you restart dovecot completely after making changes to the config file; it sounds like at somepoint you had something else in mail_location, which is why you have a Maildir.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Quoting John Peacock jpeacock@rowman.com:
dhottinger@harrisonburg.k12.va.us wrote:
They are for a fact invisible. I tried to subscribe to them. They
dont show up.Then indeed you have the wrong mail_location directive in the configuration file. You should follow all of the steps listed here:
http://wiki.dovecot.org/TestInstallation
starting with step 5. Unless someone on the list has *exactly* the same setup as you do, I would perform those tests yourself, since anyone random user's suggestion for mail_location should be considered a WAG (wild a$$ed guess).
However, new folders can be created. Looks like dovecot created a
folder in /home/user named mail, and Maildir. mail has userfolders
in it and Maildir has their inbox. Does this sound right?
Currently my users inbox is /var/mail/spool/mail.For one thing, if your existing "user created folders" exist in the top level /home/username folder, then this is certainly wrong:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
since that would store the user folders inside a directory called "mail" in their home directory (which is what you found, right?).
One last suggestion, make sure that you restart dovecot completely after making changes to the config file; it sounds like at somepoint you had something else in mail_location, which is why you have a Maildir.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Yes,
At first I went with the default settings and let dovecot guess about
the mail location (so that is why it created the Maildir file which
has these files in it: cur dovecot.index dovecot.index.cache
dovecot.index.log new tmp ). My mail is actually at /var/mail
(linked to /mail for quotas). I like wag. I'll have to use that also.
thanks, ddh
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
Quoting John Peacock jpeacock@rowman.com:
dhottinger@harrisonburg.k12.va.us wrote:
They are for a fact invisible. I tried to subscribe to them. They
dont show up.Then indeed you have the wrong mail_location directive in the configuration file. You should follow all of the steps listed here:
http://wiki.dovecot.org/TestInstallation
starting with step 5. Unless someone on the list has *exactly* the same setup as you do, I would perform those tests yourself, since anyone random user's suggestion for mail_location should be considered a WAG (wild a$$ed guess).
However, new folders can be created. Looks like dovecot created a
folder in /home/user named mail, and Maildir. mail has userfolders
in it and Maildir has their inbox. Does this sound right?
Currently my users inbox is /var/mail/spool/mail.For one thing, if your existing "user created folders" exist in the top level /home/username folder, then this is certainly wrong:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
since that would store the user folders inside a directory called "mail" in their home directory (which is what you found, right?).
One last suggestion, make sure that you restart dovecot completely after making changes to the config file; it sounds like at somepoint you had something else in mail_location, which is why you have a Maildir.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Looks like dovecot is indeed looking to deep:
Apr 30 14:05:44 mail dovecot: IMAP(dhottinger): Effective uid=3548,
gid=3548, home=/home/dhottinger
Apr 30 14:05:44 mail dovecot: IMAP(dhottinger): mbox:
data=/home/dhottinger/mail:INBOX=/var/mail/dhottinger
Apr 30 14:05:44 mail dovecot: IMAP(dhottinger): mbox:
root=/home/dhottinger/mail, index=/home/dhottinger/mail,
inbox=/var/mail/dhottinger
How do I back it up to /home/dhottinger using mail_location =
mbox:~/mail:INBOX=/var/mail/%u
Or can I define /home/username?
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
John Peacock spake the following on 4/30/2007 10:30 AM:
dhottinger@harrisonburg.k12.va.us 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!!!!
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: presented in the folder list.
- The purpose of subscription lists is to restrict the folders
- 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.
- 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.
- 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.
- 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.......
dhottinger@harrisonburg.k12.va.us wrote:
Quoting Charles Marcus CMarcus@Media-Brokers.com:
dhottinger@harrisonburg.k12.va.us 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
participants (6)
-
Charles Marcus
-
dhottinger@harrisonburg.k12.va.us
-
John Peacock
-
Justin McAleer
-
Scott Silva
-
Stewart Dean