procmail question
Robert Holtzman
holtzm at cox.net
Mon Nov 17 05:16:32 UTC 2008
On Mon, 17 Nov 2008, Christopher Chan wrote:
> Robert Holtzman wrote:
>> On Thu, 13 Nov 2008, Christopher Chan wrote:
>>
>>> Linda wrote:
>>>> 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...
>>
>> Since .procmailrc states:
>>
>> # Messages that fall through all your procmail recipes are delivered
>> # to your default INBOX. To find out yours, run 'procmail -v'
>>
>> I would assume that using /var/mail/$USER/ as default would assure mail
>> never gets delivered to /var/mail/$USER/new/. What am I missing?
>>
>
> Knowledge of maildir? Setting DEFAULT to /var/mail/$user/new/ will make
> procmail attempt to deliver to /var/mail/$user/new/new/
You're right. Knowledge of maildir! I forgot that mailboxes are created
on the fly, at least they are in my Alpine app.
--
Bob Holtzman
"If you think you're getting free lunch,
check the price of the beer"
More information about the ubuntu-users
mailing list