Re: [vchkpw] Vpopmail Debian - Problem sending Mials
Zeno Davatz writes: What will this help me? It's just a cleaner and nicer way of doing it. qmail-conf sets up the run script that way. Functionally, there is no difference. 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. That is good. It means you aren't an open relay. If you authenticate via POP3 first, then you should be able to send mail from that IP. Do I have to check this or has this already been done automatically? The POP-before-SMTP stuff is automatic. That is why you use the tcp.smtp.cdb file in the vpopmail/etc directory. clearopensmtp is not automatic, as the vpopmail makefile will not go adding things to crontab for you. I do believe that Debian vpopmail package sets this up. However, it just requires adding a single like to root's crontab: 40 * * * * root /path/to/vpopmail/bin/clearopensmtp /dev/null 21 -- David Phillips [EMAIL PROTECTED] http://david.acz.org/
Re: [vchkpw] Vpopmail Debian - Problem sending Mials
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
Zeno Davatz writes: I followed the below HOWTO and think is great - it helped me a lot. I managed to send and receive messages locally an online. Cool. What I do not quite understand yet is how vpopmail and qmail handle the outgoing messages via smtp: vpopmail does not affect outgoing mail. It controls whether or not certain IP's are allowed to relay mail when connecting to qmail-smtpd. * 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? 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. 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= 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. #!/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. 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? 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. -- David Phillips [EMAIL PROTECTED] http://david.acz.org/
Re: [vchkpw] Vpopmail Debian - Problem sending Mials
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
Zeno Davatz writes: * 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. But can not find the tcp.smtp.cdb anywhere in my vpopmail directory. It might not exist. In that case, you'll need to create it from tcp.smtp using tcprules. -- David Phillips [EMAIL PROTECTED] http://david.acz.org/
Re: [vchkpw] Vpopmail Debian
Zeno Davatz writes: svc -t /service/qmail-* When I restart my services I get: svc: warning: unable to chdir to /service/qmail-pop3d: file does not exist [snip] /service/qmail-pop3d Is /service/qmail-pop3d a valid symlink pointing to a working service directory for the pop3d service? Most likely, the symlink is broken. In that case, fix it. How did you setup the pop3d service? If you used qmail-conf and followed the directions, then it should have been created properly. You seem to be having a lot of very simple problems that would be easily answered if you read the available documentation and understood how it worked. I realize that UNIX is complex and qmail is a big system with a lot of parts. It took me a while to fully understand how it all fit together. However, once you understand everything, these problems are simple and qmail is great to work with. I strongly suggest that you start from scratch. Remove all of the qmail packages and everything else you installed. Then read Life with qmail: http://www.lifewithqmail.org/ Read it and follow the directions exactly. This will help you understand how everything works. Also read everything in /var/qmail/doc. The pictures explain a lot. Understanding is the key. Once you understand how things work, you won't need to follow directions step by step anymore. -- David Phillips [EMAIL PROTECTED] http://david.acz.org/
Re: [vchkpw] Vpopmail Debian
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
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
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
Re: [vchkpw] Vpopmail Debian
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
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
Hi Zeno, First let me say there's no need to drop me a copy of your answer to my e-mail-address directly. I'm reading the list, therefore answering on list is sufficient. On Tue, 22 Oct 2002 19:17:47 +0200 Zeno Davatz [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 So in general authentication seems to work. How 's your POP3 started? What's the complete invocation command that makes use of vchkpw for authentication? strace -f -s 512 -o /tmp/clearopensmtp.strace /usr/sbin/clearopensmtp Seems 'clearopensmtp' hangs in function 'tcprules_open()' in vpopmail.c, line 1939. Why? I dunno. As you stated you're using still 4.9.9-1 I'd suggest you remove vpopmail-bin from debian pool and compile at least a 5.2.1 from http://www.inter7.com/vpopmail, if not even a 5.3.8 from same site but devel page. The latter I'd call quite stable so there shouldn't be to much risk left. 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). -- Pit
Re: [vchkpw] Vpopmail Debian
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
Re: [vchkpw] Vpopmail Debian
Hi Zeno, On Wed, 23 Oct 2002 13:59:11 +0200 Zeno Davatz [EMAIL PROTECTED] wrote: So you also suggest not using the binaries from the Debian packages for my Mail-setup? Yes. Definitely. Seems the packages are only in unstable _and_ they're pretty old. So a manual installtion of vpopmail will be (IMHO) the best solution. -- Pit
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/
Re: [vchkpw] Vpopmail Debian
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). After that, grab the vpopmail packages in Debian as well, and install those. Blam. Apart from some tweaking, you're done. 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. YMMV. - 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/
[vchkpw] Vpopmail Debian
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
Zeno, 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. Greetings ! 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
Re: [vchkpw] Vpopmail Debian
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
Hi Zeno, On Tue, 22 Oct 2002 18:10:40 +0200 Zeno Davatz [EMAIL PROTECTED] wrote: 1. Why can't I log in Do (as root) a [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 $? 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. 2. Why does clearopensmtp and vchkpw eat all my processing power. Don't know. Seems something is 'blocking' them and they simply hang araound until this block is removed. 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. (Hint: use '-o' parameter for strace; makes life a lot easier, especially when looking at the output from a second console). -- Pit
Re: [vchkpw] Vpopmail Debian
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. HTH -- Pit
Re: [vchkpw] Vpopmail Debian
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
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
Zeno, 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 ! 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
Re: [vchkpw] Vpopmail Debian
Hi Zeno, On Tue, 22 Oct 2002 18:48:08 +0200 Zeno Davatz [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 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 :-/ 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( OK, there's a fork. See below. (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 I mean: have a look at the strace man page if you don't know the parameters. -o expects the name (and maybe path) to a log file which strace will take to put it's output in, instead of dumping it to the console. So use strace -f -s 512 -o /tmp/clearopensmtp.strace /path/to/clearopensmtp and _PLEASE_ replace '/path/to/' with the correct path to clearopensmtp. -- Pit
Re: [vchkpw] Vpopmail Debian
Hi Zeno, On Tue, 22 Oct 2002 18:52:26 +0200 Zeno Davatz [EMAIL PROTECTED] wrote: I got all this done already execpt freecdb. Will get that as soon as my vpopmail works. Whatever ... But you know 'freecdb' is not tied to vpopmail but useful for _all_ .cdb files, e.g. those tcpserver uses even without vpopmail modifying them (like POP3-cdb)? -- Pit
Re: [vchkpw] Vpopmail Debian
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
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
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