procmail
[Top] [All Lists]

Re: Mail Dirs

2002-02-06 15:08:22
At 14:00 2002-02-06 -0600, Trevor Daucsavage wrote:
I'm having a heck of a time getting procmail to do the mail directories, can someone give me some advice or a

I'm having a heck of a time figuring out what procmail version you're using, or whether you're running your procmail script from /etc/procmailrc, a user .procmailrc, or via some other mechanism.

little nudge in the right direction?

Perhaps you can nudge us with a concise excerpt from your .procmailrc?

I've read the man pages, and still to no avail. I'm obvoiusly missing something. I would like the mail to go into /var/spool/mail/$username/new/.

For clarity, you should indicate whether that dot ACTUALLY trails the filespec, or if you're just adding it to end the sentance. Procmail DOES act differently based on whether the dirname is suffixed with "/" vs. "/.".

See 'man procmailrc'.  Search around for "maildir folder"

Also, it should create those folders if they don't exist when an email is received, correct?

Assuming the path you specified above is trailed by "/", not "/.", then procmail should. Provided that the user which procmail is running as has any rights to create files there.

Have you considered running with VERBOSE=ON in your procmailrc?

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
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>