-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----Original Message-----
From: Russell Nelson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 27, 1999 3:44 PM
To: Qmail List (E-mail)
Subject: Re: Qmail and Open-SMTP


Gordon Smith writes:
 > I have been trying, rather unsuccessfully, to get open-smtp working
 > over the last few days.

 >         /usr/src/smtp-poplock/relaylock \

What is this doing here?

Oops. My mistake.
I missed that. My shell script is now:

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

supervise /var/run/qmail-smtpd \
        tcpserver \
        -x /etc/tcp.smtp.cdb \
        -u 502 \
        -g 501 \
        -c 100 \
        -v \
        0 25 \
        /var/qmail/bin/qmail-smtpd \
        2>&1 | /var/qmail/bin/splogger smtpd 3 &

tcpserver \
        -v \
        0 110 /var/qmail/bin/qmail-popup mailhost.hortauto.co.nz \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir | 2>&1 &

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail 

Checkpassword is patched with the PAM diffs and the Open-smtp patch.
Had no probs compiling.
/etc/tcp.smtp.filter.newer isn't being updated though.
When I look at the processes running, this is what I have:

/root]# ps ax |grep qmail
  397  ?  S    0:00 supervise /var/run/qmail-smtpd tcpserver -x
/etc/tcp.smtp.cd
  398  ?  S    0:00 /var/qmail/bin/splogger smtpd 3 
  399  ?  S    0:00 tcpserver -v 0 110 /var/qmail/bin/qmail-popup
mail.domain.com
  402  ?  S    0:00 qmail-lspawn ./Maildir/ 
  417  ?  S    0:00 /var/qmail/bin/qmail-popup mail.domain.com
/bin/checkpassword
  422  ?  S    0:00 /var/qmail/bin/qmail-popup mail.domain.com
/bin/checkpassword
  514  ?  S    0:00 tcpserver -v 0 110 /var/qmail/bin/qmail-popup
mail.domain.com
  401  ?  S    0:00 splogger qmail 
  404  ?  S    0:00 qmail-clean 
  403  ?  S    0:00 qmail-rspawn 
  396  ?  S    0:00 qmail-send 
  418  ?  S    0:00 /var/qmail/bin/qmail-pop3d Maildir 
  423  ?  S    0:00 /var/qmail/bin/qmail-pop3d Maildir 

(Lines truncated by my terminal program)

In rc.local, I call csh -cf '/var/qmail/rc &'

Perhaps I should be setting tcp-env?

Cheers,
Gordon Smith  MCP
Network Administrator

- -----------------------------------------
Compac by Horticultural Automation Ltd
Phone Intl + 64 9 634 00 88
Fax     Intl + 64 9 634 44 91
Email [EMAIL PROTECTED]
PGP Public Key is available at: http://pgpkeys.mit.edu





-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2

iQA/AwUBNyWBJBd1+wtRT57SEQLvsACgkijXQH0P5O4Cft1K6j8/vbrwKZYAoMgV
7A11jibzvhYvK56qxQItqP7N
=ZLSQ
-----END PGP SIGNATURE-----

Reply via email to