I am using qmail+maildrop+vpopmail. On domains where maildrop is not configured (.qmail-default sends the mail directly to vpopmail) delivery is going fine. But on the domains where maildrop is configured (.qmail-default sends the mail to maildrop which sends it to vpopmail) valiases pointing to remote addresses aren't working. I'm not getting a lot of debugging back from vdeliver. Can someone give me a way to make vdeliver debug more? Or does someone have ideas about why it isn't working? Here is a message log:
@400000003e62df611c27060c delivery 13198: success: Message_start_at_0_bytes,_envelope_sender=vpopmail/maildrop:_Attempting_mailfilt er/mailfilter(1):_Opening_logfile_/var/log/maildrop/maildrop.log/mailfilter (2):_VPOP="|_/home/vpopmail/bin/vdelivermail_''_bounce-no- mailbox"/maildrop:_Filtering_through_`/home/vpopmail/bin/vuserinfo_- [EMAIL PROTECTED]/mailfilter (3):_VHOME="/home/vpopmail/domains/2/venturenet.net/jim"/maildrop:_Filtering_thr ough_`/home/vpopmail/check_subscription.php_$EXT_$HOST`/mailfilter (4):_DOMAIN_EVAL="0"/maildrop:_Filtering_through_`/home/vpopmail/check_v_subscri ption.php_$EXT_$HOST`/mailfilter(5):_VIRUS_EVAL="0"/mailfilter (7):_Evaluating_IF_condition./mailfilter(7):_IF_evaluated,_result=0/mailfilter (15):_Evaluating_IF_condition./mailfilter(15):_IF_evaluated,_result=0/mailfilter (23):_Evaluating_IF_condition./Matching_/^X-Spam-Flag:_*YES/_against_Received:_ (qmail_10236_invoked_from_network);_3_Mar_2003_04:51:02_- 0000/Not_matched./Matching_/^X-Spam-Flag:_*YES/_against_Received:_from_unknown_ (HELO_lycos.com)_(148.208.235.2) __by_neptune.venturenet.net_with_SMTP;_3_Mar_2003_04:51:02_- 0000/Not_matched./Matching_/^X-Spam-Flag:_*YES/_against_Message- ID:_<[EMAIL PROTECTED]>/Not_matched./Matching_/^X- Spam-Flag:_*YES/_against_From:_<[EMAIL PROTECTED]>/Not_matched./Matching_/^X- Spam-Flag:_*YES/_against_To:_Soraya/Not_matched./Matching_/^X-Spam- Flag:_*YES/_against_Subject:_FAST_GROWING_COMPANY_SEEKS_MANAGERS/LEADERS!/Not_ma tched./Matching_/^X-Spam- Flag:_*YES/_against_Date:_Sun,_02_Mar_2003_23:21:31_+0500/Not_matched./Matching_ /^X-Spam-Flag:_*YES/_against_MIME-Version:_1.0/Not_matched./Matching_/^X-Spam- Flag:_*YES/_against_Content-Type:_multipart/alternative;_boundary="---- =_NextPart_796_2EF4_793577A7.E9876EDD"/Not_matched./Matching_/^X-Spam- Flag:_*YES/_against_X-Priority:_3/Not_matched./Matching_/^X-Spam- Flag:_*YES/_against_X-MSMail-Priority:_Normal/Not_matched./Matching_/^X-Spam- Flag:_*YES/_against_X- Mailer:_Microsoft_Outlook_Express_6.00.2600.0000/Not_matched./mailfilter (23):_Search_of_^X-Spam-Flag:_*YES_=_0/mailfilter (23):_IF_evaluated,_result=0/mailfilter(41):_Trapping_exceptions./mailfilter (42):_Opening_include_file_/home/vpopmail/domains/2/venturenet.net/jim/Maildir/. mailfilter/mailfilter(41):_Trapped_exception./mailfilter (44):_Trapping_exceptions./maildrop:_Delivering_to_|_/home/vpopmail/bin/vdeliver mail_''_bounce-no-mailbox/maildrop:_Delivery_complete./did_0+0+1/ @400000003e62df611c2d8234 status: local 0/10 remote 0/20 What I don't get is that maildrop is basically saying that it delivered the message, but I never get it at the machine that it is forwarded to. And my maildrop config: logfile "/var/log/maildrop/maildrop.log" VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] DOMAIN_EVAL=`/home/vpopmail/check_subscription.php $EXT $HOST` #script to check database for spam filter subscription - returns 1 if yes. VIRUS_EVAL=`/home/vpopmail/check_v_subscription.php $EXT $HOST` #script to check database for virus filter subscription - returns 1 if yes. if ( $SIZE < 262144 && $DOMAIN_EVAL == 1 ) { exception { xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]" } } if ($VIRUS_EVAL == 1) { xfilter "/usr/sbin/amavis $SENDER [EMAIL PROTECTED]" echo "WE HAVE NOW PASSED AMAVIS AND ARE SENDING THE MESSAGE TO A MAILBOX" } if (/^X-Spam-Flag: *YES/) { # try filtering it using user-defined rules exception { include $VHOME/Maildir/.mailfilter } # then try delivering it to a Spam folder exception { # to "$VPOP" to "$VHOME/Maildir/.Spam/" } # ah well, I guess they'll just have to live with disappointment exception { to "$VPOP" } } else { exception { include $VHOME/Maildir/.mailfilter } exception { to "$VPOP" } } Thanks.