I've qmail running on a two machines acting as a small network.
One machine operates as a hub downloading the mail for the the
domain from my ISP. The other is more of a workstation and is
not connected permanently to the hub.
I've set up autoturn according to the instructions in the
serialmail package, although I wasn't quite sure about
replacing the /var/qmail/bin/qmail-smtpd invocation. I used Dave
Sill's Life with Qmail, so I put the following in
/var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=1002
NOFILESGID=102
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 5 \
-u $QMAILDUID -g $NOFILESGID 0 smtp sh -c '
/var/qmail/bin/qmail-smtpd
cd /var/qmail/autoturn
exec setlock -nx $TCPREMOTEIP/seriallock \
maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- \
$TCPREMOTEIP AutoTURN
' 2>&1
Is this ok? If so, what now do I need to do on the workstation
side to trigger the maildirsmtp from the hub?
--
I'm Keyser Soze...No, I'm Keyser Soze. I'm Keyser Soze and so's my wife!
(Monty Python play The Usual Suspects.)