procmail question

Christopher Chan christopher.chan at bradbury.edu.hk
Thu Nov 13 04:54:36 UTC 2008


Linda wrote:
> I've been playing with delivering mail to the proper mail directory with 
> no luck. No matter what I do it delivers the mail to /var/mail/$USER 
> instead of to /var/mail/$USER/new or /var/mail/$USER/cur
> I even tried making the address explicit instead of $USER putting in a 
> users name to no avail. I can  then move the message files to the 
> subdirectory and it works for the mail client to pick it up from the 
> dovecot IMAP server
> 
> Here is what I have in the procmailrc file so what am I doing wrong?
> 
> # .procmailrc
> # routes incoming mail to appropriate mailboxes
> PATH=/usr/bin:/usr/local/bin
> MAILDIR=/var/mail/$USER/
> Default=/var/mail/$USER/new/

DEFAULT should be /var/mail/$USER/

Assuming procmail follows .procmailrc...




More information about the ubuntu-users mailing list