Re: [vchkpw] Clamd Scan

2004-09-15 Thread Eduardo M. Bragatto
Rick Macdougall wrote:
in the clamav.conf file set
Logfile /dev/stdout
The setup your multilog logging as normal.
	At qscanq's website I've found some tips 
(http://mysite.verizon.net/vze1ypud/software/qscanq/clamdscan.html) for 
those who use qscanq with clamd.
	From that document, I've found a patch to send logs to stderr (so 
multilog can capture them):

(..)
Building clamdscan
You should use version 0.70 of clamav or higher. You must download and 
build clamdscan, using this patch. It modifies clamd so that it can be 
told to log its activities to standard error, which allows multilog to 
capture them. The following commands should suffice:

wget 
http://www.pobox.com/~lbudney/software/qscanq/clamav-0.70-stderr.patch.gz
gunzip -c clamav-0.70-stderr.patch.gz | patch -p0

Finally, build and install clamav as per the included instructions. Be 
sure to install clamd and clamdscan, and to install and configure the 
Internet update daemon, freshclam.
(..)

--
Best regards,
Eduardo M. Bragatto.


Re: [vchkpw] Announcement: simscan devel version 1.0.3 available

2004-09-15 Thread Ken Jones
On Wednesday 15 September 2004 04:13 pm, shadowplay.net wrote:
> also are you compiling the uid of the simscan
> user into the code like they do with other
> vpopmail aps?

Not this time. Instead the Makefile uses chown and chmod to set ownership
and setuid permissions. 

>
> kind of makes it not portable as a compiled app
> from a dev to a prod box unless the uid/gid of sinscan
> matches across the boxes
>
> ken
>
> > -Original Message-
> > From: Ken Jones [mailto:[EMAIL PROTECTED]
> > Sent: September 15, 2004 15:50
> > To: [EMAIL PROTECTED]
> > Subject: Re: [vchkpw] Announcement: simscan devel version
> > 1.0.3 available
> >
> >
> > Maybe there should be an option to pick which user to run
> > simscan as. The default would be simscan, which seems to work
> > if the smtp server runs as root. But if it runs as a
> > different user it might not be able to
> > kick off a setuid simscan process. I'll look into it.
> >
> > Ken
> >
> > On Wednesday 15 September 2004 01:49 pm, Bastiaan van der Put wrote:
> > > Probably the user running qmail, and user rights to exec simscan.
> > >
> > > Had the same.
> > >
> > > Bas
> > >
> > > At 20:20 9/15/2004, you wrote:
> > > >tested on our dev box...
> > > >redhat 9
> > > >netqmail 1.04
> > > >spamassassin
> > > >clamav
> > > >
> > > >make runs well
> > > >install is easy
> > > >
> > > >just a small problem
> > > >
> > > >I get a
> > > >
> > > >451 unable to exec qq (#4.3.0)
> > > >
> > > >error when attempting to deliver mail
> > > >I don't think I have set the env correctly...
> > > >
> > > >what is wrong with this qmail-smtp run file ???
> > > >(fyi tring it without the vpopmail components for now) that it
> > > >cant run the qmailq
> >
> > __ NOD32 1.870 (20040915) Information __
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.nod32.com


RE: [vchkpw] Announcement: simscan devel version 1.0.3 available

2004-09-15 Thread shadowplay.net

also are you compiling the uid of the simscan 
user into the code like they do with other 
vpopmail aps?

kind of makes it not portable as a compiled app 
from a dev to a prod box unless the uid/gid of sinscan
matches across the boxes

ken


> -Original Message-
> From: Ken Jones [mailto:[EMAIL PROTECTED] 
> Sent: September 15, 2004 15:50
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Announcement: simscan devel version 
> 1.0.3 available
> 
> 
> Maybe there should be an option to pick which user to run 
> simscan as. The default would be simscan, which seems to work 
> if the smtp server runs as root. But if it runs as a 
> different user it might not be able to 
> kick off a setuid simscan process. I'll look into it.
> 
> Ken
> 
> On Wednesday 15 September 2004 01:49 pm, Bastiaan van der Put wrote:
> > Probably the user running qmail, and user rights to exec simscan.
> >
> > Had the same.
> >
> > Bas
> >
> > At 20:20 9/15/2004, you wrote:
> > >tested on our dev box...
> > >redhat 9
> > >netqmail 1.04
> > >spamassassin
> > >clamav
> > >
> > >make runs well
> > >install is easy
> > >
> > >just a small problem
> > >
> > >I get a
> > >
> > >451 unable to exec qq (#4.3.0)
> > >
> > >error when attempting to deliver mail....
> > >I don't think I have set the env correctly...
> > >
> > >what is wrong with this qmail-smtp run file ???
> > >(fyi tring it without the vpopmail components for now) that it 
> > >cant run the qmailq
> 
> 
> __ NOD32 1.870 (20040915) Information __
> 
> This message was checked by NOD32 antivirus system. 
> http://www.nod32.com
> 
> 



Re: [vchkpw] Announcement: simscan devel version 1.0.3 available

2004-09-15 Thread Ken Jones
Maybe there should be an option to pick which user to run simscan as.
The default would be simscan, which seems to work if the smtp server
runs as root. But if it runs as a different user it might not be able to 
kick off a setuid simscan process. I'll look into it.

Ken

On Wednesday 15 September 2004 01:49 pm, Bastiaan van der Put wrote:
> Probably the user running qmail, and user rights to exec simscan.
>
> Had the same.
>
> Bas
>
> At 20:20 9/15/2004, you wrote:
> >tested on our dev box...
> >redhat 9
> >netqmail 1.04
> >spamassassin
> >clamav
> >
> >make runs well
> >install is easy
> >
> >just a small problem
> >
> >I get a
> >
> >451 unable to exec qq (#4.3.0)
> >
> >error when attempting to deliver mail
> >I don't think I have set the env correctly...
> >
> >what is wrong with this qmail-smtp run file ???
> >(fyi tring it without the vpopmail components for now)
> >that it cant run the qmailq


Re: [vchkpw] Clamd Scan

2004-09-15 Thread Rick Macdougall

Matt Hoppes wrote:
Hi,
I'm trying to get the qmailmrtg7 script to log clamd... however I can
not get clamd to log via multilog.. where do I start?
Hi,
in the clamav.conf file set
Logfile /dev/stdout
The setup your multilog logging as normal.
Regards,
Rick


[vchkpw] Clamd Scan

2004-09-15 Thread Matt Hoppes
Hi,
I'm trying to get the qmailmrtg7 script to log clamd... however I can
not get clamd to log via multilog.. where do I start?


RE: [vchkpw] Announcement: simscan devel version 1.0.3 available

2004-09-15 Thread Bastiaan van der Put
Probably the user running qmail, and user rights to exec simscan.
Had the same.
Bas
At 20:20 9/15/2004, you wrote:

tested on our dev box...
redhat 9
netqmail 1.04
spamassassin
clamav
make runs well
install is easy
just a small problem
I get a
451 unable to exec qq (#4.3.0)
error when attempting to deliver mail
I don't think I have set the env correctly...
what is wrong with this qmail-smtp run file ???
(fyi tring it without the vpopmail components for now)
that it cant run the qmailq

env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
QMAILQUEUE="/var/qmail/bin/simscan" \
/usr/local/bin/softlimit -m 2000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb \
-c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp\
/usr/local/bin/rblsmtpd -b -r relays.ordb.org -r
blackholes.mail-abuse.org \
-r list.dsbl.org  -r bl.spamcop.net -r sbl.spamhaus.org \
/var/qmail/bin/qmail-smtpd 2>&1



> -Original Message-
> From: Ken Jones [mailto:[EMAIL PROTECTED]
> Sent: September 13, 2004 13:33
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] Announcement: simscan devel version 1.0.3 available
>
>
> Simscan devel version 1.0.3 is available.
>
> See:
> http://www.inter7.com/?page=simscan
>
> It would be great if anyone could test it or review the code.
> It works on our RedHat 9 machine.
>
> Changes
> 1. spamassassin scanning now passes along all the
> spamassassin modified email.
>
> 2. spamassassin rejection uses the X-Spam-Flag: Yes header to
> determine if an email should be rejected instead of using
> spamc with the -c option.
>
> 3. New --enable-spam-hits=hit_number option allows you to
> reject based on the calculated hits value instead of the
> X-Spam-Flag: Yes header.
>
> 4. New --enable-per-domain option allows you to enable clamav
> scanning or spamassassin scanning on a per domain basis.
> Includes new simscanmk program to create the contant database
> files (.cdb) used to determine which domains to enable spam
> or virus checking for.
>
> 5. simscan now runs setuid as the simscan user for security.
>
> 6. Updated documentation.
>
> --
> Thanks,
> Ken Jones
> inter7.com
>
>
> __ NOD32 1.855 (20040901) Information __
>
> This message was checked by NOD32 Antivirus System.
> http://www.nod32.com
>
>



RE: [vchkpw] Announcement: simscan devel version 1.0.3 available

2004-09-15 Thread shadowplay.net


tested on our dev box... 
redhat 9
netqmail 1.04 
spamassassin
clamav

make runs well
install is easy 

just a small problem

I get a 

451 unable to exec qq (#4.3.0)

error when attempting to deliver mail
I don't think I have set the env correctly...

what is wrong with this qmail-smtp run file ??? 
(fyi tring it without the vpopmail components for now)
that it cant run the qmailq




env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
QMAILQUEUE="/var/qmail/bin/simscan" \
/usr/local/bin/softlimit -m 2000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb \
-c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp\
/usr/local/bin/rblsmtpd -b -r relays.ordb.org -r
blackholes.mail-abuse.org \
-r list.dsbl.org  -r bl.spamcop.net -r sbl.spamhaus.org \
/var/qmail/bin/qmail-smtpd 2>&1







> -Original Message-
> From: Ken Jones [mailto:[EMAIL PROTECTED]
> Sent: September 13, 2004 13:33
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] Announcement: simscan devel version 1.0.3 available
> 
> 
> Simscan devel version 1.0.3 is available.
> 
> See:
> http://www.inter7.com/?page=simscan
> 
> It would be great if anyone could test it or review the code.
> It works on our RedHat 9 machine. 
> 
> Changes
> 1. spamassassin scanning now passes along all the
> spamassassin modified email.
> 
> 2. spamassassin rejection uses the X-Spam-Flag: Yes header to
> determine if an email should be rejected instead of using 
> spamc with the -c option.
> 
> 3. New --enable-spam-hits=hit_number option allows you to
> reject based on the calculated hits value instead of the 
> X-Spam-Flag: Yes header.
> 
> 4. New --enable-per-domain option allows you to enable clamav
> scanning or spamassassin scanning on a per domain basis. 
> Includes new simscanmk program to create the contant database 
> files (.cdb) used to determine which domains to enable spam 
> or virus checking for.
> 
> 5. simscan now runs setuid as the simscan user for security.
> 
> 6. Updated documentation.
> 
> --
> Thanks,
> Ken Jones
> inter7.com
> 
> 
> __ NOD32 1.855 (20040901) Information __
> 
> This message was checked by NOD32 Antivirus System.
> http://www.nod32.com
> 
> 



[vchkpw] How to recreate .dir-control file?

2004-09-15 Thread Vadim Guchenko
Hello,

I have deleted .dir-control file in some virtual domain directory.
When I add new user by vadduser command, .dir-control is recreated but
vdominfo shows that only one user exists in the virtual domain. How to
recreate .dir-control file with consideration of existing users and
existing virtual domain directory structure?

-- 
Best regards,
 Vadim  mailto:[EMAIL PROTECTED]



Re: [vchkpw] Qmail ignores sqwebmail

2004-09-15 Thread michele
Yes! That was the solution! The symlink to sendmail was incorrect!
THANKS

- Original Message - 
From: "Jeremy Kitchen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 5:44 PM
Subject: Re: [vchkpw] Qmail ignores sqwebmail


> On Tuesday 14 September 2004 09:32 am, michele wrote:
> > I've tryed to post this message to the sqwebmail mailing list, but it
seems
> > a dead one...
>
> the sqwebmail mailing list is [EMAIL PROTECTED] ..
the
> [EMAIL PROTECTED] mailing list is no longer in use (however, there may
be
> some people posting to it).
>
> Mr Sam decided to move the list to sourceforge since all of his other
mailing
> lists are there.
>
> To answer your question though:
>
> sqwebmail uses a script called sendit.sh to send email.  Usually this is
> in /usr/local/share/sqwebmail, however, depending on your system
> configuration, it may be anywhere.  If you read this script, and look at
what
> it's doing, you should be able to understand the problem at hand.  My
guess
> is that /usr/sbin/sendmail is not symlinked to qmail's sendmail wrapper
> (/var/qmail/bin/sendmail) and therefore the script is putting the message
in
> the wrong place.
>
> Further followups to this should go on the sqwebmail mailing list.
>
> -Jeremy
>
> -- 
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465
int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>