On Fri, 7 Mar 2003 Devin Rubia <dev...@thezone.net> wrote:-
[snip]
That did not make any difference, so I decided to start afresh,
which explains the delay in replying.
I tried to follow the steps I took in the first attempt
carefully following the literature (to the extent I could
understand it!!). This time getmail delivers to maildrop
but maildrop puts all mail into /var/mail/user and I don't
understand why. Permissions and ownerships seem the same as
previously but the action is different.
I've tried altering /etc/login.defs and /etc/pam.d/login
and /etc/pam.d/ssh#, but that doesn't help. Something now
seems to be stopping maildrop looking in /etc/maildroprc
and /home/john/.mailfilter thus causing it to default to
/var/mail/user. I can find a lot of info on using getmail
with procmail and qmail but nothing detailed on using it
with maildrop (other than when employing domain boxes).
[snip]
Any suggestions on what else to try? I'm now convinced that I've
made some stupid fundamental error.
Are you sure your maildroprc is in the right directory? Unless you
changed --sysconfdir or --prefix when running ./configure it probably
should be in /usr/local/etc/maildroprc
To find out, just type in "man maildropfilter" and the file location
should be in the first line after "SYNOPSIS"
I installed from an official precompiled .deb package. The file is
in /etc (/etc/maildroprc). So I'm certain that aspect is correct.
However, I made a stupid error when starting afresh - I copied a
getmailrc file over from another debian box and after making some
changes left it pointing to /usr/bin/procmail instead of maildrop.
There's no logical explanation - other than that I've had this
brain nearly three quarters of a century. I'm very sorry to have
wasted your time with my last message.
Still I can't get things to work. I've read far too much and this
now adds to my confusion. There was a thread on the mailing list
last Sept which almost answered my dilemma then stopped just short.
I've made literally scores of experiments and the best I can
achieve is to get getmail to hand over to maildrop and maildrop
to put the mail into both /var/mail/john and /var/spool/mail/john.
If I create a .maildroprc file, chmod 600 and put
'DEFAULT="HOME/Maildir"' (or variations) into it, I'm back to
the 'unable to open mailbox'error. It's driving me crazy.
Thanks for all your assistance.
Regards, John.