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.