On Thu, Aug 02, 2001 at 10:17:06PM -0400, Rudy Zung wrote:
> On Thu, Aug 02, 2001 at 01:53:55PM -0700, Greg White wrote:
> > On Thu, Aug 02, 2001 at 09:44:47AM -0400, Rudy Zung wrote:
> > > On Wed, Aug 01, 2001 at 03:27:49PM -0700, Greg White wrote:
> > > > On Wed, Aug 01, 2001 at 05:17:46PM -0400, Rudy Zung wrote:
> > > > > [Don't remember if I've already posted this; sorry if it's a repeat.]
> > > > > 
> > > > > Trying to run qmail with Maildir on a Slackware with AFS. The AFS is
> > > > > installed and runs properly. Users' home volumes and Maildir are on AFS. 
> > > > > Qmail is generating temporary delivery errors; the mail never gets delivered.
> > > > 
> > > > Seeing the temporary delivery errors would likely be helpful here.
> > > > "What Do the Logs Say?"
> > > 
> [...ellide...]
> > Doing some digging, I found some folks discussing qmail and AFS, and
> > discussing AFS/Kerberos tokens, and a workaround for same -- I presume
> > that a token is required?
> > 

[...ellided...]

> Best that I can guess, is that the error is generated in local.c; looks like
> it performs a chdir(), and is doing some unlinks and hard links.
> 

Solution found; traced qmail-local.c and determined failure encountered
in maildir_child() during a call to link(). Rummaging around AFS FAQ in
chapter on differences between AFS and Unix FS, it says that hard links
across directories are not supported by AFS because AFS ACLs protect 
directories and not files, and allowing hard links to cross directories
would circumvent the ACL.

I changed the link() in qmail-local.c to rename() and my mail delivery
now works. Anyone want to put in some input as to whether a rename() would
fail in some cases where a link() might not?

-- 

...Ru   (a low-cost superhero)
   On, on! Blue skies. Think snow.
   1740484I 998300172 076662 82968/A17215 045124P E286/184435
   975-203608 11859 DS1160 

Reply via email to