Re: [vchkpw] vpopmail 5.2.2 minor auth problems

2004-03-08 Thread Matt Darcy

 Thanks Jeremy,

 You response is appriciated, qmail and co normally looks after its self so
 it been a while scince I had to do qmail/vpopmail/pop3 debugging and I
 thought that error just looked unusual, its nice to know its normal and
 I've not missed anything simple by using vpopmail 5.2.2

 Matt

 On Monday 08 March 2004 04:41, Jeremy Kitchen wrote:
  On Sun, 2004-03-07 at 09:41, X-Istence wrote:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass 123456
+OK
   
-ERR unimplemented
   
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass 123456
+OK
   
-ERR unimplemented
  
   If you are new to this, i do suggest you try out vpopmail 5.4.0,  its
   stable, works better and has a lot of work done to it.
 
  you completely ignored the question just to say to use vpopmail 5.4.0
 
  the problem is he's submitting a blank line to qmail-pop3d.  My machines
  do the same thing, one is using straight djb checkpassword, and the
  other is using vmailmgr.
 
  [EMAIL PROTECTED]:~$ telnet localhost 110
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  +OK [EMAIL PROTECTED]
  user kitchen
  +OK
  pass guessme
  +OK
 
  -ERR unimplemented
 
  It's completely normal.  Try issuing a real pop3 command, such a LIST,
  or RETR messagenumber
 
  This really has nothing to do with vpopmail, as once you've
  authenticated it's all qmail-pop3d, and it certainly isn't a problem.
 
  -Jeremy


[vchkpw] vpopmail 5.2.2 minor auth problems

2004-03-07 Thread Matt Darcy
Hi all,

I built a vpopmail on qmail system for the first time in a long time. I'm 
using netqmail 1.05 and vpopmail 5.2.2 (for the first time)

I have only a few domains and a few accounts per domain so nothing complex.

I have tested domain1 and users on domain one, and mail downloads ok - no 
problems there. 

An interesting issue with this is on the account is that I telnet 127.0.0.1 
110it goes like this


Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass 123456
+OK

-ERR unimplemented

So the user is authenticated - and it looks ok but I get this error -ERR 
unimplemented - its not a big deal as the account is working. I am just 
trying to understand the problem


I also have another account on testdomain2.co.uk which has the same problem

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass 123456
+OK

-ERR unimplemented

Again this does not worry me, but when I connect to this account using a pop3 
client (outlook 2003) the test account button works it logs in and all is 
well, but when I try to download mail via a pop3 connection I see error 
authenticating you against your pop3 server

I AM using the same password as above - so it should be working as this 
authenticates ok.

These are my 2 problems.

Any comments or advice on debugging them would be appriciated. 

thanks,

Matt



[vchkpw] vpopmail home dir permissions.

2003-02-09 Thread Matt Darcy



Hi,

I have just checked my permissions on my vpopmail 
users home dir, they are set to root:root

drwxr-xr-x 8 
root 
root 4096 Feb 5 10:53 
vpopmail

I think it should be vpopmail:vchkpw

However I can see how root:root COULD be 
needed,but still doubtful can someone confirm what the permisions should be, as 
it was probably a case of "fat fingers" on my part when adding the user and 
group.

Thanks,

Matt.



[vchkpw] vpopmail 5 with mysql - vauth.c complaining

2003-02-04 Thread Matt Darcy



Hi all,

not posted for a while as all has been going well 
with my mail server.
I have decided to build a new mail server for a 
friend and I am having a small problem

I am using mysql 3.23.55 on a linux from scratch 
server with glibc2.2

I am using vpopmail 5.2.1

I have edited vmysql.h to contain the right 
username/pass/servername for the root and read users, and tested them connecting 
with mysql

I run this VERY long configure option

./configure --enable-qmaildir=/var/qmail 
--enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-roaming-users=y 
--enable-tcpfules-prog=/usr/local/bin/tcprules 
--enable-tcpserver-file=~vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=120 
--enable-learn-passwords=n --enable-md5-passwords=y --enable-auth-logging=y 
--enable-mysql-logging=y --enable-clear-passwd=y --enable-logging=e 
--enable-log-name=vpopmail --enable-mysql=y 
--enable-sqlincdir=/usr/local/mysql/include/mysql 
--enable-sqllibdir=/usr/local/mysql/lib/mysql --enable-incdir=/usr/include 
--enable-libdir=/usr/lib --enable-valias=y 
--enable-default-domain=mdlan.co.uk

which seems to go ok, but when I issue "make" it 
starts complaining about a lot of mysql functions and some C files.

(sorry for the long error message but I think there 
are 2 problems here)

vauth.c:200: `MYSQL_READ_PASSWD' undeclared (first 
use in this function)vauth.c:204: `MYSQL_UPDATE_SERVER' undeclared (first 
use in this function)vauth.c:205: `MYSQL_UPDATE_USER' undeclared (first use 
in this function)vauth.c:205: `MYSQL_UPDATE_PASSWD' undeclared (first use in 
this function)vauth.c: In function `vauth_adddomain':vauth.c:239: 
warning: assignment makes pointer from integer without a castvauth.c: In 
function `vauth_adduser':vauth.c:314: warning: format argument is not a 
pointer (arg 2)vauth.c:317: warning: assignment makes pointer from integer 
without a castvauth.c: In function `vauth_getpw':vauth.c:366: warning: 
format argument is not a pointer (arg 2)vauth.c:370: warning: assignment 
makes pointer from integer without a castvauth.c:375: warning: implicit 
declaration of function `mysql_num_rows'vauth.c:394: warning: implicit 
declaration of function `mysql_fetch_row'vauth.c:395: subscripted value is 
neither array nor pointervauth.c:395: subscripted value is neither array nor 
pointervauth.c:395: subscripted value is neither array nor 
pointervauth.c:395: subscripted value is neither array nor 
pointervauth.c:395: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:396: subscripted value is neither array nor 
pointervauth.c:397: subscripted value is neither array nor 
pointervauth.c:397: subscripted value is neither array nor 
pointervauth.c:398: subscripted value is neither array nor 
pointervauth.c:398: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:399: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:400: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:401: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c:403: subscripted value is neither array nor 
pointervauth.c: In function `vauth_deldomain':vauth.c:433: warning: 
assignment makes pointer from integer without a castvauth.c:446: warning: 
assignment makes pointer from integer without a castvauth.c: In function 
`vauth_deluser':vauth.c:479: warning: assignment makes pointer from integer 
without a castvauth.c:489: warning: assignment makes pointer from integer 
without a castvauth.c: In function `vauth_setquota':vauth.c:521: 
warning: format argument is not 

Re: [vchkpw] vpopmail 5 with mysql - vauth.c complaining

2003-02-04 Thread Matt Darcy
 nor pointer
 vauth.c: In function `vget_lastauthip':
 vauth.c:1160: warning: format argument is not a pointer (arg 2)
 vauth.c:1164: warning: assignment makes pointer from integer without a
cast
 vauth.c:1166: subscripted value is neither array nor pointer
 vauth.c:1166: subscripted value is neither array nor pointer
 vauth.c:1166: subscripted value is neither array nor pointer
 vauth.c:1166: subscripted value is neither array nor pointer
 vauth.c:1166: subscripted value is neither array nor pointer
 vauth.c: In function `vcreate_lastauth_table':
 vauth.c:1180: warning: format argument is not a pointer (arg 2)
 vauth.c:1183: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_select':
 vauth.c:1205: warning: format argument is not a pointer (arg 2)
 vauth.c:1209: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_select_next':
 vauth.c:1216: subscripted value is neither array nor pointer
 vauth.c: In function `valias_insert':
 vauth.c:1236: warning: format argument is not a pointer (arg 2)
 vauth.c:1240: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_delete':
 vauth.c:1258: warning: format argument is not a pointer (arg 2)
 vauth.c:1262: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_delete_domain':
 vauth.c:1280: warning: format argument is not a pointer (arg 2)
 vauth.c:1284: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `vcreate_valias_table':
 vauth.c:1296: warning: format argument is not a pointer (arg 2)
 vauth.c:1299: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_select_all':
 vauth.c:1316: warning: format argument is not a pointer (arg 2)
 vauth.c:1320: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `valias_select_all_next':
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1327: subscripted value is neither array nor pointer
 vauth.c:1328: subscripted value is neither array nor pointer
 vauth.c: In function `logmysql':
 vauth.c:1359: warning: assignment makes pointer from integer without a
cast
 vauth.c: In function `vcreate_vlog_table':
 vauth.c:1376: warning: assignment makes pointer from integer without a
cast
 make[2]: *** [vauth.o] Error 1
 make[2]: Leaving directory `/usr/local/src/qmail/vpopmail-5.2.1'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/qmail/vpopmail-5.2.1'
 make: *** [all-recursive-am] Error 2

 - Original Message -
 From: Michael Bowe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 04, 2003 8:27 PM
 Subject: Re: [vchkpw] vpopmail 5 with mysql - vauth.c complaining


  I think you might have edited the vmysql.h file incorrectly...
 
  Check to make sure you dont have unmatched quotation symbols,
  and also make sure you didnt remove the # symbol from the front of
  the lines :
 
 #define MYSQL_UPDATE_USER=someuser
 #define MYSQL_UPDATE_PASSWD=somepass
 
 #define MYSQL_READ_USER=someuser
 #define MYSQL_READ_PASSWD=somepass
 
  Michael.
 
  - Original Message -
  From: Matt Darcy [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, February 05, 2003 7:00 AM
  Subject: [vchkpw] vpopmail 5 with mysql - vauth.c complaining
 
 
  Hi all,
 
  not posted for a while as all has been going well with my mail server.
  I have decided to build a new mail server for a friend and I am having a
  small problem
 
  I am using mysql 3.23.55 on a linux from scratch server with glibc2.2
 
  I am using vpopmail 5.2.1
 
  I have edited vmysql.h to contain the right username/pass/servername for
 the
  root and read users, and tested them connecting with mysql
 
  I run this VERY long configure option

RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2003-01-01 Thread Matt Darcy
Still having the problem - any other suggestions of debug advice.

I am curious as to why there is no logging to better diagnose this problem.

Thanks,

Matt.


  -Original Message-
 From: Matt Darcy [mailto:[EMAIL PROTECTED]] 
 Sent: 30 December 2002 13:50
 To:   Cory Wright; vpopmail usergroup
 Subject:  RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
 logging.
 
 
 
 -Original Message-
 From: Cory Wright [mailto:[EMAIL PROTECTED]]
 Sent: 30 December 2002 05:42
 To: vpopmail usergroup
 Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
 logging.
 
 
 On Mon, Dec 30, 2002 at 01:28:57PM -0800, Matt Darcy wrote:
 
  [root@jordan pop3d]# ps ax | grep read
   1164 ?S  0:01 readproctitle service errors: ... unable to
 start
  qma
 
 This is not enough.  Do this:  `ps ax|grep readproc`.
 
 
  [root@jordan qmail-pop3d]# cat run
   #!/bin/sh
  exec /usr/local/bin/softlimit -m 500 \
  /usr/local/bin/tcpserver -H -R 0 pop-3
 /var/qmail/bin/qmail-popup \
  alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
  /var/qmail/bin/qmail-pop3d Maildir 21
 
 Not `cat run`, `cat -e run`.
 
 Cory
 
 
 
 Ok,  little better attention to detail
 
 
 [root@jordan qmail-pop3d]# ps ax|grep readproc
  1164 ?S  0:01 readproctitle service errors: ... unable to
 start qma
 il-pop3d/run: exec format error?supervise: fatal: unable to start
 qmail-pop3d/ru
 n: exec format error?supervise: fatal: unable to start qmail-pop3d/run:
 exec for
 mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
 error?s
 upervise: fatal: unable to start qmail-pop3d/run: exec format
 error?supervise: f
 atal: unable to start qmail-pop3d/run: exec format error?
  4575 pts/1R  0:00 grep readproc
 [root@jordan qmail-pop3d]#
 
 and the script
 
 [root@jordan qmail-pop3d]# cat -e run
  #!/bin/sh$
 exec /usr/local/bin/softlimit -m 500 \$
 /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
 \$
 alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
 /var/qmail/bin/qma
 il-pop3d Maildir 21$
 $
 
 Thanks,
 
 Matt

attachment: winmail.dat

[vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy
hi,

I have a redhat 7.3 system running qmail/vpopmail/vqadmin/ and sqwebmail.

All appears to be working well, ie send and recive messages from virtual
accounts, webmail auth works fine, however I cannot get my pop3 clients to
authorise and download mail.

My Mail server has to interfaces, one connects to the internet
(alesi.projecthugo.co.uk) the other is on my local lan (jordan.no-dns.co.uk)

I have a domain called mdlan.co.uk - and an account matthew.darcy on
mdlan.co.uk
if I login to [EMAIL PROTECTED] using sqwebmail I can send / recived
mail, make folders etc etc, however when I connect to it via pop3 using MS
Outlook 2000 I get a poor MS connection error.

I have tried connecting to the mail server via the internal address
jordan.no-dns.co.uk and via the external system alesi.projecthugo.co.uk
using the usernames [EMAIL PROTECTED] or matthew.darcy%mdlan.co.uk -
same connection error every time

qmail stats show pop3 is not staying up for longer than 1 second

[root@jordan pop3d]# qmailctl stat
/service/qmail-send: up (pid 30961) 925 seconds
/service/qmail-send/log: up (pid 1171) 2989243 seconds
/service/qmail-smtpd: up (pid 30963) 925 seconds
/service/qmail-smtpd/log: up (pid 1172) 2989243 seconds
/service/qmail-pop3d: up (pid 31995) 0 seconds
/service/qmail-pop3d/log: up (pid 1173) 2989243 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0

I am not sure if this is normal as shouldn't the pop3d daemon only start up
when called - if via a login request ?

Also my logs in /var/log/qmail/pop3 have no information in them

[root@jordan pop3d]# ls -la
total 8
drwxr-xr-x2 qmaill   root 4096 Dec 30 12:56 .
drwxr-xr-x4 qmaill   root 4096 Dec 30 12:30 ..
-rw-r--r--1 qmaill   nofiles 0 Nov  9 19:22 current
-rw---1 qmaill   nofiles 0 Sep 29 10:14 lock
-rw-r--r--1 qmaill   nofiles 0 Nov  9 19:22 state

Any suggestions on how to debug this / progress this / fix this.

Thanks,

Matt.









RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:20
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 12:41:09PM -0800, Matt Darcy wrote:
 /service/qmail-pop3d: up (pid 31995) 0 seconds
 /service/qmail-pop3d/log: up (pid 1173) 2989243 seconds

There is a problem in your /service/qmail-pop3d/run script.  Post the 
output of `cat -e /service/qmail-pop3d/run`.  Also, when you run `ps ax`
you should see a program called 'readproctitle' running.  What is listed
after readproctitle service errors: ?

Cory



Ok here we go

[root@jordan pop3d]# ps ax | grep read
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
[root@jordan pop3d]#


And the script

[root@jordan qmail-pop3d]# cat run
 #!/bin/sh
exec /usr/local/bin/softlimit -m 500 \
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 21


I can't see anything wrong with the startup script...




attachment: winmail.dat

RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:42
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 01:28:57PM -0800, Matt Darcy wrote:

 [root@jordan pop3d]# ps ax | grep read
  1164 ?S  0:01 readproctitle service errors: ... unable to
start
 qma

This is not enough.  Do this:  `ps ax|grep readproc`.


 [root@jordan qmail-pop3d]# cat run
  #!/bin/sh
 exec /usr/local/bin/softlimit -m 500 \
 /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\
 alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
 /var/qmail/bin/qmail-pop3d Maildir 21

Not `cat run`, `cat -e run`.

Cory



Ok,  little better attention to detail


[root@jordan qmail-pop3d]# ps ax|grep readproc
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
il-pop3d/run: exec format error?supervise: fatal: unable to start
qmail-pop3d/ru
n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
for
mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
error?s
upervise: fatal: unable to start qmail-pop3d/run: exec format
error?supervise: f
atal: unable to start qmail-pop3d/run: exec format error?
 4575 pts/1R  0:00 grep readproc
[root@jordan qmail-pop3d]#

and the script

[root@jordan qmail-pop3d]# cat -e run
 #!/bin/sh$
exec /usr/local/bin/softlimit -m 500 \$
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qma
il-pop3d Maildir 21$
$

Thanks,

Matt

attachment: winmail.dat

RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:57
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 01:49:54PM -0800, Matt Darcy wrote:

 [root@jordan qmail-pop3d]# ps ax|grep readproc
  1164 ?S  0:01 readproctitle service errors: ... unable to
start
 qma
 il-pop3d/run: exec format error?supervise: fatal: unable to start
 qmail-pop3d/ru
 n: exec format error?supervise: fatal: unable to start qmail-pop3d/run:
exec
 for
 mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
 error?s
 upervise: fatal: unable to start qmail-pop3d/run: exec format
 error?supervise: f
 atal: unable to start qmail-pop3d/run: exec format error?
  4575 pts/1R  0:00 grep readproc
 [root@jordan qmail-pop3d]#

It would be great if you could turn off line wrapping in your mailer.
Thanks.

 [root@jordan qmail-pop3d]# cat -e run
  #!/bin/sh$
 exec /usr/local/bin/softlimit -m 500 \$
 /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\$
 alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
 /var/qmail/bin/qma
 il-pop3d Maildir 21$
 $

It is hard to tell with the line wrapping, but after looking at your first
post of this file I believe the problem is that '/var/qmail/bin/qmail-pop3d`
is on a new line, when it should either be immediately after vchkpw or there
should be a \ as the last character on the vchkpw line.  Fix this, the pop3d
service should start within 5 seconds after its fixed.

What you have:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 21

What it should be:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
  /var/qmail/bin/qmail-pop3d Maildir 21

Good luck,

Cory


Hi Cory,thanks for the input. the wrapping is not from my email client it is
the fact that I am using ms telnet and that is wrapping the text - I can't
turn this off it is just ms telnet is rubbish.


I have added the / as you suggested, and the pop3 daemon starts up for 1
second then the status shows it never lives longer than a second.


[root@jordan qmail-pop3d]# ps ax|grep readproc
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
il-pop3d/run: exec format error?supervise: fatal: unable to start
qmail-pop3d/ru
n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
for
mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
error?s
upervise: fatal: unable to start qmail-pop3d/run: exec format
error?supervise: f
atal: unable to start qmail-pop3d/run: exec format error?
 7056 pts/1R  0:00 grep readproc
[root@jordan qmail-pop3d]#


(sorry about the wrap - )

and the script now looks like

[root@jordan qmail-pop3d]# cat -e run
 #!/bin/sh$
exec /usr/local/bin/softlimit -m 500 \$
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
/var/qmail/bin/q
mail-pop3d Maildir 21$
$
[root@jordan qmail-pop3d]#


I still can't connect - I am assuming this is because pop3 daemon is not
staying up longer than 1 second. I am re-reading the vchkpw documents I used
to install and configure vpopmail and it mentions setting up the qmail-pop3d
run script referencing the pop3 service from /etc/services

[root@jordan qmail-pop3d]# cat /etc/services | grep pop
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
#3com-tsmux 106/tcp poppassd
#3com-tsmux 106/udp poppassd
pop2109/tcp pop-2   postoffice  # POP version 2
pop2109/udp pop-2
pop3110/tcp pop-3   # POP version 3
pop3110/udp pop-3
pop3s   995/tcp # POP-3 over SSL
pop3s   995/udp # POP-3 over SSL
kpop1109/tcp# Pop with Kerberos
poppassd106/tcp # Eudora
poppassd106/udp # Eudora

I am assuming pop-3 is the correct alias to put in the run script (as you
can see above) should it be pop3 though ?

Thanks for your time on this,

Matt.








RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 07:15
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


Matt Darcy wrote:

  #!/bin/sh
 exec /usr/local/bin/softlimit -m 500 \
 /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\
 alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
 /var/qmail/bin/qmail-pop3d Maildir 21

 I can't see anything wrong with the startup script...

Well Matt from looking at this and the fact that I also run Redhat 7.3 I see
one thing wrong. Your default /etc/services file has your pop-3 as pop3.
There
are several ways to fix this, 1) either modify the /etc/services [bad idea],
2) Modify your run script to say pop3 [good choice], or 3) modify your run
script to say 110 instead of pop-3 [best choice, unless you use a different
port number]. Hope that helps some.

Joe



This the question I have just asked.I have modified the script again as
suggested to reference pop3 instead of pop-3.

I still cannot get the qmail-pop3d daemon to stay up longer than 1 second.

I need to know if 1 second is whats expected as I would not expect the pop3
daemon to stay up all the time just spawn when called. I could be wrong
though.

Thanks,

Matt.








RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Matt Darcy
Title: qmail + vpopmail + mysql + Redhat 8





  -Original Message-From: Lapidus, Keith 
  [mailto:[EMAIL PROTECTED]]Sent: 30 December 2002 
  06:50To: [EMAIL PROTECTED]Subject: [vchkpw] qmail + 
  vpopmail + mysql + Redhat 8
  I have two servers; one with Redhat 8 
  installed and one with redhat 7.3 installed. They both have mysql and qmail 
  installed and configured identically. The redhat 7.3 server can send and 
  receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 
  server to be the primary mailserver with vpopmail, always gives me the 
  following error:
  failure: 
  Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ I've tried the newer version of vpopmail but have 
  not gotten it to work. Has anyone else gotten qmail and vpopmail to work with 
  Redhat 8? 
  [Matt Darcy]Looks like your user accounts are on the7.3 
  server and database.
  
  export the vpopmail database and import it on the 8.0 box and 
  copythe domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 
  $VPOPMAILHOME/domains
  
  Just 
  a thought
  


RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 06:58
Cc: [EMAIL PROTECTED]; vchkpw mailing list
Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, 2002-12-30 at 16:34, Matt Darcy wrote:


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 30 December 2002 07:15
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
 logging.


 Matt Darcy wrote:

   #!/bin/sh
  exec /usr/local/bin/softlimit -m 500 \
  /usr/local/bin/tcpserver -H -R 0 pop-3
/var/qmail/bin/qmail-popup
 \
  alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
  /var/qmail/bin/qmail-pop3d Maildir 21
 
  I can't see anything wrong with the startup script...

 Well Matt from looking at this and the fact that I also run Redhat 7.3 I
see
 one thing wrong. Your default /etc/services file has your pop-3 as pop3.
 There
 are several ways to fix this, 1) either modify the /etc/services [bad
idea],
 2) Modify your run script to say pop3 [good choice], or 3) modify your run
 script to say 110 instead of pop-3 [best choice, unless you use a
different
 port number]. Hope that helps some.

 Joe



 This the question I have just asked.I have modified the script again
as
 suggested to reference pop3 instead of pop-3.

 I still cannot get the qmail-pop3d daemon to stay up longer than 1 second.

 I need to know if 1 second is whats expected as I would not expect the
pop3
 daemon to stay up all the time just spawn when called. I could be wrong
 though.

 Thanks,

 Matt.



The pop daemon should be up all the time.

You may want to check your qmailctl script for any possible errors in
calling the pop3 daemon.  Also, a few times I've had problems with
different text editors leaving some trash characters in the script when
I'v entered tabs of spaces.  That especially was a problem when I used
gedit (I run redhat too)

hope that helps some

good luck

regis


I'll check the qmailctl script - although I am quite sure it is working well
as the PID for pop3d keeps changing.


My text editor should be fine as it was vi, and I have checked it and it
looks ok. Good advice though. Any other options / suggestions ??

Thanks,

Matt.









[vchkpw] should /home/vpopmail/etc/tcp.smtp create tcp.smtp.cdb with qmailctl cdb

2002-09-29 Thread Matt Darcy



Hello all,

When running qmail (without vpopmail) you manage 
the tcp connections from /etc/tcp.smtp.
When I issue a qmailctl tcp it build the file 
/etc/tcp.smtp.cdb

Installing vpopmail should use 
/home/vpopmail/etc/tcp.smtp INSTEAD of /etc/tcp.smtp.

So, if I issue qmailctl cdb SHOULD it build 
/home/vpopmail/etc/tcp.smtp.cdb ??

At the moment I do not have and cannot creat a 
/home/vpopmail/etc/tcp.smtp.cdb.

I also have my laptop authorised to relay through 
my server 

10.11.216.11:allow,RELAYCLIENT=""

yet when 10.11.216.11 attempts to send out mail I 
get an error through outlook (but I'll deal with that later)

Thanks,

Matt.





Re: [vchkpw] should /home/vpopmail/etc/tcp.smtp create tcp.smtp.cdb with qmailctl cdb ADDITIONAL

2002-09-29 Thread Matt Darcy





  - Original Message - 
  From: 
  Matt 
  Darcy 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, September 29, 2002 8:58 
  AM
  Subject: [vchkpw] should 
  /home/vpopmail/etc/tcp.smtp create tcp.smtp.cdb with qmailctl cdb
  
  Hello all,
  
  When running qmail (without vpopmail) you manage 
  the tcp connections from /etc/tcp.smtp.
  When I issue a qmailctl tcp it build the file 
  /etc/tcp.smtp.cdb
  
  Installing vpopmail should use 
  /home/vpopmail/etc/tcp.smtp INSTEAD of /etc/tcp.smtp.
  
  So, if I issue qmailctl cdb SHOULD it build 
  /home/vpopmail/etc/tcp.smtp.cdb ??
  
  At the moment I do not have and cannot creat a 
  /home/vpopmail/etc/tcp.smtp.cdb.
  
  I also have my laptop authorised to relay through 
  my server 
  
  10.11.216.11:allow,RELAYCLIENT=""
  
  yet when 10.11.216.11 attempts to send out mail I 
  get an error through outlook (but I'll deal with that later)
  
  Thanks,
  
  Matt.
  
  
  -- ADDITIONAL --
  
  in /var/log/qmail/smtpd/$MESSAGEID I see the 
  following error
  
  @40003d96a0d11d70eb2c 
  /usr/local/bin/tcpserver: error while loading shared libraries: libm.so.6: 
  failed to map segment from shared object: Cannot allocate memory
  
  


[vchkpw] RE-Reqeust for pop3 guide. Mail was lost. Apologies

2002-09-29 Thread Matt Darcy



A couple of days ago, 

someone sent out an interesting mail with a good 
howto on using vpopmail and setting up a pop3 server on my qmail server with 
vpopmail.

I am sorry to say that a machine problem caused the 
mail to be lost,and I now have the time to go through this mail in 
detail.

Would whoever sent it please resend as a couple of 
things interested me in it.

Thanks,

Matt.



[vchkpw] pop3 not authorising clients.

2002-09-29 Thread Matt Darcy



Hi,

I "think" I have setup qmail-pop3d correctly using 
vchkpw.

My startup script looks like this.

#!/bin/sh exec 
/usr/local/bin/softlimit -m 500 
\ /usr/local/bin/tcpserver -H -R 0 
pop-3 /var/qmail/bin/qmail-popup 
\ 
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d 
Maildir 21


alesi.projecthugo.co.uk is my machines 
hostname

pop3 appears to be running

[root@jordan root]# ps -ef |grep 
poproot 24171 1153 0 10:14 
? 00:00:00 supervise 
qmail-pop3d



alesi hosts a virtual domaincalled 
parsonsmotorsport.co.uk

I have created a test user called 
robin.

In my outlook 2000 client,I setup the user account 
details

[EMAIL PROTECTED] 
and input the password

this created an error in out look

I then tried robin%parsonsmotorsport.co.uk with the 
same password, same error

and as I final attempt I tried 
robin+parsonsmotorsport.co.uk 

same error again

Outlook gives the error 

The TCP/IP Connection was unexpectedly terminated 
by the server (account Test) pop3 server: jordan.no-dns.couk error number 
0x800cc0f

there is no data in /var/log/qmail/pop3d 
logfiles


Suggestions ?

Thanks,

Matt.







Re: [vchkpw] should /home/vpopmail/etc/tcp.smtp create tcp.smtp.cdb with qmailctl cdb ADDITIONAL

2002-09-29 Thread Matt Darcy

got that bit done and working.

Thanks,

more interested in if I should have an /home/vpopmail/etc/tcp.smtp.cdb

Thanks,

Matt.

- Original Message -
From: Boris Manojlovic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 10:45 AM
Subject: Re: [vchkpw] should /home/vpopmail/etc/tcp.smtp create tcp.smtp.cdb
with qmailctl cdb ADDITIONAL


-- ADDITIONAL --
 
in /var/log/qmail/smtpd/$MESSAGEID I see the following error
 
@40003d96a0d11d70eb2c /usr/local/bin/tcpserver: error while
  loading shared libraries: libm.so.6: failed to map segment from shared
  object: Cannot allocate memory

 raise softlimit to bigger limit!

 in /service/qmail-smtpd/run file








[vchkpw] vpopmail configure pop3 mail

2002-09-24 Thread Matt Darcy



Hello all,

I am looking for a guide to setup my qmail server 
as a pop3 server using the virtualdomains / vpopmail.

I am guessing you can simpley use qmail-pop3d as 
you would do with checkpassword but a minor change to make it use vchkpw 
??

Is this right ?

Any one got any good notes / guide on doing this 
?

thanks,

Matt.



[vchkpw] configure: error: /etc/lib_deps does not exist - Read Arhives

2002-09-22 Thread Matt Darcy



Hello,

I am not sure if this message belongs in this list 
or the sqwebmail list but here goest.

I have running on a redhat 7.3 server, qmail-1.03 
vpopmail-5.2.1, qmailadmin and vqadmin. 

I am trying to compile sqwebmail.

I run ./configure 
--with-cgibindir=/usr/local/apache/cgi-bin/ 
--enable-imagedir=/usr/local/apache/icons --with-authvchkpw 
--without-ispell

all looks well until I get the error 

configure: error: /etc/lib_deps does not exist - 
upgrade vpopmail to the currentversion or fix the permissions on this 
fileconfigure: error: ./configure failed for authlib

I have read through the archive and notice a lot of 
comments towards solaris not liking ~vpopmail/etc/ and set 
vpopmail_home=/export/home/vpopmail

Even though I am running redhat I thought this 
maybe of interest as my vpopmail user is called "mailadmin" so I set 
vpopmail_home=/home/mailadmin and re-ran the configure script.

I still got the same error message.

I am wondering if 

1.) the fact that the vpopmail user is mailadmin 
?
2.) do I need to set vpopmail_home ?
3.) vpopmail is working so why is sqwebmail not 
picking up ~mailadmin/etc or /home/mailadmin/etc 

I am a little lost ?

Thanks,

Matt.