I've started running dovecot on my server under Fedora 7, to act as an IMAPS server for kmail.
- I see my email fine on my laptop in an IMAPS account, but it doesn't get updated - I mean I don't get any new email - until I run kmail on my server. This isn't a great problem, as I am always logged to the server with ssh, and I just start kmail and stop it after a few minutes. Then I run kmail on my laptop, and the new mail is there.
But I assume this is not the intended system?
- I opted (probably mistakenly) to set ~/Mail/inbox/ as my base IMAPS directory on my server. I'd like to change this to ~/Maildir (I use maildir folders). Is it relatively easy to do this?
I tried copying my email to ~/Maildir/ and changing the setting in /etc/dovecot.conf (and restarting dovecot), but for some reason I could not see the email on my laptop.
Any advice or suggestions gratefully received.
Timothy Murphy wrote:
- I see my email fine on my laptop in an IMAPS account, but it doesn't get updated - I mean I don't get any new email - until I run kmail on my server.
Is that because kmail is downloading it from your ISP/email host using POP3? What I assume you are trying to do is host your emails but not run your own SMTP server, correct? For the purposes of having access to the same email collection from multiple PCs (without needing to keep them on the ISP server).
TB
Tim Bates wrote:
Timothy Murphy wrote:
- I see my email fine on my laptop in an IMAPS account, but it doesn't get updated - I mean I don't get any new email - until I run kmail on my server.
Is that because kmail is downloading it from your ISP/email host using POP3? What I assume you are trying to do is host your emails but not run your own SMTP server, correct? For the purposes of having access to the same email collection from multiple PCs (without needing to keep them on the ISP server).
TB
kmail will download your emails and put them into the mail directory - and then they become visible to you via dovecot. Dovecot will not download emails itself automatically but something else needs to do this.
You could either run fetchmail as a demon or run from a cronjob getmail to collect regularly all your mail.
I went with getmail as it seems to be a lot simpler and more stable, others might have a different opinion.
Peter
On Fri 07 Sep 2007, Tim Bates wrote:
- I see my email fine on my laptop in an IMAPS account, but it doesn't get updated - I mean I don't get any new email - until I run kmail on my server.
Is that because kmail is downloading it from your ISP/email host using POP3? What I assume you are trying to do is host your emails but not run your own SMTP server, correct? For the purposes of having access to the same email collection from multiple PCs (without needing to keep them on the ISP server).
On my server, I collect email from various places by fetchmail and uucp. In both cases, I think, the email's final destination is determined by my .procmailrc, which sends all email to ~/Mail/inbox . As far as I can see, dovecot only "indexes" this email on the server when I run kmail on the server. Running kmail on my laptop does not seem to "wake up" dovecot.
I assume the problem lies on the server. Should I run some cron job to ensure that dovecot keeps its indexes up-to-date? Or is there some setting in /etc/dovecot.conf which I have overlooked?
As always, any suggestions or advice gratefully received.
participants (3)
-
peter
-
Tim Bates
-
Timothy Murphy