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 2000000 \ tcpserver -v -R -l 0 -x /var/lib/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp qmail-smtpd 2>&1 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/