----- Original Message -----
From: "Dave Fitch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 6:38 PM
Subject: [SLUG] mail being put in wrong dir
>
> Jeeze, just when I think I've got my mail setup perfectly working,
> it's suddently started delivering mail into /var/mail/msg.XXX
> (where XXX is things like "a_Q" - each message into a separate file)
> instead of /var/mail/$USER.
>
> I was fiddling with fetchmail configs and pop3 vs imap etc so put
> it back but that shouldn't matter anyway cos it retrieves the mail
> and sends it to postfix and procmail to locally deliver.
>
> So why's it happening? I put a default of:
> :0:
> /var/mail/$USER
> at the end of .procmailrc but it doesn't help.
>
What's happening is the $USER is not being substituted. man procmail says
use $LOGNAME
If you say you want mail delivered to /var/spool/mail/ (the slash at the end
is the thing here) then procmail assumes you want mail delivered into
maildir format, ie each message is it's own file. (ie qmail)
so, try /var/spool/mail/$LOGNAME
(this is the default anyways??) you don't need anything......
Ian.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug