procmail
[Top] [All Lists]

Re: Problem with DEFAULT folder

2000-10-03 21:21:54
Amit is setting

| DEFAULT=$MAILDIR

and then wondering why

|     The problem is the other mails are not being
| delivered properly to my inbox which is
| '$HOMEDIR/mail/incoming' file. I am using pine as mail
| client which accesses this file as inbox.

and why

|     One more thing is all these messages are stored in
| files like msg.* in the mail folder. But, the procmail
| is not appending the 'incoming' file which it is
| supposed to. Do I need to any setting for doing so ?

Same explanation for both: when procmail is told to deliver to a directory
rather than to a file, and the directory name does not have / or /. appended,
that's what will happen: each message wiill go into a separate file whose
name begins with $MSGPREFIX, and that is usually "msg." (period included).

Since you've already set MAILDIR=$HOME/mail, if you want DEFAULT to be an
mbox named "incoming" in that directory, all you need after that is

DEFAULT=incoming

and in fact, you can remove the recipe that explicitly saves mail to
$DEFAULT, because that is what procmail does by, well, default (hence
the name of the variable).


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>