"Neafevoc K. Marindale" [EMAIL PROTECTED] wrote:
I just setup qmail using Life with qmail, and everything seems to be
working just fine. But I wanted to use POP3 with it, and somehow trying to
add pop3d to tcpserver just isn't working.
I'm still sort of new to he *nix world. Btw, I'm using FreeBSD 4.2, if it
matters. Anyway, this is what script looks like in
/var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
exec /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
21
---
And yeah, I did put my fully qualified domain name in FQDN :)
Good.
You can't combine two services in one run script. You need to set up a
separate service for qmail-pop3.
See:
http://www.faqts.com/knowledge_base/view.phtml/aid/8225/fid/223
For instructions on setting up qmail-pop3d the LWQ way.
-Dave