Re: the automatic directory creation problem when using maildrop LDA

2011-02-01 Thread Daniel Bromberg
instead of `test ...`, use exceptions: if (/^X-Spam-Flag:\s*YES/) { exception{ to "$_JUNK_DEST"; } `maildirmake ...&& chmod && chmod ...& echo ...` to "$_JUNK_DEST"; } this way, once the user has received a spam that caused the creation of the maildir,

Re: the automatic directory creation problem when using maildrop LDA

2011-02-01 Thread mouss
Le 01/02/2011 02:37, Daniel Bromberg a écrit : > [snip] > if ( /^X-Spam-Status: Yes/ ) > { > `test -d $HOME/Maildir/.Junk\ E-mail` > if ( $RETURNCODE != 0 ) > { > `logger -i -p mail.info "maildroprc: creating .Junk E-mail in > $HOME"` > `maildirmake $HOME/Maildir/.Junk\

Re: the automatic directory creation problem when using maildrop LDA

2011-01-31 Thread Daniel Bromberg
On 1/31/2011 8:06 PM, Victor Duchovni wrote: On Mon, Jan 31, 2011 at 07:58:30PM -0500, Daniel Bromberg wrote: I'm puzzling over the various discussions on using Courier's maildrop as the local agent with Postfix. It plays well enough, but not...great. First its error messages are less than prec

Re: the automatic directory creation problem when using maildrop LDA

2011-01-31 Thread Victor Duchovni
On Mon, Jan 31, 2011 at 07:58:30PM -0500, Daniel Bromberg wrote: > I'm puzzling over the various discussions on using Courier's maildrop as > the local agent with Postfix. It plays well enough, but not...great. First > its error messages are less than precise but you can get used to what they >