Just for the record, I also use vpopmail, and as this person mentioned, I set my variable via the qmail-smtpd/run file.
Works like a champ for me. Aaron CertaintyTech said: > You are correct that trying to use the tcp.smtp.cbd to invoke Q-S on a > vpopmail server with roaming users enabled does not work. So the only > way to make it work is to: > 1. Modify vpopmail so that it also adds the QMAILQUEUE variable for > each roaming user > **OR** > 2. Don't use tcp.smtpd at all to set the QMAILQUEUE var but set it from > the qmail-smtpd/run file. This is how I personally do it for my site. > Here is my run file: > > #!/bin/sh > PATH=/var/qmail/bin:/usr/local/sbin:/usr/local/bin:${PATH} > export PATH > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > #QMAILQUEUE="/var/qmail/bin/qmail-queue"; export QMAILQUEUE > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"; export QMAILQUEUE > exec softlimit -m 10000000 \ > tcpserver -v -p -r -c 20 -t 10 -l mail.certainty.net \ > -x /home/vpopmail/etc/tcp.smtp.cdb -u "$QMAILDUID" -g "$NOFILESGID" > \ > 65.164.70.6 smtp /var/qmail/bin/qmail-smtpd 2>&1 > > > One thing that I see wrong with your run file is that you are setting > the user and group to vpopmail which is not correct. It should be > qmaild as in my example. Q-S happens long before vpopmail gets involved > in the delivery process. > --- > Ed Henderson > Certainty Tech > http://www.certainty.net/ > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:qmail-scanner-general-admin@;lists.sourceforge.net] On Behalf Of > Doug Dempsey > Sent: Monday, October 21, 2002 10:28 PM > To: 'Thorsten Spaeth'; [EMAIL PROTECTED] > Subject: RE: [Qmail-scanner-general]vpopmail > > > I have learned a little more about the process since I posed that > question, so here goes. That means at least I know what specifically is > broke now. > > Vpopmail is not invoking qmail-scanner. Qmail-scanner is working fine. > What ever is assigning the relayclients in open-smtp file is not > invoking qmail-scanner. I think I am missing the boat on some > instructions on how to do this. I see how to do it for a static host but > not for a roaming user. I tried the following with my qmail-smtpd run > file, but it did not work. > > > > #!/bin/sh > QMAILDUID=`id -u vpopmail` > NOFILESGID=`id -g vpopmail` > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" > export QMAILQUEUE > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > exec /usr/local/bin/softlimit -m 6000000 \ > /usr/local/bin/tcpserver -H -R -l 0 \ > -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ > /var/qmail/bin/qmail-smtpd dempsey.cc \ > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > > > On a non-vpopmail server, I invoke qmail-scanner though the tcp.smtp.cdb > with the following... > > > > 127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-q > ueue" > # Use Qmail-Scanner without SpamAssassin on any mail from the local > network > # [it triggers SpamAssassin via the presence of the RELAYCLIENT var] > 10.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-sc > anner-queue.pl" > # > # Use Qmail-Scanner with SpamAssassin on any mail from the rest of the > world > :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" > > > > and all is well. The above does not work on a vpopmail server. > > > Any advice on this matter would be much appreciated. > > Thanks > Doug > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:qmail-scanner-general-admin@;lists.sourceforge.net] On Behalf Of > Thorsten Spaeth > Sent: Monday, October 21, 2002 6:19 PM > To: [EMAIL PROTECTED] > Subject: AW: [Qmail-scanner-general]vpopmail > > Well, > > in Chat I would say "Meta-Question" :-) > > So what's the problem with this combination - works fine here. > > A more exactly question would be appreciate. > > Regards, > > Thorsten > > > --- ACHTUNG: neue Adresse und Telefonnummer! > netactive(R) - Späth & Wien GbR > Schifferstraße 10 - 14, 27568 Bremerhaven > Tel: (0471) 9 48 38 10 Fax: 94 18 92 75 > Service-Tel: (0700) NETACTIVE (63 82 28 48) > >> -----Ursprüngliche Nachricht----- >> Von: [EMAIL PROTECTED] >> [mailto:qmail-scanner-general-admin@;lists.sourceforge.net] Im >> Auftrag von Doug Dempsey >> Gesendet: Dienstag, 22. Oktober 2002 01:02 >> An: [EMAIL PROTECTED] >> Betreff: [Qmail-scanner-general]vpopmail >> >> >> Is anyone using Vpopmail with Qmail-scanner and getting it to work? >> >> Thanks >> Doug >> >> >> >> ------------------------------------------------------- >> This sf.net emial is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun > .com/javavote > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javav > ote > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general