1 message in net.sourceforge.lists.courier-maildrop[maildropl] Identifying user's $HOME ...
FromSent OnAttachments
Thomas SmithJan 14, 2004 1:00 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:[maildropl] Identifying user's $HOME for virtual domainsActions...
From:Thomas Smith (to@openadventures.org)
Date:Jan 14, 2004 1:00:46 pm
List:net.sourceforge.lists.courier-maildrop

I'm using Maildrop (1.5.2) with vpopmail (5.4-rc1) on FreeBSD 4.4 and can't seem to get the script working right. This biggest issue I'm seeing is

I'm quit new to maildrop. Perhaps someone can suggest a solution to what I want to accomplish or pointers to docs that will help me with it. Here's what I want to do:

If $VHOME/.mailfilter exists then include it in the domain's default script then deliver the email. If it doesn't exist, deliver the mail as usual using vdelivermail.

The current error I receive is related to the IF statement--it's a "syntax error". Here's my current, domain-wide mailfilter file:

VHOME=`/usr/local/vpopmail/bin/vuserinfo -d $EXT@$HOST` VPOP="| /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox"

if ( $VHOME/.mailfilter ) { include $VHOME/.mailfilter to "$VPOP" } else { to "$VPOP" }

I plan to add some more complex filtering for spam and virus controls but have yet to get past this basic, seemingly simple script.

Can anyone help?