qmail, kmail, and maildir

qmail, kmail, and maildir

Post by Joey » Sat, 28 Sep 2002 08:58:56


I'm using qmail as my MTA and I usually use kmail as my reader.  qmail
is delivering mail in maildir format to ~/Maildir/ and kmail is
storing its mail in ~/Mail/<foldername> maildir folders.  kmail
supports accounts that check maildir folders directly, so, I have set
it up so that kmail looks in ~/Maildir/ and grabs the messages and
puts then in ~/Mail/inbox.

...so, I thought.. why not have qmail just deliver directly to
~/Mail/inbox.  They're both maildir, and I thought kmail would show
the new messages immediatley when they were delivered.  qmail is happy
delivering to ~/Mail/inbox, but, kmail doesn't see these messages
delivered directly by qmail.  Does anyone know why?  Is there a fix to
make this work?




1. qmail and maildir

Mail delivery is done as the target user. Root does not receive mail, but is
set up as an alias (see the qmail docs for info). The man page for
qmail-control(5) is the "roadmap" for the qmail man pages. To understand
qmail fully, read the document named INTERNALS, which tells you how mail is

If you've not read the FAQ, why not? There's a whole load of extra text files
in the distribution. To understand qmail fully you should read pretty much
most of them. Everything is documented, but very little is repeated.

Maildir has to be owned by the recipient of the mail, and should have write
access by the owner only else qmail will refuse to deliver (and log
accordingly). The message stays in the queue until the problem is fixed or
the message expires (at 7 days).

You set up the control files using "vi", or other text editor. You probably
need to check rcpthosts and locals. The set up of fetchmail is a fetchmail,
not a qmail problem. If you have people that relay through your machine
(eg, dial up customers or machines on the same LAN of which you are the
central SMTP server that all incoming/outgoing mail gets sent to), you will
need to read the FAQ, especially the bit about RELAYCLIENT.

ps, I'd advise switching HTML off in your posts as well


   \ If not for me then do it for yourself  \ www.nccnet.co.uk/~sixie/   \
    \ If not for me then do it for the world \ pine.shu.ac.uk/~cjohnso0/  \
     \                   -- Stevie Nicks      \                            \

2. Multithreading and streams

3. qmail maildir and imapd

4. RH 5.2 FTP setup problems

5. qmail,vpopmail, getmail (maildir) in Openbsd

6. XPCE/SWI-Prolog 4.5.11/1.8.0

7. qmail-pop3d no $HOME/Maildir

8. Recommendation for new motherboard

9. QMAIL unable to scan $HOME/Maildir and also not reeiving mails

10. If you run qmail+maildirs...

11. Can WU imapd support Qmail's maildir?

12. qmail, Maildir, and UW IMAP

13. Mail User Agents & Qmail's Maildir?