[Dovecot] Silly newbie questions...
Hi,
I'm relatively new to dovecot, less than 48 hours, and I've ran in to a few bugs in the installation/configuration process.
Here's my set up.
I have my own domain. Within the domain, I have a couple of Linux boxes. So I control both my primary and secondary mail servers.
My Linux boxes are a mixture of SuSE 9.2, 9.3 and 10.0 (All based on age of the hardware.)
I'd like to use Postfix for my MTA, which I have up and running, but I'd also like to add an IMAP server (hence dovecot) so I can get my mail from any of my PCs and my blackberry.)
On my main mail server, I have KDE running and it uses ~/Mail/inbox/(cur,new,...)
When I tried to use KDE on my other Linux server, I got it to authenticate and I could see the folders, but I couldn't see any of the mail. (Its all in cur subdirectory.)
Now I did notice that when Postfix gets a mail message, its placed in /var/spool/mail/msegel which would imply its using an mbox format.
So what am I missing?
TIA!
-Mike
Michael Segel Principal MSCC
First... are you going to use maildir (each email is a separate file) or mbox (all mail for a particular folder is in one file)? Sounds like you have postfix set up for mbox and dovecot set up for maildir. Both postfix and dovecot need to be setup for the same mailbox storage format. Please let us know which format you want to use. After that the setup is easy. By the way, for general email I would recommend maildir. I personally only use mbox for mailing list archives.
Awaiting your response...
-- Andy
Michael Segel wrote:
Hi,
I'm relatively new to dovecot, less than 48 hours, and I've ran in to a few bugs in the installation/configuration process.
Here's my set up.
I have my own domain. Within the domain, I have a couple of Linux boxes. So I control both my primary and secondary mail servers.
My Linux boxes are a mixture of SuSE 9.2, 9.3 and 10.0 (All based on age of the hardware.)
I'd like to use Postfix for my MTA, which I have up and running, but I'd also like to add an IMAP server (hence dovecot) so I can get my mail from any of my PCs and my blackberry.)
On my main mail server, I have KDE running and it uses ~/Mail/inbox/(cur,new,...)
When I tried to use KDE on my other Linux server, I got it to authenticate and I could see the folders, but I couldn't see any of the mail. (Its all in cur subdirectory.)
Now I did notice that when Postfix gets a mail message, its placed in /var/spool/mail/msegel which would imply its using an mbox format.
So what am I missing?
TIA!
-Mike
On Thursday 17 November 2005 14:40, Andy Cravens wrote:
First... are you going to use maildir (each email is a separate file) or mbox (all mail for a particular folder is in one file)? Sounds like you have postfix set up for mbox and dovecot set up for maildir. Both postfix and dovecot need to be setup for the same mailbox storage format. Please let us know which format you want to use. After that the setup is easy. By the way, for general email I would recommend maildir. I personally only use mbox for mailing list archives.
Awaiting your response...
-- Andy
Well thats the thing. I'm looking at my KDE Contact and its storing everything in my ~/Mail directory.
So I guess what I need to do is to reset my KDE KMail to use IMAP and also to make sure Postfix uses maildir.
Thx.
Michael Segel wrote:
Hi,
I'm relatively new to dovecot, less than 48 hours, and I've ran in to a few bugs in the installation/configuration process.
Here's my set up.
I have my own domain. Within the domain, I have a couple of Linux boxes. So I control both my primary and secondary mail servers.
My Linux boxes are a mixture of SuSE 9.2, 9.3 and 10.0 (All based on age of the hardware.)
I'd like to use Postfix for my MTA, which I have up and running, but I'd also like to add an IMAP server (hence dovecot) so I can get my mail from any of my PCs and my blackberry.)
On my main mail server, I have KDE running and it uses ~/Mail/inbox/(cur,new,...)
When I tried to use KDE on my other Linux server, I got it to authenticate and I could see the folders, but I couldn't see any of the mail. (Its all in cur subdirectory.)
Now I did notice that when Postfix gets a mail message, its placed in /var/spool/mail/msegel which would imply its using an mbox format.
So what am I missing?
TIA!
-Mike
-- Michael Segel Principal MSCC
Just a note... when you setup dovecot and postfix make sure you don't forget the trailing slash when you define the mail dir. For example, I store user mail in ~/mail/ The full path is /export/home/<username>/mail/
My Dovecot setup is: default_mail_env = maildir:/export/home/%u/mail/
And my postfix setup is: home_mailbox = mail/ I had to comment out the mail_spool_directory parameter in postfix.
I forgot a trailing slash on each of these (newbie mistake) and I wasted a day of troubleshooting.
-- Andy
Michael Segel wrote:
On Thursday 17 November 2005 14:40, Andy Cravens wrote:
First... are you going to use maildir (each email is a separate file) or mbox (all mail for a particular folder is in one file)? Sounds like you have postfix set up for mbox and dovecot set up for maildir. Both postfix and dovecot need to be setup for the same mailbox storage format. Please let us know which format you want to use. After that the setup is easy. By the way, for general email I would recommend maildir. I personally only use mbox for mailing list archives.
Awaiting your response...
-- Andy
Well thats the thing. I'm looking at my KDE Contact and its storing everything in my ~/Mail directory.
So I guess what I need to do is to reset my KDE KMail to use IMAP and also to make sure Postfix uses maildir.
Thx.
Michael Segel wrote:
Hi,
I'm relatively new to dovecot, less than 48 hours, and I've ran in to a few bugs in the installation/configuration process.
Here's my set up.
I have my own domain. Within the domain, I have a couple of Linux boxes. So I control both my primary and secondary mail servers.
My Linux boxes are a mixture of SuSE 9.2, 9.3 and 10.0 (All based on age of the hardware.)
I'd like to use Postfix for my MTA, which I have up and running, but I'd also like to add an IMAP server (hence dovecot) so I can get my mail from any of my PCs and my blackberry.)
On my main mail server, I have KDE running and it uses ~/Mail/inbox/(cur,new,...)
When I tried to use KDE on my other Linux server, I got it to authenticate and I could see the folders, but I couldn't see any of the mail. (Its all in cur subdirectory.)
Now I did notice that when Postfix gets a mail message, its placed in /var/spool/mail/msegel which would imply its using an mbox format.
So what am I missing?
TIA!
-Mike
On 17.11.2005, at 23:59, Andy Cravens wrote:
Just a note... when you setup dovecot and postfix make sure you don't forget the trailing slash when you define the mail dir. For example, I store user mail in ~/mail/ The full path is /export/home/<username>/mail/ .. I forgot a trailing slash on each of these (newbie mistake) and I wasted a day of troubleshooting.
That shouldn't make any difference, as Dovecot internally removes the trailing slash anyway.. I'd guess something else changed at the same time you added the slash.
I should have added that it matters in postfix
On 12/2/2005, "Timo Sirainen" tss@iki.fi wrote:
On 17.11.2005, at 23:59, Andy Cravens wrote:
Just a note... when you setup dovecot and postfix make sure you don't forget the trailing slash when you define the mail dir. For example, I store user mail in ~/mail/ The full path is /export/home/<username>/mail/ .. I forgot a trailing slash on each of these (newbie mistake) and I wasted a day of troubleshooting.
That shouldn't make any difference, as Dovecot internally removes the trailing slash anyway.. I'd guess something else changed at the same time you added the slash
participants (3)
-
Andy Cravens
-
Michael Segel
-
Timo Sirainen