On Friday 09 November 2001 06:07 pm, Sam Varshavchik wrote:
2) Alternatively, maildrop reads /etc/maildroprc first, before reading
.mailfilter. Enter the same kind of rules, by hand, into /etc/maildroprc
and have it deliver to $HOME/Maildir explicitly, then terminate without
even reading the .mailfilter, in the event of a bounce.
Sounds like a plan.. now I just have the issue that I'm using virtual domains
with vpopmail, and $HOME doesn't seem to get set.. I'm manually calling
maildrop from the .qmail files like so:
su-2.05# more .qmail-maildroptest
| /usr/local/bin/maildrop
/home/vpopmail/domains/mailtest1.com/maildroptest/Maildir/mailfilter
Now, I do have a maildirfilter file that I can set options in, but this is
only for sqwebmail, as far as I know.
Can maildrop figure out where $HOME should be given the command line above,
or can I somehow parse the command line in maildrop to figure it out? I'm
thinking maybe I could set it in the mailfilter file, but does this get
scanned for environment variables before processing /etc/maildroprc?
Thanks again for the help..
--Doug