Qconfirm test: problem
"Andrea Riela" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <004301c3c8b1$7f822cb0$0d11a8c0@Avatar> |
Hi folks, I'm testing qconfirm for an account. I've installed qconfirm. My system has vpopmail and some domains. In /home/vpopmail/domains/domain1.dom/user1 I've created the .qconfirm directory: qconfirm-conf /home/vpopmail/domains/domain1.dom/user1/.qconfirm Then, I've seen the qmail's file virtualdomains, and I've created the QCONFIRM_PREPEND file in /home/vpopmail/domains/domain1.dom/user1/.qconfirm/conf like this: domain.dom- I've added the first rule in my .qmail file |qconfirm-check -d/home/vpopmail/domains/domain1.dom/user1/.qconfirm and I've sended an email from another domain to [email protected], but nothing. The maillog is ok, the email arrives, but I have nothing in the dir or prepending, and no request-email. My .qmail file is the problem, I think. At the moment is like this: |qconfirm-check -d/home/vpopmail/domains/domain1.dom/user1/.qconfirm | maildrop /etc/mailfilter Mailfilter is a script that works fine: no-spam --> go to /Maildir/ spam --> go to [email protected] This is my mailfilter: SHELL="/bin/sh" PWD=`pwd` VMAILDIR="$PWD/Maildir/" USERNAME=`echo ${PWD##*/}` USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}` #logfile "/home/vpopmail/domains/mailfilter.log" log "Running mailfilter for $USERNAME@$USERHOST" if (/^X-Spam-Status: *YES/) { #try to deliver to the spam account exception { to "!abuse@$USERHOST" } log "Sending to abuse@$USERHOST" } else { #put it in the box exception { to "$VMAILDIR" } log "Delivering to $VMAILDIR" } exit In this case, the mailfilter policy doesn't work. Probably the problem is the first rule in my .qmail file. Suggestions? Where's my mistake? Thanks for your patience and support Regards Andrea