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