Re: [vchkpw] how to set quota including TRASH??

2003-11-11 Thread Peter Hudec
If you are using  Courier-IMAP, there is one configure option
--with-trashquota

I don't know about any other solutions.

hudecof

ml wrote:

 Hi list,
  
 I can set the quota correctly for my users. However the quota is not 
 including .trash folder or other folder else, does anyone have any idea 
 about how to include quota with folder other than original? Thanks!
  
 zero


-- 
mail: [EMAIL PROTECTED] www: [http://hudecof.net]
cellular: [+421 905 703541] icq: [99518783]
gpg: [http://hudecof.net/data/hudecof.gpg]




AW: [vchkpw] Problems with POP3 + valias

2003-11-11 Thread Anne Fink
I havn't tried this, so it's just an idea:

it should be possible to write more than one valias_lines for an alias,
right?
if so, just write a second valias_line, which points to the local mailbox of
postmaster. [I don't know, the exact syntax.something like
 /home/path/to/postmasters/./Maildir/   or 
/home/path/to/postmasters/./Mailbox ]

let me know if it works.
greetings
anne


-Ursprungliche Nachricht-
Von: DHT Hosting - Morten Skou [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. November 2003 11:18
An: [EMAIL PROTECTED]
Betreff: [vchkpw] Problems with POP3 + valias


Hey All,

After setting up vpopmail with mysql for valias / pop etc, I am
Expirencing problems when the same [EMAIL PROTECTED] has both a POP3 box
and a valias which forwards the incomming mails to another email.

Simply what happens is when a mail goes into the system, it looks like
it
Just sees the valias, so the incomming email gets forwarded to the other
email in the valias, but dosent get stored locally in the postbox.

To be a little more specific about the entries in the mysql database,
What I have is :

Valias table :
++--+---+
| alias  | domain   | valias_line   |
++--+---+
| postmaster | domain1.dk | [EMAIL PROTECTED] |
++--+---+

And then I have [EMAIL PROTECTED] which points to a pop3 acocunt
from the vpopmail table.

If I remove the valias entry, the mail gets delivered as normally
to the postbox. And I get no errors in either messages or maillog about
the error when having both alias and pop.

I hope someone will be able to help me with my problem.



Best regards
Morten Skou








FW: [vchkpw] Problems with POP3 + valias

2003-11-11 Thread DHT Hosting - Morten Skou

Great, it worked.. now I just wonder why that idea never hit me.

I just added a 2nd alias line with :
/usr/local/vpopmail/domains/domain.com/postmaster/Maildir/


Now I just need to try and find a workaround for the catch-all
Accounts, since it aparently aint possible to put .qmail-default
Into the mysql database.

But thanks a lot Anne.


/Morten

-Original Message-
From: Anne Fink [mailto:[EMAIL PROTECTED] 
Sent: 11. november 2003 11:36
To: [EMAIL PROTECTED]
Subject: AW: [vchkpw] Problems with POP3 + valias

I havn't tried this, so it's just an idea:

it should be possible to write more than one valias_lines for an alias,
right?
if so, just write a second valias_line, which points to the local
mailbox of
postmaster. [I don't know, the exact syntax.something like
 /home/path/to/postmasters/./Maildir/   or 
/home/path/to/postmasters/./Mailbox ]

let me know if it works.
greetings
anne


-Ursprungliche Nachricht-
Von: DHT Hosting - Morten Skou [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. November 2003 11:18
An: [EMAIL PROTECTED]
Betreff: [vchkpw] Problems with POP3 + valias


Hey All,

After setting up vpopmail with mysql for valias / pop etc, I am
Expirencing problems when the same [EMAIL PROTECTED] has both a POP3 box
and a valias which forwards the incomming mails to another email.

Simply what happens is when a mail goes into the system, it looks like
it
Just sees the valias, so the incomming email gets forwarded to the other
email in the valias, but dosent get stored locally in the postbox.

To be a little more specific about the entries in the mysql database,
What I have is :

Valias table :
++--+---+
| alias  | domain   | valias_line   |
++--+---+
| postmaster | domain1.dk | [EMAIL PROTECTED] |
++--+---+

And then I have [EMAIL PROTECTED] which points to a pop3 acocunt
from the vpopmail table.

If I remove the valias entry, the mail gets delivered as normally
to the postbox. And I get no errors in either messages or maillog about
the error when having both alias and pop.

I hope someone will be able to help me with my problem.



Best regards
Morten Skou











[vchkpw] [MySQL] error

2003-11-11 Thread Tanen








Hello,

I get a problem when i try to add my domain, with the
vadddomain my.domain my-pass



When the script try to be executed, i get this error
message :



:~# /home/vpopmail/bin/vadddomain my.domain

Please enter password for postmaster:

enter password again:

could not connect to mysql update server Can't
connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
with database

could not connect to mysql update server Can't
connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[2]: MySQL server has gone away

Error: Unable to chdir to vpopmail/users directory

:~#



Im on Debian Sarge (Woody upgraded).



Someone can tel me why i get this error and how to
correct it plz ?



Best regards,

Tanen.








AW: [vchkpw] Problems with POP3 + valias

2003-11-11 Thread Anne Fink
It must be possible to put .qmail-default into the mysql...somehow.
maybe like this :

++--+---
---+
| alias  | domain   | valias_line  
  |
++--+---
---+
| default| domain1.dk | | /usr/local/vpopmail/bin/delivermail ''
bounce-no-mailbox|
++--+---
---+

or wherever your delivermail code is. For the params read the man page of
delivermail:
http://www.inter7.com/vpopmail/doc/vdelivermail.html

good luck,
greetings
anne




-Ursprungliche Nachricht-
Von: DHT Hosting - Morten Skou [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. November 2003 11:55
An: [EMAIL PROTECTED]
Betreff: FW: [vchkpw] Problems with POP3 + valias



Great, it worked.. now I just wonder why that idea never hit me.

I just added a 2nd alias line with :
/usr/local/vpopmail/domains/domain.com/postmaster/Maildir/


Now I just need to try and find a workaround for the catch-all
Accounts, since it aparently aint possible to put .qmail-default
Into the mysql database.

But thanks a lot Anne.


/Morten




Re: [vchkpw] [MySQL] error

2003-11-11 Thread Gary





  
  Hello,
  I get a problem when i try to add 
  my domain, with the vadddomain my.domain my-pass
  
  When the script try to be 
  executed, i get this error message :
  
  :~# /home/vpopmail/bin/vadddomain 
  my.domain
  Please enter password for 
  postmaster:
  enter password 
  again:
  could not connect to mysql update 
  server Can't connect to local MySQL server through socket 
  '/var/run/mysqld/mysqld.sock' (2) with database
  could not connect to mysql update 
  server Can't connect to local MySQL server through socket 
  '/var/run/mysqld/mysqld.sock' (2)
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[b]: MySQL server 
  has gone away
  vmysql: sql error[3]: MySQL server 
  has gone away
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[b]: MySQL server 
  has gone away
  vmysql: sql error[3]: MySQL server 
  has gone away
  vmysql: sql error[2]: MySQL server 
  has gone away
  Error: Unable to chdir to 
  vpopmail/users directory
  :~#
  
  I’m on Debian Sarge (Woody 
  upgraded).
  
  Someone can tel me why i get this 
  error and how to correct it plz ?
  
  Best regards,
  Tanen.
  
  Looks like mysql died...double 
  check to make sure mysql is running if not start it up :)
  
  Cheers,
  
  Gary
  


[vchkpw] TR : [vchkpw] [MySQL] error

2003-11-11 Thread Tanen













-Message d'origine-
De: Tanen
[mailto:[EMAIL PROTECTED] 
Envoyé: mardi 11 novembre
2003 13:39
À: 'Gary'
Objet: RE : [vchkpw] [MySQL]
error



Yes Mysql is running, i
see the process on the ps ax

All work fine, i think
... PhPMyAdmin work correctly i can access to all my database, it want meant
MySQL is running correctly no ?

Someone have an idea plz
??

Thanks,

Tanen.



-Message d'origine-
De: Gary
[mailto:[EMAIL PROTECTED] 
Envoyé: mardi 11 novembre
2003 13:48
À: [EMAIL PROTECTED]
Objet: Re: [vchkpw] [MySQL]
error












Hello,

I get a problem when i try
to add my domain, with the vadddomain my.domain my-pass



When the script try to be
executed, i get this error message :



:~#
/home/vpopmail/bin/vadddomain my.domain

Please enter password for
postmaster:

enter password again:

could not connect to mysql
update server Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) with database

could not connect to
mysql update server Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

vmysql: sql error[c]:
MySQL server has gone away

vmysql: sql error[b]:
MySQL server has gone away

vmysql: sql error[3]:
MySQL server has gone away

vmysql: sql error[c]:
MySQL server has gone away

vmysql: sql error[c]:
MySQL server has gone away

vmysql: sql error[b]:
MySQL server has gone away

vmysql: sql error[3]:
MySQL server has gone away

vmysql: sql error[2]:
MySQL server has gone away

Error: Unable to chdir to
vpopmail/users directory

:~#



Im on Debian Sarge
(Woody upgraded).



Someone can tel me why i
get this error and how to correct it plz ?



Best regards,

Tanen.



Looks like mysql
died...double check to make sure mysql is running if not start it up :)



Cheers,



Gary












Re: [vchkpw] TR : [vchkpw] [MySQL] error

2003-11-11 Thread jon kutassy


Perhaps the socket its trying is wrong?

If you try

# mysql -p
# password pass
mysql \s

it should confirm where your mysql is listening.. its sometimes 
/tmp/mysql.sock





-Message d'origine-
De : Tanen [mailto:[EMAIL PROTECTED]
Envoyé : mardi 11 novembre 2003 13:39
À : 'Gary'
Objet : RE : [vchkpw] [MySQL] error


Yes Mysql is running, i see the process on the ps ax

All work fine, i think ... PhPMyAdmin work correctly i can access to all my
database, it want meant MySQL is running correctly no ?
Someone have an idea plz ??

Thanks,

Tanen.



-Message d'origine-
De : Gary [mailto:[EMAIL PROTECTED]
Envoyé : mardi 11 novembre 2003 13:48
À : [EMAIL PROTECTED]
Objet : Re: [vchkpw] [MySQL] error




Hello,

I get a problem when i try to add my domain, with the vadddomain my.domain
my-pass


When the script try to be executed, i get this error message :



:~# /home/vpopmail/bin/vadddomain my.domain

Please enter password for postmaster:

enter password again:

could not connect to mysql update server Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2) with database
could not connect to mysql update server Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)
vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[2]: MySQL server has gone away

Error: Unable to chdir to vpopmail/users directory

:~#



I’m on Debian Sarge (Woody upgraded).



Someone can tel me why i get this error and how to correct it plz ?



Best regards,

Tanen.



Looks like mysql died...double check to make sure mysql is running if not
start it up :)


Cheers,



Gary

_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile



[vchkpw] Resolution: Re: [vchkpw] libvpopmail + squirrelmail/courier-imap

2003-11-11 Thread jon kutassy
Just for list completeness, upgrading from 5.2.1 to 5.3.29 cured my problem. 
Thanks all.

Another link to Michael Bowes documentation: (which is updating behind me as 
I work down the steps!)

http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

- Original Message -
From: jon kutassy [EMAIL PROTECTED]
 Hello List,

 I've been following Michael Bowe's crib sheet on how to set up
 qmail+vpopmail+mysql+loads+loadsmore
:-)

 Im running vpopmail 5.2.1 .

You should not use vpopmail-5.2.1, it contains some nasty bugs that can
cause unreliable operation of courier-imap (especially if you compiled
courier with --with-authdaemon)
You could either go for vpopmail-5.2.2, or vpopmail-5.3.28

Once you have upgraded your vpopmail, you will also need to go and rebuild
your other add-on apps like qmailadmin and courier-imap, so that they can
link against the updated vpopmail code.
Michael.

_
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess




[vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Jason Lavigne
Hello all,

I have gone through the archives and have gone through all the posts
that looked like my error, however I am still stuck and I have not seen
any changes at all. Here is what I have,

I get this error each time I run /usr/local/vpopmail/bin/clearopensmtp:

tcpserver: fatal: unable to figure out port number for
/etc/tcp.smtptmp.3517 (- the number changes each time I run)

I have done the following:

1) read all postings that looked similar (on this list and the qmail
list)
2) gone through Life with Qmail
3) gone through vpopmail Adminstration Guide
4) recompiled vpopmail 
5) recompiled the tcp.smtp.cdb file 
6) restarted all services

and still no change, I must be doing something wrong or I am changing
the wrong files :S

This is on FreeBSD 5.1-RELEASE using
qmail-1.03_1
vpopmail-5.3.24
ucspi-tcp-0.88 

Is it a permissions thing?

Any help would be greatly appreciated.

TIA

Jay

tcp.smt* permissions

mail1# ll /etc/tcp.smt*
lrwxr-xr-x  1 root  wheel  32 Nov 11 10:31 /etc/tcp.smtp -
/usr/local/vpopmail/etc/tcp.smtp
lrwxr-xr-x  1 root  wheel  36 Nov 11 10:31 /etc/tcp.smtp.cdb -
/usr/local/vpopmail/etc/tcp.smtp.cdb

mail1# ll /usr/local/vpopmail/etc/tcp.smt*
-rw-r--r--  1 vpopmail  vchkpw   608 Nov 11 09:55
/usr/local/vpopmail/etc/tcp.smtp
-rw-r--r--  1 vpopmail  vchkpw  2119 Nov 10 14:11
/usr/local/vpopmail/etc/tcp.smtp.cdb

my tcp.smtp file

127.0.0.1:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
216.138.224.10:allow,RELAYCLIENT=
216.138.226.17:allow,RELAYCLIENT=
216.138.226.18:allow,RELAYCLIENT=
216.138.226.19:allow,RELAYCLIENT=
216.138.226.20:allow,RELAYCLIENT=
216.138.226.21:allow,RELAYCLIENT=
216.138.226.22:allow,RELAYCLIENT=
216.138.226.23:allow,RELAYCLIENT=
216.138.226.24:allow,RELAYCLIENT=
216.138.226.25:allow,RELAYCLIENT=
216.138.226.26:allow,RELAYCLIENT=
216.138.226.27:allow,RELAYCLIENT=
216.138.226.28:allow,RELAYCLIENT=
216.138.226.29:allow,RELAYCLIENT=
216.138.226.30:allow,RELAYCLIENT=
:allow

my configure command

./configure --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--enable-log-name=vpopmail --enable-roaming-users=y --enable-logging=p
--enable-defaultquota=52428800 --enable-ip-alias-domains=n
--enable-passwd=n --enable-clear-passwd=y --enable-domain-quotas=y
--enable-mysql=y --enable-many-domains=n --enable-auth-logging=y
--enable-mysql-logging=y --enable-valias=y
--enable-ucspi-dir=../ucspi-tcp-0.88 --enable-mysql-limits=y
--enable-relay-clear-minutes=30 --enable-domains-dir=domains
--enable-tcpserver-file=/etc/tcp.smtp
--enable-tcprules-prog=/usr/local/bin/tcpserver --enable-domainquotas=y
[EMAIL PROTECTED] --enable-many-domains=y

my smtp run script

#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z
$LOCAL ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open
relay
exit 1
fi

exec /usr/local/bin/softlimit -m 800 \
/usr/local/bin/tcpserver -v -S -H -R -l $LOCAL -x
/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp fixcrio
/var/qmail/bin/qmail-smtpd 21






Re: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Luca Morettoni
Jason Lavigne, il 11/11/2003 alle 10:35, mi scrisse...
 Hello all,
 
 I have gone through the archives and have gone through all the posts
 that looked like my error, however I am still stuck and I have not seen
 any changes at all. Here is what I have,
 
 I get this error each time I run /usr/local/vpopmail/bin/clearopensmtp:
 
 tcpserver: fatal: unable to figure out port number for
 /etc/tcp.smtptmp.3517 (- the number changes each time I run)
 
 [...CUT...]
 
 This is on FreeBSD 5.1-RELEASE using
 qmail-1.03_1
 vpopmail-5.3.24
 ucspi-tcp-0.88 

have you installed this by FreeBSD ports? I use them on my servers and
all work fine!

-- 
Luca Morettoni [EMAIL PROTECTED] - http://morettoni.net
GPG keys avaiable at: http://morettoni.net/key
Key fingerprint: D69411BB/C329AED4592319826F12 3036B51E664FD69411BB
Current system: FreeBSD 5.1-CURRENT, up 2 hrs, 44 mins, 1 sec



RE: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Jason Lavigne
I used the toaster, is there an issue with it?

Jay


-Original Message-
From: Luca Morettoni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 11:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Interesting clearopensmtp and tcpserver issue

Jason Lavigne, il 11/11/2003 alle 10:35, mi scrisse...
 Hello all,
 
 I have gone through the archives and have gone through all the posts
 that looked like my error, however I am still stuck and I have not
seen
 any changes at all. Here is what I have,
 
 I get this error each time I run
/usr/local/vpopmail/bin/clearopensmtp:
 
 tcpserver: fatal: unable to figure out port number for
 /etc/tcp.smtptmp.3517 (- the number changes each time I run)
 
 [...CUT...]
 
 This is on FreeBSD 5.1-RELEASE using
 qmail-1.03_1
 vpopmail-5.3.24
 ucspi-tcp-0.88 

have you installed this by FreeBSD ports? I use them on my servers and
all work fine!

-- 
Luca Morettoni [EMAIL PROTECTED] - http://morettoni.net
GPG keys avaiable at: http://morettoni.net/key
Key fingerprint: D69411BB/C329AED4592319826F12 3036B51E664FD69411BB
Current system: FreeBSD 5.1-CURRENT, up 2 hrs, 44 mins, 1 sec





Re: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Luca Morettoni
Jason Lavigne, il 11/11/2003 alle 11:50, mi scrisse...
 I used the toaster, is there an issue with it?

the FreeBSD way:

(update your ports tree)
# cd /usr/ports/mail/vpopmail
# make install clean

repeat the two command for all software you need

-- 
Luca Morettoni [EMAIL PROTECTED] - http://morettoni.net
GPG keys avaiable at: http://morettoni.net/key
Key fingerprint: D69411BB/C329AED4592319826F12 3036B51E664FD69411BB
Current system: FreeBSD 5.1-CURRENT, up 3 hrs, 34 mins, 4 secs



RE: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Jason Lavigne
I tried the ports version, vpopmail-5.3.29, and it worked fine for 1
hour, now it is doing it again, I reinstalled from ports again and it
didn't help at all. :S I must be doing something wrong but I just don't
see it.

tcpserver: fatal: unable to figure out port number for
/etc/tcp.smtptmp.3517

TIA

Jay


-Original Message-
From: Luca Morettoni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 11:15 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Interesting clearopensmtp and tcpserver issue

Jason Lavigne, il 11/11/2003 alle 10:35, mi scrisse...
 Hello all,
 
 I have gone through the archives and have gone through all the posts
 that looked like my error, however I am still stuck and I have not
seen
 any changes at all. Here is what I have,
 
 I get this error each time I run
/usr/local/vpopmail/bin/clearopensmtp:
 
 tcpserver: fatal: unable to figure out port number for
 /etc/tcp.smtptmp.3517 (- the number changes each time I run)
 
 [...CUT...]
 
 This is on FreeBSD 5.1-RELEASE using
 qmail-1.03_1
 vpopmail-5.3.24
 ucspi-tcp-0.88 

have you installed this by FreeBSD ports? I use them on my servers and
all work fine!

-- 
Luca Morettoni [EMAIL PROTECTED] - http://morettoni.net
GPG keys avaiable at: http://morettoni.net/key
Key fingerprint: D69411BB/C329AED4592319826F12 3036B51E664FD69411BB
Current system: FreeBSD 5.1-CURRENT, up 2 hrs, 44 mins, 1 sec





Re: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Michael Bowe

- Original Message - 
From: Jason Lavigne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:35 AM
Subject: [vchkpw] Interesting clearopensmtp and tcpserver issue


 Hello all,

 I have gone through the archives and have gone through all the posts
 that looked like my error, however I am still stuck and I have not seen
 any changes at all. Here is what I have,

 I get this error each time I run /usr/local/vpopmail/bin/clearopensmtp:

 tcpserver: fatal: unable to figure out port number for
 /etc/tcp.smtptmp.3517 (- the number changes each time I run)


Generally when using roaming-users, you need to put all the tcp.smtp.* files
in ~vpopmail/etc rather than /etc

This is because the vpopmail user needs write permission on the tcp.smtp.cdb
and tcp.smtp.tmp files and typically the /etc dir wont allow that.

Just linking the files to the vpopmail/etc dir isnt sufficient, as vpopmail
needs to create temp files etc, and in your case these will be created in
/etc which I guess will fail.

Michael.




RE: [vchkpw] Interesting clearopensmtp and tcpserver issue

2003-11-11 Thread Jason Lavigne
WOOHOO found the issue.

On FreeBSD if you are going to do a custom compile, make sure you add
'--prefix=/usr/local i386-portbld-freebsd5.1' to your ./configure
command. (this is not documented and I only knew by looking at the ports
version closely)

Using the following command worked!

./configure --enable-valias=y --enable-mysql-logging=y
--enable-auth-logging=y --enable-default-domain=bwlogic.com
--enable-domain-quotas=y --enable-mysql=y --enable-many-domains=y
--enable-vpopgroup=vchkpw
--enable-log-name=vpopmail--enable-domains-dir=domains
[EMAIL PROTECTED] --enable-qmaildir=/var/qmail
--enable-tcprules-prog=/usr/local/bin/tcprules
--enable-tcpserver-file=/usr/local/vpopmail/etc/tcp.smtp
--enable-defaultquota=52428800 --enable-logging=p
--enable-roaming-users=y --enable-relay-clear-minutes=30
--enable-clear-passwd=y --prefix=/usr/local i386-portbld-freebsd5.1

As you can see I am using MySQL and the default ports distribution uses
cdb, this is why doing a build straight from the ports tree fixed my
clearopensmtp error message, however I lost all my user accounts as
these are in MySQL. Using the ports version with the above configure
command fixed all my issues.

Thanks all for your input, it help a ton :D

Jay 


-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Interesting clearopensmtp and tcpserver issue


- Original Message - 
From: Jason Lavigne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:35 AM
Subject: [vchkpw] Interesting clearopensmtp and tcpserver issue


 Hello all,

 I have gone through the archives and have gone through all the posts
 that looked like my error, however I am still stuck and I have not
seen
 any changes at all. Here is what I have,

 I get this error each time I run
/usr/local/vpopmail/bin/clearopensmtp:

 tcpserver: fatal: unable to figure out port number for
 /etc/tcp.smtptmp.3517 (- the number changes each time I run)


Generally when using roaming-users, you need to put all the tcp.smtp.*
files
in ~vpopmail/etc rather than /etc

This is because the vpopmail user needs write permission on the
tcp.smtp.cdb
and tcp.smtp.tmp files and typically the /etc dir wont allow that.

Just linking the files to the vpopmail/etc dir isnt sufficient, as
vpopmail
needs to create temp files etc, and in your case these will be created
in
/etc which I guess will fail.

Michael.






[vchkpw] enable-auth-logging purpose?

2003-11-11 Thread Tom Walsh
I am trying to get a clearer picture of what --enable-auth-logging does.

The configure --help tells me that:

--enable-auth-logging=y|n   Turn on (y) or off (n, default) logging
authentication attempts, only valid for mysql and oracle

but then how does that relate to:

--enable-mysql-logging=y|n   Turn on (y) or off (n, default) logging
detailed authentication attempts, only valid for mysql


Does that mean that auth-logging is also responsible for information that
ends up in the syslog?

Also the screen after my configure (the configure summary screen?) conflicts
with the configure --help. My summary screen says:

auth logging = ON  --enable-auth-logging=y (default)

which is obviously contradictory to the line at the beginning of my message
about what the --help contains.

The vpopmail version I am running 5.3.20. I know that it is out of date, but
it is installed in a production server cluster so I am not willing to play
Russian roulette with a new version.

TIA,

Tom Walsh
Network Administrator
http://www.ala.net/




Re: [vchkpw] enable-auth-logging purpose?

2003-11-11 Thread Michael Bowe

- Original Message - 
From: Tom Walsh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 8:56 AM
Subject: [vchkpw] enable-auth-logging purpose?


 I am trying to get a clearer picture of what --enable-auth-logging does.

 The configure --help tells me that:

 --enable-auth-logging=y|n   Turn on (y) or off (n, default) logging
 authentication attempts, only valid for mysql and oracle

 but then how does that relate to:

 --enable-mysql-logging=y|n   Turn on (y) or off (n, default) logging
 detailed authentication attempts, only valid for mysql


 Does that mean that auth-logging is also responsible for information that
 ends up in the syslog?

 Also the screen after my configure (the configure summary screen?)
conflicts
 with the configure --help. My summary screen says:

 auth logging = ON  --enable-auth-logging=y (default)

 which is obviously contradictory to the line at the beginning of my
message
 about what the --help contains.


 --enable-auth-logging=y
Maintain a lastauth table in MySQL (shows when / how a user last accessed
their email)

--enable-mysql-logging=y
Maintain the vlog table in MySQL (shows failed authentication requests)
The level of detail in the vlog table is controlled by the --enable-logging
setting

Michael.




[vchkpw] Re: [qmailadmin] Delete Mail-- Serious Issue!

2003-11-11 Thread Mike Miller
However, /bin/sh exists.
[EMAIL PROTECTED] /]# su vpopmail
[EMAIL PROTECTED] /]$ w
 insert output
[EMAIL PROTECTED] /]$ /bin/sh
[EMAIL PROTECTED] /]$ exit
[EMAIL PROTECTED] /]$ exit
seems to work if you ask me.

As well, another oddity.  This is all just on the one delete and didn't do 
it before I added it.  Seems to be recursively respawning vdelivermail.  
Seems odd.  Again- the .qmail is this:
 | /var/vpopmail/bin/vdelivermail '' delete

root 18747  0.0  0.0  1384  304 ?SSep10   1:50 
qmail-lspawn ./Mailbox
vpopmail 19500  0.0  0.0  1384  300 ?S19:06   0:00   
bin/qmail-local -- domain.com /var/vpopmail/domains/domain.com
vpopmail 19501  0.5  0.0  1716  504 ?S19:06   0:00 
/adm/vpopmail/bin/vdelivermail  /adm/vpopmail/domains/domain.co
vpopmail 19502  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19503  0.0  0.0  1716  504 ?S19:06   0:00 
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19504  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19505  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  delete
vpopmail 19506  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19507  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  delete
vpopmail 19508  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19509  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  delete
vpopmail 19510  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19511  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  delete
vpopmail 19512  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  delete
vpopmail 19513  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  delet
vpopmail 19514  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail  del
vpopmail 19515  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermail  d
vpopmail 19516  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdelivermail
vpopmail 19517  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelivermai
vpopmail 19518  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdeliverm
vpopmail 19519  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vdelive
vpopmail 19520  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/vdeli
vpopmail 19521  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin/vde
vpopmail 19522  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/bin/v
vpopmail 19523  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail/bin
vpopmail 19524  0.0  0.0  1716  504 ?S19:06   0:00   
/var/vpopmail/b
vpopmail 19525  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/vpopmail
vpopmail 19526  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vpopma
vpopmail 19527  0.0  0.0  1716  504 ?S19:06   0:00   
  /var/vpop
vpopmail 19528  0.5  0.0  1716  504 ?S19:06   0:00   
/var/vp
vpopmail 19529  0.5  0.0  1716  504 ?S19:06   0:00   
  /var/
vpopmail 19530  0.0  0.0  1716  504 ?S19:06   0:00   
/va
vpopmail 19531  0.5  0.0  1716  504 ?S19:06   0:00   
  /

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=dept/bcommpgmarket=en-caRU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca