This is what I have at the top of /home/$USER/.procmailrc:
SHELL=/bin/sh
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
DEFAULT=/var/spool/mail/$USER
DROPPRIVS=yes
VERBOSE=on
LOGFILE=$PMDIR/log
The same thing happened to another user on my machine previously, an
admin account that is only used to get mail sent to root and
postmaster. I ended up trashing that account because I couldn't figure
out how to fix this. Now it has happened to my personal mail account,
which I would rather not trash.
Help please!
Thanks.
First, I suggest that you comment out this line:
# DEFAULT=/var/spool/mail/$USER
It is almost always best to use the *default* DEFAULT and not
explicitly set it.
Next, please post a recipe that delivers to $DEFAULT so we can
see what's going wrong. It should look something like this:
:0:
* condition
$DEFAULT
Hope this helps,
Nancy
--
Nancy McGough ~ <http://www.ii.com> ~ <http://deflexion.com>
IMAP, pine, procmail, data deflexion, infinity, and more
> > > Please keep the discussion in the group < < <
Nancy, I don't have any recipes that deliver to $DEFAULT. I thought
that DEFAULT was just that, where the unmatched emails end up by
default. My recipes look like this:
:0:
* ^X-Spam-Flag: YES
caughtspam
:0:
* ^From:.*j...@example.com
joe
[etc.]
Still, I don't see how any of that is the issue because none of that
has changed from when things were working.
If you do not explicitly set the DEFAULT variable, as I
suggested, things should work correctly. I still recommend not
explicitly setting DEFAULT. This will avoid other potential
problems.