Hi All,
 
I have problems configuring vpopmail and maildrop to work.
when i use maildrop, all mails to my local domain fails.
but mails that are sent from my domain to remote domain, is working fine.
meaning to says there is something wrong for my incoming traffic. (qmail-lspawn)
 
my current .qmail-default look like this
| maildrop mailfilter
 
and my mailfilter
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]`
if ( $SIZE < 262144 )
{
        exception {
                xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
        }
}
 
if (/^X-Spam-Flag: *YES/)
{
        # try filtering it using user-defined rules
        exception {
                include $VHOME/Maildir/.mailfilter
        }
        # then try delivering it to the Trash folder
        exception {
                # to "$VPOP"
                to "$VHOME/Maildir/.Trash/"
        }
        # or uncomment the following to send it to the .spam folder
        # exception {
        #        # to "$VPOP"
        #         to "$VHOME/Maildir/.spam/"
        # }
 
        # if not go on with delivery
        exception {
                to "$VPOP"
        }
}
else
{
        exception {
                include $VHOME/Maildir/.mailfilter
        }
        exception {
                to "$VPOP"
        }
}
 
my qmail is not running on service or supervise (i took over from other, so i cant do much)
its using rc directly and my /var/qmail/rc look like this
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.
#exec env - PATH="/var/qmail/bin:$PATH" \
#qmail-start ./Maildir/ splogger qmail
# when QMAILQUEUE is set, all mail will be sent to the nominated script
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
exec env - PATH="/var/qmail/bin:$PATH"  qmail-start '| /usr/local/bin/deliverquota ./Maildir/ 3072000S | dot-forward .forward' splogger qmail
 
I have tested my qmail-scanner with spamassassin with clamav and they are working fine.
I have used the tests provided in qmail-scanner, contrib directory
 
How do I test maildrop if its working fine?
This is because when running "maildrop mailfilter" in my shell, it just stop there.
 
How do I check if $EXT and $HOST have been successfully passed in?
 
Thank you.

Best Regards,
 
Tan Han Khing
[EMAIL PROTECTED]

Reply via email to