Re: Procmail recipes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 28 Jan 2006 20:39, Reuben D. Budiardja wrote:
> Hi Anne,
Hi, Reuben

> It seems that your setup is similar as mine. I use dovecot and
> procmail too in Maildir format accessing, my mail via IMAP.
>
> On Saturday 28 January 2006 03:12, Anne Wilson wrote:
> <snip>
>
> > > MAILDIR=/home/awilson/Mail/
> > > DEFAULT=$MAILDIR
> > >
> > > :0
> > >
> > > * ^To:.*design@xxxxxxxxxxx
> > > $MAILDIR/Design/
>
> What you were missing is a dot (.) in front of the directory name. I
> think that's the Dovecot's way. So that should've been:
>
> * ^To:.*design@xxxxxxxxxxx
> $MAILDIR/.Design/
>
Doing that didn't make it work.

> Mine actually don't have the $MAILDIR in the recipe, because it's set
> in /etc/dovecot.conf. I have this line in dovecot.conf:
>
> default_mail_env = maildir:~/Maildir
>
> So my procmailrc is actually something like:
>
> ---------
> PATH=/bin:/usr/bin
> MAILDIR=$HOME/Maildir/
> LOGFILE=$HOME/.procmail-log
>
> :0:
>
> * ^Subject:.*LogWatch
> .CronLog/
> ---------------
>
It always helps to have a working example.  I changed my MAILDIR 
settings in both dovecot and procmail, to match yours, and still it 
didn't work.

Then I changed it to ${MAILDIR}/.INBOX.Design/new, as Justin suggested, 
and for the first time I got a result.  A new folder called Design 
(not .INBOX.Design) appeared, and the messages have shown up correctly 
this time.  I can see them from this box.

It looks as though I needed a combination of your suggestions.

> And about your other question:
> > I need some clarification, please.  In the section "Setting up
> > Dovecot" it talks about 'mail_spool_directory'.  I looked at the
> > dovecot.conf.orig, and found that it was only set in the pop3
> > section.
>
>  I don't have the 'mail_spool_directory' line in my
> /etc/dovecot.conf. I am not sure what that's for though.
>
> Hope that helps.
>
Thanks.  I *think* it is only needed for mbox.  The docs can be quite 
confusing at times :-)

Thanks to all who answered.  I do believe I shall be able to get it 
sorted now.

Anne


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux