[vchkpw] maildrop and bounced mails

2003-01-25 Thread qlist
Hi,

I use maildrop to filter incomming mails domainwide. Here is the config:
root@ns:~# cat /home/vpopmail/domains/intertet.net/.qmail-default
| maildrop mailfilter
-
root@ns:~# cat /home/vpopmail/domains/intertet.net/mailfilter
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

exception {
include $VHOME/.mailfilter
}
exception {
to $VPOP


Everything is normal when the user exists, but if say send a mail to a
non-existent user it bounces but a copy if this mail is saved in
/var/spool/mail/vpopmail in mbox format.
logs says:
@40003e328fd53440a7d4 new msg 16420
@40003e328fd53440b38c info msg 16420: bytes 606 from
[EMAIL PROTECTED] qp 30370 uid 1016
@40003e328fd5344ee074 starting delivery 16312: msg 16420 to local
[EMAIL PROTECTED]
@40003e328fd5344ef3fc status: local 1/10 remote 20/20
@40003e328fd5394d49e4 delivery 16312: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
@40003e328fd5394d5d6c status: local 0/10 remote 20/20
@40003e328fd5396f8b6c bounce msg 16420 qp 30377
@40003e328fd5396f9ef4 end msg 16420
--

Do have any idea to solve this problem?
Ertan Yusufoglu





Re: [vchkpw] maildrop and bounced mails

2003-01-25 Thread Dzuy Nguyen
Try

if($EXITCODE == 100)
{
exit
}

after the VPOP exception block.

qlist wrote:

Hi,

I use maildrop to filter incomming mails domainwide. Here is the config:
root@ns:~# cat /home/vpopmail/domains/intertet.net/.qmail-default
| maildrop mailfilter
-
root@ns:~# cat /home/vpopmail/domains/intertet.net/mailfilter
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

exception {
include $VHOME/.mailfilter
}
exception {
to $VPOP


Everything is normal when the user exists, but if say send a mail to a
non-existent user it bounces but a copy if this mail is saved in
/var/spool/mail/vpopmail in mbox format.
logs says:
@40003e328fd53440a7d4 new msg 16420
@40003e328fd53440b38c info msg 16420: bytes 606 from
[EMAIL PROTECTED] qp 30370 uid 1016
@40003e328fd5344ee074 starting delivery 16312: msg 16420 to local
[EMAIL PROTECTED]
@40003e328fd5344ef3fc status: local 1/10 remote 20/20
@40003e328fd5394d49e4 delivery 16312: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
@40003e328fd5394d5d6c status: local 0/10 remote 20/20
@40003e328fd5396f8b6c bounce msg 16420 qp 30377
@40003e328fd5396f9ef4 end msg 16420
--

Do have any idea to solve this problem?
Ertan Yusufoglu