On Mon, Jan 05, 2004 at 03:42:38PM +0100, Eric Persson wrote:
Devin Rubia wrote:
Hmm... if "to" is disabled, it seems to work pretty well, I have
to "/webmail/8/4/84deda69dc38c4a39443e9b7a8230018/Maildir/"
at the end of my mailfilter file.
Is this something that is not "supposed" to work?
If it's in your .mailfilter file then it is not being used in embedded
mode. Embedded mode used files in the .mailfilters directory, not the
.mailfilter file.
The .mailfilter file is used in delivery mode where the "to" command is
most definately allowed.
I'm running maildrop with the following:
|preline maildrop -V -M .mailfilter-m1010
from a .qmail file, the -M should be "special embedded mode" according
to the man pages, or am I wrong?
Thanks for your time Deving, I appreciate you straighting things out. :)
Hmm, in that case, "to" should not work as you _are_ in embedded mode.
<quote>
EMBEDDED MODE
The embedded mode is used when maildrop's filtering abili-
ties are desired, but no actual mail delivery is needed. In
embedded mode maildrop is executed by another application,
and is passed the -m or the -M option. maildrop reads the
message, then runs the filtering rules specified in
filename.
filename may contain any filtering instructions EXCEPT the
following:
[SNIP]
to The to command is not allowed in embedded mode.
</quote>
Wierd. The only way "to" should be able to work in that case is with a
file included from the maildroprcs directory as suggested by Sam.