[vchkpw] qmail-ext doesn't work

2006-11-30 Thread Zeno

Hi list,
I am wondering if there is anything wrong with my setting.
I use netqmail-1.0.5, chkuser-2.0.8b,
netqmail-1.05-tls-smtpauth-20060105.patch and 
vpopmail-5.4.12 with MySQL

4.0.24-10sarge auth backend in Debian Sarge 3.1r3 AMD64.
I compiled vpopmail with:
./configure --enable-roaming-users --enable-logging=p 
--disable-ip-alias-domains --disable-passwd
--disable-clear-passwd --disable-domain-quotas 
--enable-auth-module=mysql --disable-many-domains
--enable-auth-logging --enable-sql-logging --enable-valias 
--disable-mysql-limits --enable-libdir=/usr/include/mysql

--enable-qmail-ext=y

I unremark these settings in my chkuser_settings.h:
#define CHKUSER_ENABLE_ALIAS_DEFAULT
#define CHKUSER_ENABLE_USERS_EXTENSIONS
and recompile netqmail.

I make extension address for (example) user dave in
~vpopmail/domains/mydomain.com/dave/.qmail-try, just to 
try my ext address

work:
| forward [EMAIL PROTECTED]
and change the file owner to vpopmail:vchkpw.

But when I try to send an email to [EMAIL PROTECTED], 
it doesn't work like
I hope. It doesn't forward the email to me (not read 
.qmail-extaddr?), but

still deliver to dave (still read .qmail-default?).

Any ideas?

Regards
Zeno

Selamat bagi para pemenang Grand Prize Netkuis Ramadhan 1427 H
 


[vchkpw] Re: Tranferring vpopmail/domains to another server

2005-06-09 Thread Zeno Davatz
Hi

Thanks for your reply. I found the error: I had to change
/var/qmail/assign paths from /home to /var - I had to do the same for
all pat's in /var/vpopmail/domains/domain.com/user/vpasswd

Then I could log in after deleting the vpasswd.cdb file.

I guess you have no script witch would do that automatically?

Thanks and best
Zeno

On 6/8/05, Ken Jones [EMAIL PROTECTED] wrote:
 On Wednesday 08 June 2005 3:27 am, Zeno Davatz wrote:
  Hi
 
  We have a new server and I would like to transfer all the
  vpopmail-users to our new server. So far I transferred
  /var/qmail/users and /var/vpopmail/domains to my new server. But
  authentication does not want to work yet, so I can not log in through
  sqwebmail. Any hints anyone?
 
  Thanks for any Feedback.
  Zeno
 
 check the /var/qmail/users/assign file to make sure the uid/gid of
 vpopmail/vchkpw match what is in your new systems /etc/passwd file.
 
 You might also set the permissions on /var/vpopmail/
 chown -R vpopmail:vchkpw /var/vpopmail
 
 Cheers,
 Ken Jones



[vchkpw] Not in rcpt.hosts

2002-11-25 Thread Zeno Davatz
Hi

I added ywesee.com with vadddomain and [EMAIL PROTECTED] with vadduser.

When I now try to send a message to any Email-address I get: sorry this host
is not in my rcpt-list.

Any ideas what I am doing wrong.

Thanks for your help.

Zeno





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 3:45 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
 
 Do these two work fine together?
 Is there a special howto to follow?
 
 They work file together.  Remember to su to the vpopmail user before
 running ezmlm-make, otherwise you will have to chown -R the list dir
 to vpopmail.vchkpw.
Thanks for the hint. If I do

$ su vpopmail
And then
$ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list
yweseelocal.com

I get access denied.

Thanks for any help and hints.

Zeno





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 3:45 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
 
 Do these two work fine together?
 Is there a special howto to follow?
 
 They work file together.  Remember to su to the vpopmail user before
 running ezmlm-make, otherwise you will have to chown -R the list dir
 to vpopmail.vchkpw.
Done this.

Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
reply that the user [EMAIL PROTECTED] does not exist.

Am I missing something here? Should emlmz create that user?

Thanks for any help an hints.

Zeno





Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Zeno Davatz
On 31.10.2002 22:24 Uhr, Cory Wright
[EMAIL PROTECTED] wrote:

 On Thu, Oct 31, 2002 at 02:00:32PM +0100, Zeno Davatz wrote:
 
 [From a different post]
 $ su vpopmail
 And then
 $ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list
 yweseelocal.com
 
 [Previous post]
 Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
 reply that the user [EMAIL PROTECTED] does not exist.
 
 Zeno,
 
 This is not a flame, but before you post this to the list, stop and think
 about what is actually happening.
I am trying my best.

 First, you switched to the 'vpopmail' user, which is what you were supposed
 to do.
Yes correct.

 Next you ran the ezmlm-make command with several arguments that start
 with ~/ .  You seem to know what ~/ implies, so think about this a little
 and expand it.  ~/list is a shortcut for /home/vpopmail/list (assuming
 your vpopmail home directory is /home/vpopmail).  Also, ~/.qmail-list
 becomes /home/vpopmail/.qmail-list , correct?
Yes. Got that.

 So, you can see that this list is really setup like the following:
 
 ezmlm-make [options] /home/vpopmail/list \
/home/vpopmail/.qmail-list \
info-list \
yweseelocal.com
Yes they are clearer now. My list is actually up an running.

Thanks for your kind help.

Zeno





[vchkpw] Vpopmail and ezmlm

2002-10-30 Thread Zeno Davatz
Hi List

I am a Newbie to Vpopmail and ezmlm.

Do these two work fine together?
Is there a special howto to follow?

Thanks for any help and hints.

Zeno





[vchkpw] Vdeldomain

2002-10-29 Thread Zeno Davatz
I deinstalled vpopmail and installed it again from source.

I do vdeldomain yweseelocal.com and get:
Error: Domain does not exist.

I do vadddomain yweseelocal.com and get:
Error: Domain already exists.

What can I do to remove the domain completely so that I can add it again.

Thanks for any help and hints.

Zeno





Re: [vchkpw] Vdeldomain

2002-10-29 Thread Zeno Davatz
On 29.10.2002 20:14 Uhr, Clayton Weise [EMAIL PROTECTED] wrote:

 Check your qmail configs to see if it's in there:
 
 /var/qmail/control/virtualdomains
 /var/qmail/control/rcpthosts
 /var/qmail/users/assign
 
 And after you've changed those, you'll need to run a qmail-newu to rebuild
 the assign cdb file.
Thanks Clayton, for your kind help. You saved my night.

Zeno

 -Original Message-
 From: Zeno Davatz [mailto:zdavatz;ywesee.com]
 Sent: Tuesday, October 29, 2002 10:49 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Vdeldomain
 
 
 I deinstalled vpopmail and installed it again from source.
 
 I do vdeldomain yweseelocal.com and get:
 Error: Domain does not exist.
 
 I do vadddomain yweseelocal.com and get:
 Error: Domain already exists.
 
 What can I do to remove the domain completely so that I can add it again.
 
 Thanks for any help and hints.
 
 Zeno
 
 
 
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian - Problem sending Mials

2002-10-29 Thread Zeno Davatz
Hi

I followed the below HOWTO and think is great - it helped me a lot. I
managed to send and receive messages locally an online.

What I do not quite understand yet is how vpopmail and qmail handle the
outgoing messages via smtp:

On 24.10.2002 2:06 Uhr, David Phillips [EMAIL PROTECTED] wrote:
... \snip
 * Install vpopmail from source.  The Debian packages are pretty old and seem
 to be buggy, at least the last time I tried.
 
 * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use
 vpopmail.  The tcp.smtp.cdb file needs to point to the one in the vpopmail
 home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb).  This step makes
 POP-before-SMTP work.
Does this file contain the all the hosts for witch my Server will send
Email?

My run file is (I just changed the path of the vpopmail-home):

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

exec softlimit -m 200 \
  tcpserver -v -R -l 0 -x /var/lib/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD
\
-u $QMAILDUID -g $NOFILESGID 0 smtp qmail-smtpd 21

When I try to send a message I get the 5.7.1 error.
I read all the documentation for Newbies on relaying from Chris.

Thanks for any help and hints.
Zeno

 * Install a qmail-pop3d service.  The easiest way to do this is qmail-conf.
 You could use qmail-conf to redo all the qmail services, but it is easier to
 stick with the ones that qmail-run sets up:
 
 http://www.din.or.jp/~ushijima/qmail-conf.html
 
 * Allow incoming connections to pop3d.  By default, it does not allow any
 connections.  There is an add-client script in
 /var/qmail/service/qmail-pop3d that can be used.  To simply allow
 connections from everywhere, create an empty tcp file and run the Makefile.
 You will need to run the Makefile after using add-client.
 
 * Change the qmail-pop3d run script to use vpopmail.  It needs to use vchkpw
 as the checkpassword program.  Change this to your vchkpw program (ex.
 /home/vpopmail/bin/vchkpw).  The parameter to be changed is the second
 parameter to qmail-popup.
 
 * Restart all of the services:
 
 svc -t /service/qmail-*
 
 * You can make things easier if you add /var/qmail/bin and the vpopmail bin
 directory to root's PATH.
 
 --
 David Phillips [EMAIL PROTECTED]
 http://david.acz.org/





Re: [vchkpw] Vpopmail Debian - Problem sending Mials

2002-10-29 Thread Zeno Davatz
On 29.10.2002 21:27 Uhr, David Phillips [EMAIL PROTECTED] wrote:

 tcp.smtp (compiled into tcp.smtpd.cdb) controls which IP's are allowed to
 connect to tcpserver.  It defaults to allow (which would be a single
 :allow line).  Setting RELAYCLIENT for an IP tells qmail-smtpd to allow it
 to relay mail.
Ok. Got that.

 Normally, this file contains all IP's on your network, assuming you want
 them to relay through qmail.  The following is an example.  RBLSMTPD is only
 needed if you are using rblsmtpd.  Leaving it blank tells rblsmtpd to not
 perform lookups against that address (you don't want it looking up your own
 addresses):
 
 127.:allow,RELAYCLIENT=,RBLSMTPD=
 192.168.:allow,RELAYCLIENT=,RBLSMTPD=
Well obviously I forgot the '127.:...' entry. Now it works fine locally. I
will jut go an try online now.

 My run file is (I just changed the path of the vpopmail-home):
 
 If your domains directory is on /var, then make sure you have enough space
 for all the mail.
Yes I will do so.

 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 
 As a tip, you can get rid of QMAILDUID and NOFILESGID by adding -U to the
 tcpserver command line and using envuidgid qmaild as the first thing after
 exec.
What will this help me?

 exec softlimit -m 200 \
   tcpserver -v -R -l 0 -x /var/lib/vpopmail/etc/tcp.smtp.cdb -c
 $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp qmail-smtpd 21
 
 When I try to send a message I get the 5.7.1 error.
 I read all the documentation for Newbies on relaying from Chris.
 
 Does your tcp.smtp file set RELAYCLIENT for the IP that you are sending
 from?
Yes, I got '127.: ...' and '192.168.0.:... ' as an entry.
Now on my online setup I got the following problem:
In my office I am sitting behind a firewall. I got a t1 connection but I do
_not_have_a fix IP.

I am obviously sending mails only from the domains listed in rcpthosts but
somehow I still get the 5.7.1 error! Argh.

 vpopmail will create vpopmail/etc/open-smtp that it merges with tcp.smtp
 when building tcp.smtp.cdb.  It does this automatically for any IP that
 successfully authenticates via POP3 (or anything using vchkpw, such as
 Courier IMAP).  tcp.smtp.cdb is automatically rebuilt when this happens.
 
 You need to make sure vpopmail/bin/clearopensmtp is being run from cron
 every 30-60 minutes, otherwise these IP's will never expire.
Do I have to check this or has this already been done automatically?

Thanks for your kind help.
Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-24 Thread Zeno Davatz
Thanks Jason for the hint. I still got the follwoing questions:

On 24.10.2002 6:57 Uhr, Jason Lim [EMAIL PROTECTED] wrote:

 The alternative way, of course, is to use the slightly more out-of-date
 packages that Debian provides.
 
 Download (or dselect) the qmail-src package in Debian, the run
 build-qmail (during installation this will mention this, so don't
 worry).
Can you be a bit mor specific here please.

 After that, grab the vpopmail packages in Debian as well, and install
 those.
Ok, I got the new link of Iain now, so will definitely try that.

 Blam. Apart from some tweaking, you're done.
Can you be more specific on the tweaking? What all did you have to tweak?

 Of course, you don't get the new fancy features that are in the latest
 versions, but it works, and so far for us it has been reliable.
What features will I be missing?

Thanks for your help.

Zeno

 - Original Message -
 From: David Phillips [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, October 24, 2002 10:06 AM
 Subject: Re: [vchkpw] Vpopmail Debian
 
 
 Zeno Davatz writes:
 So you also suggest not using the binaries from the Debian packages
 for my Mail-setup?
 
 This is my recommendation for the easiest and best vpopmail setup on
 Debian.
 This is from memory, so I might be missing something:
 
 * Add Gerrit Pape's repository to your apt sources list.  Install the
 qmail
 package.  This will install qmail, including the necessary uids and
 gids:
 
 http://smarden.org/pape/Debian/qmail.html
 
 * Install the qmail-run package.  This will setup qmail as the mail
 transfer
 agent under daemontools.  This will uninstall exim or whatever MTA you
 already have installed.
 
 * Change the /var/qmail/rc file to deliver to Maildir.  This will break
 mail
 for local users and cause the mail system not to work as it would on a
 standard Debian system.  The mail program, for example, does not work
 with
 Maildir.  But for a POP toaster using vpopmail, this doesn't really
 matter.
 The file should look like this:
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
  qmail-start ./Maildir/
 
 * By default, the qmail-run package sets up qmail to log to syslog, as
 is
 standard for Debian.  However, the daemontools method (as setup by
 qmail-conf) is much better, in my opinion.  Fix the qmail-send and
 qmail-smtpd services to do this.  qmail-smtpd may already be setup this
 way.
 In the log directory of the service directory (say
 /service/qmail-send/log),
 change main to be a symlink to the log directory, say
 /var/log/qmail-send.
 Change the run script for the log service to be as follows:
 
 #!/bin/sh
 exec setuidgid qmaill multilog t ./main
 
 * Install vpopmail from source.  The Debian packages are pretty old and
 seem
 to be buggy, at least the last time I tried.
 
 * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to
 use
 vpopmail.  The tcp.smtp.cdb file needs to point to the one in the
 vpopmail
 home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb).  This step makes
 POP-before-SMTP work.
 
 * Install a qmail-pop3d service.  The easiest way to do this is
 qmail-conf.
 You could use qmail-conf to redo all the qmail services, but it is
 easier to
 stick with the ones that qmail-run sets up:
 
 http://www.din.or.jp/~ushijima/qmail-conf.html
 
 * Allow incoming connections to pop3d.  By default, it does not allow
 any
 connections.  There is an add-client script in
 /var/qmail/service/qmail-pop3d that can be used.  To simply allow
 connections from everywhere, create an empty tcp file and run the
 Makefile.
 You will need to run the Makefile after using add-client.
 
 * Change the qmail-pop3d run script to use vpopmail.  It needs to use
 vchkpw
 as the checkpassword program.  Change this to your vchkpw program (ex.
 /home/vpopmail/bin/vchkpw).  The parameter to be changed is the second
 parameter to qmail-popup.
 
 * Restart all of the services:
 
 svc -t /service/qmail-*
 
 * You can make things easier if you add /var/qmail/bin and the vpopmail
 bin
 directory to root's PATH.
 
 --
 David Phillips [EMAIL PROTECTED]
 http://david.acz.org/
 
 
 
 
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian

2002-10-24 Thread Zeno Davatz
On 24.10.2002 3:14 Uhr, Iain [EMAIL PROTECTED] wrote:

 Try my up to date debian vpopmail packages here:
 
 http://linux.myspinach.org/debian
Thanks I will give this one a shot an let you know.

Anything special I need to know?

Zeno

 On Wed, 23 Oct 2002 02:10, Zeno Davatz wrote:
 Hi
 
 I'm a Debian user and installed Vpopmail
 vpopmail-bin 4.9.9-1
 
 And all the other Debian packages that depend on this version.
 
 I done vadddomain and vadduser
 
 When I try to login with my UN and PW my syslog tells me:
 Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail
 [EMAIL PROTECTED]:192.168.0.71
 
 
 Also my TOP tells me:
 28280 root  20   0   792  792   488 R15.8  0.3   5:49 vchkpw
 24769 root  20   0   564  564   432 R15.1  0.2  19:49 clearopensmtp
 28390 root  20   0   576  576   444 R15.1  0.2   5:36 clearopensmtp
 28556 root  20   0   804  804   492 R15.1  0.3   5:23 vchkpw
 32047 root  20   0   576  576   444 R15.1  0.2   1:56 clearopensmtp
 32107 root  20   0   804  804   492 R15.1  0.3   1:54 vchkpw
 
 There goes my CPU power - if I let the server run all night it will
 eventually crash as the processes start doubling themselves.
 
 1. Why can't I log in
 2. Why does clearopensmtp and vchkpw eat all my processing power.
 
 Thanks for any help and hints.
 
 Zeno
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian

2002-10-24 Thread Zeno Davatz
Thanks David for the detailed description. At the moment I am just trying to
compile from source after 'Lifewithqmail'. Then I will follow your
instructions and ask if I get stuck somewhere.

Zeno

On 24.10.2002 2:06 Uhr, David Phillips [EMAIL PROTECTED] wrote:

 Zeno Davatz writes:
 So you also suggest not using the binaries from the Debian packages
 for my Mail-setup?
 
 This is my recommendation for the easiest and best vpopmail setup on Debian.
 This is from memory, so I might be missing something:
 
 * Add Gerrit Pape's repository to your apt sources list.  Install the qmail
 package.  This will install qmail, including the necessary uids and gids:
 
 http://smarden.org/pape/Debian/qmail.html
 
 * Install the qmail-run package.  This will setup qmail as the mail transfer
 agent under daemontools.  This will uninstall exim or whatever MTA you
 already have installed.
 
 * Change the /var/qmail/rc file to deliver to Maildir.  This will break mail
 for local users and cause the mail system not to work as it would on a
 standard Debian system.  The mail program, for example, does not work with
 Maildir.  But for a POP toaster using vpopmail, this doesn't really matter.
 The file should look like this:
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Maildir/
 
 * By default, the qmail-run package sets up qmail to log to syslog, as is
 standard for Debian.  However, the daemontools method (as setup by
 qmail-conf) is much better, in my opinion.  Fix the qmail-send and
 qmail-smtpd services to do this.  qmail-smtpd may already be setup this way.
 In the log directory of the service directory (say /service/qmail-send/log),
 change main to be a symlink to the log directory, say /var/log/qmail-send.
 Change the run script for the log service to be as follows:
 
 #!/bin/sh
 exec setuidgid qmaill multilog t ./main
 
 * Install vpopmail from source.  The Debian packages are pretty old and seem
 to be buggy, at least the last time I tried.
 
 * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use
 vpopmail.  The tcp.smtp.cdb file needs to point to the one in the vpopmail
 home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb).  This step makes
 POP-before-SMTP work.
 
 * Install a qmail-pop3d service.  The easiest way to do this is qmail-conf.
 You could use qmail-conf to redo all the qmail services, but it is easier to
 stick with the ones that qmail-run sets up:
 
 http://www.din.or.jp/~ushijima/qmail-conf.html
 
 * Allow incoming connections to pop3d.  By default, it does not allow any
 connections.  There is an add-client script in
 /var/qmail/service/qmail-pop3d that can be used.  To simply allow
 connections from everywhere, create an empty tcp file and run the Makefile.
 You will need to run the Makefile after using add-client.
 
 * Change the qmail-pop3d run script to use vpopmail.  It needs to use vchkpw
 as the checkpassword program.  Change this to your vchkpw program (ex.
 /home/vpopmail/bin/vchkpw).  The parameter to be changed is the second
 parameter to qmail-popup.
 
 * Restart all of the services:
 
 svc -t /service/qmail-*
 
 * You can make things easier if you add /var/qmail/bin and the vpopmail bin
 directory to root's PATH.
 
 --
 David Phillips [EMAIL PROTECTED]
 http://david.acz.org/
 
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






[vchkpw] Vpopmail - Qmail - pop3d

2002-10-24 Thread Zeno Davatz
Hi

I compiled qmail, vpopmail, checkpasswd, ucspi-tcp, daemontools form source.

I follow 'lifewithqmail' as much as I can understand it. I also followed the
Install-file of vpopmail and that says on line 203:

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
/home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir


This gives me on my maschine:
yweseealphonse:~$ sudo env - PATH=/var/qmail/bin:/user/local/bin
tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup yweseelocal.com
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
[1] 26822
yweseealphonse:~$ env: tcpserver: No such file or directory

What do I have to do to make this work.

Thanks for any help and hints.

Zeno





Re: [vchkpw] Vpopmail - Qmail - pop3d

2002-10-24 Thread Zeno Davatz
On 24.10.2002 14:14 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 Replace 'tcpserver' with the the complete path-call to tcpserver (maybe
 '/usr/local/bin/tcpserver'?)
Thanks for the hint.

 Counting the number problems you have with setting up a simple mail
 server and the simpleness of a lot of your problems (second time a path
 problem, IIRC) you should consider to engage somebody that is used to
 Linux and qmail stuff. Could be safer for your server if it is intended
 to run 24/7 in public access at a later time.
Lets see - I believe I can manage.

Have you never been a beginner?

Zeno





Re: [vchkpw] Vpopmail - Qmail - pop3d

2002-10-24 Thread Zeno Davatz
On 24.10.2002 15:23 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 Hi Zeno,
 
 On Thu, 24 Oct 2002 14:27:50 +0200
 Zeno Davatz [EMAIL PROTECTED] wrote:
 
 Counting the number problems you have with setting up a simple mail
 server and the simpleness of a lot of your problems (second time a
 path problem, IIRC) you should consider to engage somebody that is
 used to Linux and qmail stuff. Could be safer for your server if it
 is intended to run 24/7 in public access at a later time.
 
 Lets see - I believe I can manage.
 
 Have you never been a beginner?
 
 I have been. But 'til I managed this stuff safely I did not intend to
 install a server that's accessible from outside my LAN for obvious
 reasons: If I had overlooked only a small detail I could have been in
 big trouble.
 
 And a vpopmail installation is not the 'usual stuff' for a small LAN
 server not accessible from public; simply because _somewhere_ the mails
 have to come from.
I agree with you. That is why I am still testing on my LAN environment. I
also would never only test vpopmail online. I also want to test that first
locally.

And till then I will still have _a_lot_of beginner questions - I guess.

Thanks for helping in the meantime.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-24 Thread Zeno Davatz
On 24.10.2002 3:14 Uhr, Iain [EMAIL PROTECTED] wrote:

 Try my up to date debian vpopmail packages here:
 
 http://linux.myspinach.org/debian
\snip
David Phillips [EMAIL PROTECTED]
* Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use
vpopmail.  The tcp.smtp.cdb file needs to point to the one in the vpopmail
home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb).  This step makes
POP-before-SMTP work.
/snip

There is no such file if I install your package.

Thanks for help and hints.

Zeno

 On Wed, 23 Oct 2002 02:10, Zeno Davatz wrote:
 Hi
 
 I'm a Debian user and installed Vpopmail
 vpopmail-bin 4.9.9-1
 
 And all the other Debian packages that depend on this version.
 
 I done vadddomain and vadduser
 
 When I try to login with my UN and PW my syslog tells me:
 Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail
 [EMAIL PROTECTED]:192.168.0.71
 
 
 Also my TOP tells me:
 28280 root  20   0   792  792   488 R15.8  0.3   5:49 vchkpw
 24769 root  20   0   564  564   432 R15.1  0.2  19:49 clearopensmtp
 28390 root  20   0   576  576   444 R15.1  0.2   5:36 clearopensmtp
 28556 root  20   0   804  804   492 R15.1  0.3   5:23 vchkpw
 32047 root  20   0   576  576   444 R15.1  0.2   1:56 clearopensmtp
 32107 root  20   0   804  804   492 R15.1  0.3   1:54 vchkpw
 
 There goes my CPU power - if I let the server run all night it will
 eventually crash as the processes start doubling themselves.
 
 1. Why can't I log in
 2. Why does clearopensmtp and vchkpw eat all my processing power.
 
 Thanks for any help and hints.
 
 Zeno
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian

2002-10-24 Thread Zeno Davatz
First of all: THANKS for the great advice. Took me some steps further.

On 24.10.2002 2:06 Uhr, David Phillips [EMAIL PROTECTED] wrote:

 * Allow incoming connections to pop3d.  By default, it does not allow any
 connections.  There is an add-client script in
 /var/qmail/service/qmail-pop3d that can be used.  To simply allow
 connections from everywhere, create an empty tcp file and run the Makefile.
 You will need to run the Makefile after using add-client.
Sorry, can you be a bit more specific here - I am a Newbie.

 * Restart all of the services:
 
 svc -t /service/qmail-*
When I restart my services I get:
svc: warning: unable to chdir to /service/qmail-pop3d: file does not exist

A ywesee@alphonse:/service$ sudo find / -name qmail-pop3d

Gives me:

/usr/sbin/qmail-pop3d
/usr/src/q/qmail-1.03/qmail-pop3d
/var/qmail/bin/qmail-pop3d
find: /proc/11060/fd: No such file or directory
/service/qmail-pop3d

What did I do wrong?

Thanks for your time and help.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-23 Thread Zeno Davatz
Hi Pit

Thanks for helping - sorry for the cc.

On 23.10.2002 13:48 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 If the problem persists with newer version we'll probably be able to
 hunt down the culprit, at least much easier than me or anybody else
 installing a 4.9.9 with Debian specs and do the debugging job for you
 (albeit I'm running Debian [Woody] too I don't want to step back, it's
 not worth the trouble as the older version is quite outdated).
So you also suggest not using the binaries from the Debian packages for my
Mail-setup?

Zeno





[vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
Hi

I'm a Debian user and installed Vpopmail
vpopmail-bin 4.9.9-1

And all the other Debian packages that depend on this version.

I done vadddomain and vadduser

When I try to login with my UN and PW my syslog tells me:
Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail
[EMAIL PROTECTED]:192.168.0.71


Also my TOP tells me:
28280 root  20   0   792  792   488 R15.8  0.3   5:49 vchkpw
24769 root  20   0   564  564   432 R15.1  0.2  19:49 clearopensmtp
28390 root  20   0   576  576   444 R15.1  0.2   5:36 clearopensmtp
28556 root  20   0   804  804   492 R15.1  0.3   5:23 vchkpw
32047 root  20   0   576  576   444 R15.1  0.2   1:56 clearopensmtp
32107 root  20   0   804  804   492 R15.1  0.3   1:54 vchkpw

There goes my CPU power - if I let the server run all night it will
eventually crash as the processes start doubling themselves.

1. Why can't I log in
2. Why does clearopensmtp and vchkpw eat all my processing power.

Thanks for any help and hints.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
On 22.10.2002 19:20 Uhr, Alfredo Perez [EMAIL PROTECTED] wrote:

 I am also a Debian user, and I'd recommend you to compile a fresh copy
 of vpopmail since debian packages won't give you any freedom to
 pre-configure options on your system. Also if vpopmail version is too
 old, try the unstable distribution.
Thanks for the hint.

What about the other packages? Did you compile them yourself as well or did
you do apt-get (qmail, etc.)?

Thanks for your help.

Zeno
 El mar, 22-10-2002 a las 10:10, Zeno Davatz escribió:
 Hi
 
 I'm a Debian user and installed Vpopmail
 vpopmail-bin 4.9.9-1
 
 And all the other Debian packages that depend on this version.
 
 I done vadddomain and vadduser
 
 When I try to login with my UN and PW my syslog tells me:
 Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail
 [EMAIL PROTECTED]:192.168.0.71
 
 
 Also my TOP tells me:
 28280 root  20   0   792  792   488 R15.8  0.3   5:49 vchkpw
 24769 root  20   0   564  564   432 R15.1  0.2  19:49 clearopensmtp
 28390 root  20   0   576  576   444 R15.1  0.2   5:36 clearopensmtp
 28556 root  20   0   804  804   492 R15.1  0.3   5:23 vchkpw
 32047 root  20   0   576  576   444 R15.1  0.2   1:56 clearopensmtp
 32107 root  20   0   804  804   492 R15.1  0.3   1:54 vchkpw
 
 There goes my CPU power - if I let the server run all night it will
 eventually crash as the processes start doubling themselves.
 
 1. Why can't I log in
 2. Why does clearopensmtp and vchkpw eat all my processing power.
 
 Thanks for any help and hints.
 
 Zeno
 
 
 
 
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
Thanks for helping:

On 22.10.2002 18:34 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] \
 P=your_password \
 printf $U\0$P\0SDKFJSD\0 | \
 strace -o /tmp/vchkpw.log -s 256 -f -e trace=file,read \
 /home/vpopmail/bin/vchkpw /bin/true 30; echo $?

I get:
alphonse:/usr/src/v/vpopmail-5.2.1# [EMAIL PROTECTED] P=info printf
$U\0$P\0SDKFJSD\0 | strace -o /tmp/vchkpw.log -s 256 -f -e trace=file,read
/home/vpopmail/bin/vchkpw /bin/true 30; echo $?
strace: /home/vpopmail/bin/vchkpw: command not found
1

 if the output is != 0 look into '/tmp/vchkpw.log' is you can find
 anything that went wrong, e.g. vchkpw searching for wrong file or not
 being able to open.
 

 Kill them all, shut down your POP3 daemon and run 'clearopensmtp' in a
 'strace' call. See where it hangs, what it does last before not
 continuing. 
The last couple of lines are:

close(3)= 0
munmap(0x40014000, 4096)= 0
close(4)= 0
rename(/etc/vpopmail/open-smtp.tmp, /etc/vpopmail/open-smtp) = 0
chown32(0x804908b, 0xfa14, 0xfa14)  = 0
umask(022)  = 022
getpid()= 12266
pipe([3, 4])= 0
vfork(

(Hint: use '-o' parameter for strace; makes life a lot
 easier, especially when looking at the output from a second console).
You mean: 
strace -o clearopensmtp

Thanks for helping.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
On 22.10.2002 18:42 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 Hi Zeno,
 
 On Tue, 22 Oct 2002 18:29:39 +0200
 Zeno Davatz [EMAIL PROTECTED] wrote:
 
  What about the other packages? Did you compile them yourself as well
  or did you do apt-get (qmail, etc.)?
 
 vpopmail does not depend in a special (debian build) qmail-version and
 it does not require you having e.g. tcpserver installed as Debian
 package. You could easily compile them by yourself or use
 
 # Smarden.org provides several DJB pakets like qmail
 deb http://smarden.org/pape/Debian sarge unofficial pape
 deb-src http://smarden.org/pape/Debian sarge unofficial pape
 # /Smarden.org
 
 in your '/etc/apt/sources.list'
 
 Replace 'sarge' with 'woody' to get the woody packages only, but
 currently 'sarge' and 'woody' qmail package are identically (AFAICS).
 Gerrit Pape (owner of 'smarden.org' and maintainer of these unofficial
 packages) offers
 
 qmail (which requires qmail-run and qmail-uids-guids), daemontools (svc
 stuff) and uscpi-tcp
 
 Means: everything you need below vpopmail to run it.
 Doing a 'apt-get install freecdb' will additionally allow you to dump
 .cdb files (for debugging and reference purposes), but this package is
 available through normal debian distribution.
Thanks for the kind help.

I got all this done already execpt freecdb. Will get that as soon as my
vpopmail works.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
Sorry I am a Newbie.

On 22.10.2002 19:04 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 Replace '/home/vpopmail/' with the path to vpopmail home directory (e.g.
 '~vpopmail/') of your installation. Should have been obvious you should
 do a test run of vchkpw, _of course_ with correct paths :-/
alphonse:/etc/init.d# [EMAIL PROTECTED] P=info printf
$U\0$P\0SDKFJSD\0 | strace -o /tmp/vchkpw.log -s 256 -f -e trace=file,read
/usr/sbin/vchkpw /bin/true 30; echo $?

I get:
0

 strace -f -s 512 -o /tmp/clearopensmtp.strace /path/to/clearopensmtp
 
 and _PLEASE_ replace '/path/to/' with the correct path to clearopensmtp.
Thanks for the hint.

I do 
strace -f -s 512 -o /tmp/clearopensmtp.strace /usr/sbin/clearopensmtp

And my /tmp/clearopensmtp.strace says:
17991 brk(0x804b000)= 0x804b000
17991 open(/etc/vpopmail/open-smtp, O_RDWR) = 3
17991 open(/etc/vpopmail/open-smtp.tmp, O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
17991 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
17991 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40014000
17991 read(3, , 4096) = 0
17991 close(3)  = 0
17991 munmap(0x40014000, 4096)  = 0
17991 close(4)  = 0
17991 rename(/etc/vpopmail/open-smtp.tmp, /etc/vpopmail/open-smtp) = 0
17991 chown32(0x804908b, 0xfa14, 0xfa14) = 0
17991 umask(022)= 022
17991 getpid()  = 17991
17991 pipe([3, 4])  = 0
17991 vfork()   = 17992


But do not get any feedback of my DebianBox.

Thanks for helping.

Zeno





Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
On 22.10.2002 19:57 Uhr, Alfredo Perez [EMAIL PROTECTED] wrote:

 I compiled every single package (it is easier for me to have an up to
 date version when compiling), including qmail (qmail is also distributed
 as source in debian), vpopmail, courier-imap and all tools related to
 qmail (daemontools, etc...)
 
 I never use apt for my e-mail server installations. but this is me
 
 
 Good Luck !
Thanks.

Zeno

 El mar, 22-10-2002 a las 10:29, Zeno Davatz escribió:
 On 22.10.2002 19:20 Uhr, Alfredo Perez [EMAIL PROTECTED] wrote:
 
 I am also a Debian user, and I'd recommend you to compile a fresh copy
 of vpopmail since debian packages won't give you any freedom to
 pre-configure options on your system. Also if vpopmail version is too
 old, try the unstable distribution.
 Thanks for the hint.
 
 What about the other packages? Did you compile them yourself as well or did
 you do apt-get (qmail, etc.)?
 
 Thanks for your help.
 
 Zeno
 El mar, 22-10-2002 a las 10:10, Zeno Davatz escribió:
 Hi
 
 I'm a Debian user and installed Vpopmail
 vpopmail-bin 4.9.9-1
 
 And all the other Debian packages that depend on this version.
 
 I done vadddomain and vadduser
 
 When I try to login with my UN and PW my syslog tells me:
 Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail
 [EMAIL PROTECTED]:192.168.0.71
 
 
 Also my TOP tells me:
 28280 root  20   0   792  792   488 R15.8  0.3   5:49 vchkpw
 24769 root  20   0   564  564   432 R15.1  0.2  19:49 clearopensmtp
 28390 root  20   0   576  576   444 R15.1  0.2   5:36 clearopensmtp
 28556 root  20   0   804  804   492 R15.1  0.3   5:23 vchkpw
 32047 root  20   0   576  576   444 R15.1  0.2   1:56 clearopensmtp
 32107 root  20   0   804  804   492 R15.1  0.3   1:54 vchkpw
 
 There goes my CPU power - if I let the server run all night it will
 eventually crash as the processes start doubling themselves.
 
 1. Why can't I log in
 2. Why does clearopensmtp and vchkpw eat all my processing power.
 
 Thanks for any help and hints.
 
 Zeno
 
 
 
 
 
 
 
 -- 
 Mit freundlichen Grüssen / best regards
 
 Zeno Davatz
 Strategie  Akquisition
 
 +41 1 350 85 86
 
 www.ywesee.com  intellectual capital connected  www.generika.cc
 
 
 
 
 
 
 

-- 
Mit freundlichen Grüssen / best regards

Zeno Davatz
Strategie  Akquisition

+41 1 350 85 86

www.ywesee.com  intellectual capital connected  www.generika.cc






Re: [vchkpw] Vpopmail Debian

2002-10-22 Thread Zeno Davatz
On 22.10.2002 19:04 Uhr, Peter Palmreuther [EMAIL PROTECTED] wrote:

 OK ... shouldn't be that hard, really.
 
 Replace '/home/vpopmail/' with the path to vpopmail home directory (e.g.
 '~vpopmail/') of your installation. Should have been obvious you should
 do a test run of vchkpw, _of course_ with correct paths :-/
I do:
alphonse:/etc/init.d# find / -name vpopmail
/etc/vpopmail
/etc/init.d/vpopmail
/var/lib/vpopmail
/var/lib/svscan/vpopmail
/var/log/vpopmail
/usr/lib/vpopmail
/usr/share/doc/vpopmail
/usr/include/vpopmail
/home/vpopmail

Witch one is the home directory?

Thanks for helping.
Zeno