If you run qmail+maildirs...

If you run qmail+maildirs...

Post by Aj » Sat, 03 Jul 1999 04:00:00



I am considering switching over to maildirs, but I have some obstacles
which I am wondering if there is a easy solution for.

PROs: prevents truncation/corruption of mbox files and works nicely over
      NFS. i also need maildirs for some of the other qmail
scripts/programs.

CONs: * pine4 doesn't support maildirs, but there are scripts etc that
        come with the distribution that can go around this by converting
        maildirs to mbox format so pine can read it
      * qpopper doesn't work, cuz they don't have support for maildirs
        either. i will have a downtime if i switch over to qmail-pop3. i
        have never used it so thats why the downtime length is uncertain.
      * i am guessing biff doesn't work with maildirs... i was wondering
        if qbiff will work, i was not able to get it to work.

Are there any other cons to switching over to maildirs? I am pretty much
using qmail on a shell/isp type server. So, it'll be running the usual
apache,
bind, qmail etc. Nothing totally special. Have any experiences switching
over to maildirs?

Thanks.

-
Anil

 
 
 

If you run qmail+maildirs...

Post by Barrett Richardso » Sat, 03 Jul 1999 04:00:00



> CONs: * pine4 doesn't support maildirs, but there are scripts etc that
>    come with the distribution that can go around this by converting
>    maildirs to mbox format so pine can read it

In the .qmail file have two entries like this

./Maildir/
./Mailbox

Pine can read from Mailbox and qmail-pop3d can read from Maildir/.
The downside (?) is that a user that does this gets two copies of
messages.

Quote:>       * qpopper doesn't work, cuz they don't have support for maildirs
>    either. i will have a downtime if i switch over to qmail-pop3. i
>    have never used it so thats why the downtime length is uncertain.

Run qmail-pop on a different port for testing purposes and simply
move it to port 110 when/if you get all the mailboxes converted to Maildir
format.

Quote:>       * i am guessing biff doesn't work with maildirs... i was wondering
>    if qbiff will work, i was not able to get it to work.

Don't know, sorry.

Quote:

> Are there any other cons to switching over to maildirs? I am pretty much
> using qmail on a shell/isp type server. So, it'll be running the usual
> apache,
> bind, qmail etc. Nothing totally special. Have any experiences switching
> over to maildirs?

One nicety is that users with 40 meg mailboxes that check the server for
new messages once a minute no longer kill our server. With new messages
going to Maildir/new and read messages that are left on the server
migrated to Maildir/cur, that makes it easy to chunk old messages that
have been read when space gets tight.

--

Barrett

Quote:> Thanks.

> -
> Anil


 
 
 

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
delivered.

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.

Chris...
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. Altus Pentium, too cheap?

3. qmail maildir and imapd

4. 3Dfx Card v. LinuxPPC v4

5. qmail, kmail, and maildir

6. icons

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

8. ftp problems with ipchain

9. qmail-pop3d no $HOME/Maildir

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

11. Can WU imapd support Qmail's maildir?

12. qmail, Maildir, and UW IMAP

13. Mail User Agents & Qmail's Maildir?