The only other way is to modify vpopmail code so that it will add the
QMAILQUEUE variable to its ~vpopmail/etc/open-smtp file.  That way when
each dynamic entry is added it also includes QMAILQUEUE.  Look thru the
vpopmail.c file.

---
Ed Henderson
Certainty Tech
http://www.certainty.net/


> -----Original Message-----
> From: Dave Cramer [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, November 18, 2002 8:27 PM
> To: CertaintyTech
> Cc: 'qmail scanner'
> Subject: RE: [Qmail-scanner-general]qmail scanner with vpopmail
> 
> 
> Ed,
> 
> Thanks, as a matter of fact I do have the roaming user option 
> set. I had
> a look at the way it is handling this, and it appears to be rebuilding
> the tcp.smtp.cdb file from within vchkpw?
> 
> Is there no other way to do this?
> 
> Dave
> On Mon, 2002-11-18 at 20:12, CertaintyTech wrote:
> > > Hi folks,
> > > 
> > > I have setup up the qmail toaster, and everything works except the
> > > qmail-scanner doesn't seem to scan??
> > > 
> > > It looks like the QMAILQUEUE environ var is not being set 
> properly.
> > > 
> > > I have the following in my tcp.smtp file
> > > 
> > > # No Qmail-Scanner at all for mail from 127.0.0.1
> > > 127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/b
> > > in/qmail-queue"
> > > 
> > > # Use Qmail-Scanner with SpamAssassin on any mail from 
> the rest of the
> > > world
> > >:allow,RELAYCLIENT="",RBLSMTPD="",
> > > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
> > > 
> > 
> > Do you have the roaming users option set in vpopmail?  If so then
> > vpopmail will ignore the QMAILQUEUE entries in your 
> tcp.smtp file.  So
> > with vpopmail you must set the QMAILQUEUE variable in the
> > qmail-smtpd/run file.  For example:
> > 
> > #!/bin/sh
> > PATH=/var/qmail/bin:/usr/local/sbin:/usr/local/bin:${PATH}
> > export PATH
> > echo "Start qmail-smtpd"
> > QMAILDUID=`id -u qmaild`
> > NOFILESGID=`id -g qmaild`
> > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"; export 
> QMAILQUEUE
> > exec softlimit -m 12000000 \
> >      tcpserver -v -p -r -c 20 -t 10 -l mail.yourdomain.com \
> >      -x /etc/tcp.smtp.cdb -u "$QMAILDUID" -g "$NOFILESGID" \
> >      192.168.1.10 smtp /var/qmail/bin/qmail-smtpd 2>&1
> > 
> > 
> > ---
> > Ed.
> > 
> -- 
> Dave Cramer <[EMAIL PROTECTED]>
> Cramer Consulting
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to