3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] mailbox doesn't exist
FromSent OnAttachments
David Sánchez PérezMar 23, 2004 12:46 am 
Thorsten HaudeMar 23, 2004 12:22 pm 
Ajai KhattriMar 24, 2004 1:09 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] mailbox doesn't existActions...
From:Ajai Khattri (aj@bway.net)
Date:Mar 24, 2004 1:09:54 pm
List:net.sourceforge.lists.courier-maildrop

On Tue, 23 Mar 2004, David Sánchez Pérez wrote:

I'have a question: I want to do this:

if ( /^From:.*xx@yyy.com.*/ ) To In.x

but I'd need to check if this mailbox exists, and if it doesn't exist, send the mail "To In.new".

How I could do it???

Here's how we test for a Spam folder:

`test -d ./Maildir/.Spam` if( $RETURNCODE == 1 ) { `maildirmake -f Spam ./Maildir` `echo INBOX.Spam >> ./Maildir/courierimapsubscribed` }