OK. So I've finally got everything else working; but
because of the way we've been using sendmail (spit) for
so long we have to deliver messages to /var/mail/USER
I've got the Dan's bit of using mail.local in my
FreeBSD 4.3 system, but try as I might, it's not
happening for me. I got a cryptic error saying
mail.local couldn't get a mailbox lock - which I traced
to permissions. I gave the /var/mail directory the
following permissions:
drwxrwxrwx 2 root mail 512 Aug 29 12:07 mail
just to test... and it got further, but it has a
problem with the actual mail delivery. I think this is
because mail.local is trying to set the uid of the
mailbox to the USER (this is when the mailbox doesn't
exist already) and as it's running as qmaild this isn't
possible.
Has anyone got any clues as to how to get qmail to
deliver locally with binmail or something else, that
supports mailbox in /var/mail/ on FreeBSD 4.3? I'd
really appreciate the help - so far it's been great and
it's got me so much further, but I'm really close.
Henry