|
Identifying user's $HOME for virtual domains: msg#00026mail.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? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | support for international characters in maildrop: 00026, Robbie Scott |
|---|---|
| Next by Date: | Re: Setting environment variable in maildrop to "" deletes it?: 00026, Courier User |
| Previous by Thread: | support for international characters in maildropi: 00026, Robbie Scott |
| Next by Thread: | Re: Setting environment variable in maildrop to "" deletes it?: 00026, Courier User |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |