[OpenAFS] MailDir & Coda/AFS was: Practical no. of files per dir was: [OpenAFS] Max number of files in volume?

Noel Burton-Krahn noel@bkbox.com
Mon, 17 May 2004 14:56:19 -0700


Yes, procmail already uses rename(), so it works out of the box for AFS
Maildirs.  I use procmail tio send mail through spamassassin before dropping
it in maildirs.  You have to make sure that qmail-local has AFS permission
to drop mail in ~/Maildir/new though.  Also, qmail-local needs AFS
permission to read ~/.qmail-*.

--Noel



----- Original Message ----- 
From: "Mike Fedyk" <mfedyk@matchmail.com>
To: "Leif Johansson" <leifj@it.su.se>
Cc: "Benjamin P Myers" <dative@sukrahelitek.com>; "openafs"
<openafs-info@openafs.org>
Sent: Monday, May 17, 2004 2:43 PM
Subject: Re: [OpenAFS] MailDir & Coda/AFS was: Practical no. of files per
dir was: [OpenAFS] Max number of files in volume?


> Leif Johansson wrote:
> >
> >> Benjamin P Myers wrote:
> >>
> >>> I've been looking into postfix over afs, but since it uses hard links
> >>> for maildir inboxes it won't work.  what are you using?
> >
> >
> > The hardlinks in the maildir delivery protocol are only used to make
> > rename atomic which it isn't on most network filesystems (at least not
> > on NFS). The answer is that you simply replace your 'link+unlink' calls
> > with a rename, which is atomic in AFS.
> >
> > We (Stockholm university) happily accept spam for ~25k users into
> > Maildir using maildrop (part of courier http://www.courier-mta.org)
>
> Does maildrop need patches to call rename() instead of link+unlink?
> I've heard that procmail already calls rename() instead of using
> link+unlink.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>