6 messages in net.sourceforge.lists.courier-maildrop[maildropl] to expression
FromSent OnAttachments
Andriy YankoMar 11, 2002 11:49 pm 
Sean RimaMar 12, 2002 2:12 am 
Andriy YankoMar 12, 2002 4:26 am 
Sean RimaMar 12, 2002 4:55 am 
Andriy YankoMar 12, 2002 5:48 am 
Sean RimaMar 12, 2002 6:49 am 
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:[maildropl] to expressionActions...
From:Andriy Yanko (mail@wireless.org.ua)
Date:Mar 11, 2002 11:49:42 pm
List:net.sourceforge.lists.courier-maildrop

Hi!

Why next filter don't work correctly?

cat /home/mery/.qmail:

--- | preline /usr/local/bin/maildrop

---

cat /home/mery/.mailfilter:

--- SENDMAIL="/var/qmail/bin/sendmail"

if ( /^Subject: test/ ) { to ! john }

---

When somebody send mail to mery with subject "test" than maildrop delivery mail to file /home/mery/0 . Why?

I read man maildropfilter!

man maildropfilter:

--- ... TO - DELIVER MESSAGE TO A MAILBOX to expression The to statement delivers the message to a mailbox. expression must evaluate to a valid mailbox. A valid mailbox is either a mailbox file, a maildir, or an external program (which includes forwarding to another address). ... An expression that begins with an exclamation mark, "!" specifies a whitespace-delimited list of E-mail addresses to forward the message to. The program specified by the SENDMAIL variable is run as an external program, with the list of E-mail addresses provided as parameters to the program. ...

---

any solutions?

* Avoid The Gates of Hell use Linux