This evening I attempted to bring up my companys qmail server. Things are
not going well.
I installed these packages
checkpassword-0.81
daemontools-0.70
qmail-1.03
ucspi-tcp-0.88
I am starting POP in a different way. I created a
/var/qmail/supervise/qmail-pop3d/run file like this:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mailperson.cardinalservices.com \
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
I made sure that 'pop3' is in /etc/services
stopped sendmail - /etc/rc.d/init.d/sendmail stop
made my aliases for postmaster and such.
I removed these lines from /etc/inetd.conf
completely REMOVED these lines
# do not uncomment smtp unless you *really* know what you are doing.
# smtp is handled by the sendmail daemon now, not smtpd. It does NOT
# run from here, it is started at boot time from /etc/rc.d/rc#.d.
#smtp stream tcp nowait root /usr/bin/smtpd smtpd
#nntp stream tcp nowait root /usr/sbin/tcpd in.nntpd
pop-2 stream tcp nowait root /usr/sbin/tcpd ipop2d
#pop-3 stream tcp nowait root /usr/sbin/tcpd ipop3d
pop-3 stream tcp nowait root /usr/sbin/tcpd popper -sR
#pop-3 stream tcp nowait root /usr/sbin/tcpd in.qpopper
imap stream tcp nowait root /usr/sbin/tcpd imapd
and rebooted the server. After reboot I do a ps waux | grep qmail
qmaild /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 771 -g 730
0 smtp /var/qmail/bin/qmail-smtpd
qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail
qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail/smtpd
qmaill /usr/local/bin/multilog t !tai64nlocal /var/log/qmail/pop3d
qmailq qmail-clean
qmailr qmail-rspawn
qmails qmail-send
root supervise qmail-send
root supervise qmail-smtpd
root supervise qmail-pop3d
root /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mailperson.cardinalservice
s.com /usr
root qmail-lspawn ./Maildir/
As I attempt to gather my mail through Outlook Express, it prompts me for
password. I try multiple accounts with no luck. My password is rejected.
That's odd. I just checked the line in the above script
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
I did a 'locate checkpassword' and it showed it in /bin, and I changed the
script, but my password still isn't good. Any Ideas?
On top of that, I got the convert-and-create script from qmail.org.
I chmod 755 it. When I run it , I get this:
Bareword found where operator expected at /var/qmail/bin/convert-and-create
line 8, near "/var/spool"
(Missing operator before pool?)
syntax error at /var/qmail/bin/convert-and-create line 8, near "/var/spool"
Execution of /var/qmail/bin/convert-and-create aborted due to compilation e
rrors.
Anyone ever come across this one? Any help is appreciated
tony.campisi