RE: [vchkpw] Logs

2004-06-15 Thread Mário Gamito
Hi Ken, 

 qmailmrtg7 only works with multilog style logging directories.
 It is looking to have a directory passed to it. Then it looks 
 for the files within the last 5 minutes using the @tai64 
 naming format along with the current file, and the individual 
 timestamp entries on each line.
Does this means that is not possible to monitor SPAM and virus ?

Warm Regards,
Mário Gamito



Re: [vchkpw] Logs

2004-06-15 Thread Sean Plaice
On Tue, 15 Jun 2004 00:49:32 +0100, Mário Gamito [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I'm not sure if this is the right place to pose this questions, but it seems
 that qmailmrtg7 doesn't have a mailing list.
 
 So, i want to monitor SPAM and virus through qmailmrtg7.
 
 Well, i'm unable to monitor both SPAM and virus.
 
 SPAM:
 
 ---
 
 What is the file to filter ?
 /var/spool/qmailscan/qmail-queue.log ?   or
 /var/spool/qmailscan/quarantine.log ?
 
 If i run *as root:
 # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor
 #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log
 
 i get this error:
 
 failed to open dir /var/spool/qmailscan/qmail-queue.log
 
 If i run *as root*
 usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg

I just downloaded the latest version that includes the clamav, and
spamassasin support. If you look in the qmail.mrtg.cfg file supplied
it shows for you to use the actual clamav, and spamd log files, not
your qmail-scanner logs (they will not be the appropriate format for
the parser).

From qmail.mrtg.cfg:
Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/clamd`
Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/spamd`
-- 
Sean


[vchkpw] Problems configuring courier imap with vpopmail

2004-06-15 Thread Mario Gamito
Hi,

I can't configure courier imap, i always get this error:

configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade
vpopmail to the current version or fix the permissions on this file

But the file is there in its right place.
Already gave it 777 permissions as well to /home/vpopmail/etc
Already included this path in ld.so.conf and ran ldconfig, but no good.

Any help would be appreciated.

Warm Regards,
Mário Gamito




Re: [vchkpw] Problems configuring courier imap with vpopmail

2004-06-15 Thread Celso Pinto
Mário,
IIRC there must be two files lib_deps and inc_deps in that directory. I 
remember having that problem and I think that's how I solved it, by 
copying those files from the vpopmail source dir to ~vpopmail/etc dir.

Celso
Mario Gamito wrote:
Hi,
I can't configure courier imap, i always get this error:
configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade
vpopmail to the current version or fix the permissions on this file
But the file is there in its right place.
Already gave it 777 permissions as well to /home/vpopmail/etc
Already included this path in ld.so.conf and ran ldconfig, but no good.
Any help would be appreciated.
Warm Regards,
Mário Gamito
 




Re: [vchkpw] Problems configuring courier imap with vpopmail

2004-06-15 Thread Mario Gamito
Hi,

Thank you for your answer.

But those files are already there.
You mean copying them from the vpopmail source again ?

Warm Regards,
Mário Gamito

On Tue, 2004-06-15 at 11:46, Celso Pinto wrote:
 Mário,
 IIRC there must be two files lib_deps and inc_deps in that directory. I 
 remember having that problem and I think that's how I solved it, by 
 copying those files from the vpopmail source dir to ~vpopmail/etc dir.
 
 Celso
 
 Mario Gamito wrote:
 
 Hi,
 
 I can't configure courier imap, i always get this error:
 
 configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade
 vpopmail to the current version or fix the permissions on this file
 
 But the file is there in its right place.
 Already gave it 777 permissions as well to /home/vpopmail/etc
 Already included this path in ld.so.conf and ran ldconfig, but no good.
 
 Any help would be appreciated.
 
 Warm Regards,
 Mário Gamito
 
 
   
 
 



Re: [vchkpw] Problems configuring courier imap with vpopmail

2004-06-15 Thread Celso Pinto
h that's weird. also try configuring/make courier imap with vpopmail 
user... it's really been a long time ago since i had that same problem.
$ su - vpopmail
$ cd /usr/src/courier
$ ./configure --your-options-here
$ make

Mario Gamito wrote:
Hi,
Thank you for your answer.
But those files are already there.
You mean copying them from the vpopmail source again ?
Warm Regards,
Mário Gamito
On Tue, 2004-06-15 at 11:46, Celso Pinto wrote:
 

Mário,
IIRC there must be two files lib_deps and inc_deps in that directory. I 
remember having that problem and I think that's how I solved it, by 
copying those files from the vpopmail source dir to ~vpopmail/etc dir.

Celso
Mario Gamito wrote:
   

Hi,
I can't configure courier imap, i always get this error:
configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade
vpopmail to the current version or fix the permissions on this file
But the file is there in its right place.
Already gave it 777 permissions as well to /home/vpopmail/etc
Already included this path in ld.so.conf and ran ldconfig, but no good.
Any help would be appreciated.
Warm Regards,
Mário Gamito

 

 




RE: [vchkpw] Problems configuring courier imap with vpopmail

2004-06-15 Thread Remo Mattei
Did you check shupp.org toaster? You should be fine following his direction.

Remo

-Original Message-
From: Mario Gamito [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 15, 2004 4:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Problems configuring courier imap with vpopmail

Hi,

Thank you for your answer.

But those files are already there.
You mean copying them from the vpopmail source again ?

Warm Regards,
Mário Gamito

On Tue, 2004-06-15 at 11:46, Celso Pinto wrote:
 Mário,
 IIRC there must be two files lib_deps and inc_deps in that directory. I 
 remember having that problem and I think that's how I solved it, by 
 copying those files from the vpopmail source dir to ~vpopmail/etc dir.
 
 Celso
 
 Mario Gamito wrote:
 
 Hi,
 
 I can't configure courier imap, i always get this error:
 
 configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade
 vpopmail to the current version or fix the permissions on this file
 
 But the file is there in its right place.
 Already gave it 777 permissions as well to /home/vpopmail/etc
 Already included this path in ld.so.conf and ran ldconfig, but no good.
 
 Any help would be appreciated.
 
 Warm Regards,
 Mário Gamito
 
 
   
 
 



Re: [vchkpw] dot qmail processing

2004-06-15 Thread Jeremy Kitchen
On Wednesday 09 June 2004 07:46 pm, Paul Oehler wrote:
  A .qmail file with a one line comment will discard mail.
 
  .qmail-blackhole:
  --
  #
  --
 
  Rick

 Out of curiosity, is this a documented feature?  I don't remember ever
 reading this anywhere.

I think it's more of a pleasant bug than a 'feature'.  It's indirectly 
documented (and works exactly as documented) however, I'm not entirely sure 
that djb originally intended for that to happen :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] limits of pop3

2004-06-15 Thread Jeremy Kitchen
On Sunday 13 June 2004 12:29 am, Remo Mattei wrote:
 Hello guys how do I set limits on for pop3 in vpopmail 5.4? I need to have
 this on by default.

 Thanks,

 PS I tried vmoduser -p username but no luck still says limits are set for
 the entire domain (default value) I checked the vpopmail.limits but did not
 see anything there.

full email address, perhaps?

Also, what's this winmail.dat garbage you're posting to the list? :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] Sort of skel files for maildrop

2004-06-15 Thread Charles M. Gerungan
I've followed the instructions w.r.t. maildrop and vpopmail according to
Johan Almqvist[1] and it's working as expected. Is it possible to have
vpopmail create the required files -- MAILDIRFILTER, MAILDIR and the
adopted .qmail file -- automatically upon creation of a new virtual use,
like skel files for the shell?

[1] http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html

-- 
Regards, Charles.



[vchkpw] vpopmail and qmailscanner

2004-06-15 Thread Bartman



My name is Lucas and i work for a isp in 
argentina

i'm using vpopmail with qmailscanner (all 
qmail-toaster ) and they're working fine. i'm also have several domains on my 
server and i'd like to give different services to each one, for example, one 
domain get clamscanner, another domain get spamassassin and another get both. 
since this can't be done with the normal qmail-scanner-queue.pl (is that 
right?)i thought that i could play 
with the tcpserver rules, setting up different QMAILQUEUE variables for certain 
domains or even network addresses but i noted and read on the web that i 
have to set and export the QMAILQUEUE variablewithin 
/var/qmail/supervise/run to work with vpopmail (with 
pop-before-smtp).

What i want to know is if is necesary to put the 
QMAILQUEUE variable within the "/var/qmail/supervise/run" scriptor how to 
disable the pop-before-smtp vpopmail feature (i cant compile so i hope there's a 
way with the vpopmail conf files).

if you know other way of doing what i'm trying to 
do,i really wish to know

thanx a lot


[vchkpw] Vpopmail + Mysql, can't add domains

2004-06-15 Thread James Taylor
Hi everyone, running vpopmail 5.4 compiled with MySQL (Everything else 
via Bill's Qmail Toaster) and everything was working just fine until 
today when I tried to add a domain.  Existing domains seem to be 
working just fine, you can add/delete users fine, information is stored 
in MySQL and it all looks good.  Now though, when I go to add a new 
domain, just for instance say

./vadddomain testdomain.com testpw
It appears to have added the directory - it creates the domain 
directory as well as the postmaster maildir, and adds the 
testdomain_com table to MySQL with the postmaster user.  It also adds 
the testdomain_com information to the dir_control table.  However, if I 
try to send mail to postmaster:

telnet localhost 25
helo
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
550 sorry, no mailbox here by that name (#5.1.1 - chkusr)
./vuserinfo [EMAIL PROTECTED]
name:   postmaster
passwd: $1$YnGeWacE$YYLUcT0Gw.te3HGkRa9lD.
clear passwd: testpw
uid:0
gid:0
flags:  0
gecos: Postmaster
limits: No user limits set.
dir:   /home/vpopmail/domains/testdomain.com/postmaster
quota: NOQUOTA
usage: NOQUOTA
account created: Tue Jun 15 14:28:53 2004
last auth: Never logged in
Same information listed in the MySQL row.
./vadduser [EMAIL PROTECTED] testpw
.. same results with that user as with postmaster, everything LOOKS 
good, but nothing works

Looking though the other directories of domains that DO work, I'm 
noticing they have a file called vpasswd.  I've had trouble getting 
MySQL to completely work, I thought I had it before but now it's acting 
funky again with this issue.  I think what's happening is Vpopmail is 
using MySQL to store the information, but then it's not using MySQL to 
retrieve.  The weird thing about it though is that I can add users to 
other domains, make changes to existing domains, and it all takes just 
fine.  It makes the changes in the MySQL DB, and it READS those 
changes, it's just new domains aren't wanting to work anymore.  I tried 
doing ./vconvert -m -c to see if it was using CDB to store all the user 
info instead of mysql for some reason, but it still doesn't pick up the 
user information when trying to send them mail.  Gives the same as 
above.

If anyone could point me in the right direction I'd appreciate it, I've 
been pulling my hair out for the past couple hours now.



Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-15 Thread Alastair Battrick
Hi James
What is in the .qmail-default for the domain?
Cheers
Alastair
James Taylor wrote:
Hi everyone, running vpopmail 5.4 compiled with MySQL (Everything else 
via Bill's Qmail Toaster) and everything was working just fine until 
today when I tried to add a domain.  Existing domains seem to be working 
just fine, you can add/delete users fine, information is stored in MySQL 
and it all looks good.  Now though, when I go to add a new domain, just 
for instance say

./vadddomain testdomain.com testpw
It appears to have added the directory - it creates the domain directory 
as well as the postmaster maildir, and adds the testdomain_com table to 
MySQL with the postmaster user.  It also adds the testdomain_com 
information to the dir_control table.  However, if I try to send mail to 
postmaster:

telnet localhost 25
helo
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
550 sorry, no mailbox here by that name (#5.1.1 - chkusr)
./vuserinfo [EMAIL PROTECTED]
name:   postmaster
passwd: $1$YnGeWacE$YYLUcT0Gw.te3HGkRa9lD.
clear passwd: testpw
uid:0
gid:0
flags:  0
gecos: Postmaster
limits: No user limits set.
dir:   /home/vpopmail/domains/testdomain.com/postmaster
quota: NOQUOTA
usage: NOQUOTA
account created: Tue Jun 15 14:28:53 2004
last auth: Never logged in
Same information listed in the MySQL row.
./vadduser [EMAIL PROTECTED] testpw
.. same results with that user as with postmaster, everything LOOKS 
good, but nothing works

Looking though the other directories of domains that DO work, I'm 
noticing they have a file called vpasswd.  I've had trouble getting 
MySQL to completely work, I thought I had it before but now it's acting 
funky again with this issue.  I think what's happening is Vpopmail is 
using MySQL to store the information, but then it's not using MySQL to 
retrieve.  The weird thing about it though is that I can add users to 
other domains, make changes to existing domains, and it all takes just 
fine.  It makes the changes in the MySQL DB, and it READS those changes, 
it's just new domains aren't wanting to work anymore.  I tried doing 
./vconvert -m -c to see if it was using CDB to store all the user info 
instead of mysql for some reason, but it still doesn't pick up the user 
information when trying to send them mail.  Gives the same as above.

If anyone could point me in the right direction I'd appreciate it, I've 
been pulling my hair out for the past couple hours now.


Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-15 Thread James Taylor
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
.. which is think is what it's supposed to be set at, no?
On Jun 15, 2004, at 2:46 PM, Alastair Battrick wrote:
Hi James
What is in the .qmail-default for the domain?
Cheers
Alastair
James Taylor wrote:
Hi everyone, running vpopmail 5.4 compiled with MySQL (Everything 
else via Bill's Qmail Toaster) and everything was working just fine 
until today when I tried to add a domain.  Existing domains seem to 
be working just fine, you can add/delete users fine, information is 
stored in MySQL and it all looks good.  Now though, when I go to add 
a new domain, just for instance say
./vadddomain testdomain.com testpw
It appears to have added the directory - it creates the domain 
directory as well as the postmaster maildir, and adds the 
testdomain_com table to MySQL with the postmaster user.  It also adds 
the testdomain_com information to the dir_control table.  However, if 
I try to send mail to postmaster:
telnet localhost 25
helo
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
550 sorry, no mailbox here by that name (#5.1.1 - chkusr)
./vuserinfo [EMAIL PROTECTED]
name:   postmaster
passwd: $1$YnGeWacE$YYLUcT0Gw.te3HGkRa9lD.
clear passwd: testpw
uid:0
gid:0
flags:  0
gecos: Postmaster
limits: No user limits set.
dir:   /home/vpopmail/domains/testdomain.com/postmaster
quota: NOQUOTA
usage: NOQUOTA
account created: Tue Jun 15 14:28:53 2004
last auth: Never logged in
Same information listed in the MySQL row.
./vadduser [EMAIL PROTECTED] testpw
.. same results with that user as with postmaster, everything 
LOOKS good, but nothing works
Looking though the other directories of domains that DO work, I'm 
noticing they have a file called vpasswd.  I've had trouble getting 
MySQL to completely work, I thought I had it before but now it's 
acting funky again with this issue.  I think what's happening is 
Vpopmail is using MySQL to store the information, but then it's not 
using MySQL to retrieve.  The weird thing about it though is that I 
can add users to other domains, make changes to existing domains, and 
it all takes just fine.  It makes the changes in the MySQL DB, and it 
READS those changes, it's just new domains aren't wanting to work 
anymore.  I tried doing ./vconvert -m -c to see if it was using CDB 
to store all the user info instead of mysql for some reason, but it 
still doesn't pick up the user information when trying to send them 
mail.  Gives the same as above.
If anyone could point me in the right direction I'd appreciate it, 
I've been pulling my hair out for the past couple hours now.



Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-15 Thread Tom Collins
On Jun 15, 2004, at 2:41 PM, James Taylor wrote:
Looking though the other directories of domains that DO work, I'm 
noticing they have a file called vpasswd.  I've had trouble getting 
MySQL to completely work, I thought I had it before but now it's 
acting funky again with this issue.  I think what's happening is 
Vpopmail is using MySQL to store the information, but then it's not 
using MySQL to retrieve.
It sounds like you originally compiled vpopmail for CDB, then compiled 
qmail-smtpd with the chkusr patch, and then reconfigured/installed 
vpopmail for MySQL.

You need to rebuild qmail-smtpd so it links to the new libvpopmail 
that's built for MySQL instead of CDB.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Sort of skel files for maildrop

2004-06-15 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles M. Gerungan wrote:
 I've followed the instructions w.r.t. maildrop and vpopmail according to
 Johan Almqvist[1] and it's working as expected. Is it possible to have
 vpopmail create the required files -- MAILDIRFILTER, MAILDIR and the
 adopted .qmail file -- automatically upon creation of a new virtual use,
 like skel files for the shell?

 [1] http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html


Not yet, there might be a patch for it in cvs at sourceforge, if there
is not, this would certainly be a good feature.

There was a thread a long time ago about this, but the author never
replied again when asked to update his code, so that it would work better.

X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAz5gmJukONu5DUaQRAj+2AKCNad0nHZngnXbaaaly7drJ50Wd6ACfUbIw
dmlGDdpaqAtLtq9aUwFmnP4=
=uzdC
-END PGP SIGNATURE-