Yesterday I just typed in my ps fax output and looking at the response from Andreas I
realised that I had committed a typo. Sorry for wasting your time. Here is the output
from "ps faxwww > pslogfile":
PID TTY STAT TIME COMMAND
1 ? S 0:04 init
2 ? SW 0:00 [keventd]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [bdflush]
7 ? SW 0:00 [kupdated]
8 ? SW 0:00 [mdrecoveryd]
13 ? SW 0:00 [kjournald]
90 ? SW 0:00 [khubd]
184 ? SW 0:00 [kjournald]
185 ? SW 0:00 [kjournald]
186 ? SW 0:00 [kjournald]
187 ? SW 0:00 [kjournald]
188 ? SW 0:00 [kjournald]
480 ? S 0:00 syslogd -m 0
484 ? S 0:00 klogd -x
549 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P
/etc/sysconfig/apm-scripts/apmscript
587 ? S 0:03 /usr/sbin/sshd
2161 ? S 0:02 \_ /usr/sbin/sshd
2163 pts/1 S 0:00 | \_ -bash
4357 pts/1 R 0:00 | \_ ps faxwww
2213 ? S 0:00 \_ /usr/sbin/sshd
2215 ? S 0:00 \_ /usr/sbin/sshd
2216 pts/0 S 0:00 \_ -bash
610 ? S 0:00 gpm -t ps/2 -m /dev/mouse
619 ? S 0:00 crond
637 ? S 0:00 /usr/sbin/atd
647 tty2 S 0:00 /sbin/mingetty tty2
648 tty3 S 0:00 /sbin/mingetty tty3
649 tty4 S 0:00 /sbin/mingetty tty4
650 tty5 S 0:00 /sbin/mingetty tty5
651 tty6 S 0:00 /sbin/mingetty tty6
652 ? S 0:00 /bin/sh /command/svscanboot
656 ? S 0:00 \_ svscan /service
658 ? S 0:00 | \_ supervise qmail-send
3481 ? S 0:00 | | \_ qmail-send
3484 ? S 0:00 | | \_ qmail-lspawn ./Maildir/
3485 ? S 0:00 | | \_ qmail-rspawn
3486 ? S 0:00 | | \_ qmail-clean
659 ? S 0:00 | \_ supervise log
667 ? S 0:00 | | \_ /usr/local/bin/multilog t /var/log/qmail
660 ? S 0:00 | \_ supervise qmail-smtpd
3489 ? S 0:00 | | \_ /usr/local/bin/tcpserver -v -p -x
/etc/tcp.smtp.cdb -c 20 -u 502 -g 501 0 25 /var/qmail/bin/qmail-smtpd
661 ? S 0:00 | \_ supervise log
668 ? S 0:00 | | \_ /usr/local/bin/multilog t /var/log/qmail/smtpd
662 ? S 0:00 | \_ supervise imap
664 ? S 0:00 | | \_ tcpserver -c 100 -u 0 -g 0 -l post -HDRP 0 143
/opt/bincimap/bin/bincimapd --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf
/opt/bincimap/bin/bincimap-auth-checkpassword /bin/checkpassword
/opt/bincimap/bin/bincimap-uidpwd
663 ? S 0:00 | \_ supervise log
665 ? S 0:00 | | \_ multilog t n5 s1048576 /var/opt/log/bincimap
3926 ? S 0:00 | \_ supervise imaps
3928 ? S 0:00 | | \_ tcpserver -c 100 -u 0 -g 0 -l post -HDRP 0 993
/opt/bincimap/bin/bincimapd --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf
--ssl /opt/bincimap/bin/bincimap-auth-checkpassword /bin/checkpassword
/opt/bincimap/bin/bincimap-uidpwd
3927 ? S 0:00 | \_ supervise log
3929 ? S 0:00 | \_ multilog t n5 s1048576 /var/opt/log/bincimap-ssl
657 ? S 0:00 \_ readproctitle service errors:
................................................................................................................................................................................................................................................................................................................................................................................................................
931 ? S 0:00 login -- root
932 tty1 S 0:00 \_ -bash
It seems that all relevant processes are running? I don't know why I get the
"readproctitle service errors:" though; daemontools seems to be working just fine with
qmail.
netstat shows that all relevant ports are open:
netstat -vnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1507 /dev/gpmctl
I tried to telnet into port 143 and I got the Welcome copyright greeting.
I have tried to connect from Netscape Mailreader (v. 4.79), as it has got an option to
switch on/off SSL; under
Preferences | Mailserver | Edit | IMAP. With SSL on the mailserver iptables log shows
an incoming call on port 993 and with SSL off it shows an incoming call on port 143.
In neither case is the call accepted (the firewall lets them through); I also get the
password dialogue, with the correct host and usernames. However, when I type in the
password it immediately returns with "Login failed". (This is without SSL.)
I have installed Bernstein's checkpassword and tested it as proposed on
http://cr.yp.to/checkpwd/install.html
/var/qmail/bin/qmail-popup hostname /bin/checkpassword pwd. This test succeeded, i.e.
I was authenticated.
Could it be that I need to tell bincimap about checkpassword? A link perhaps?
Also, should these files be empty?
ls -l /var/opt/log/bincimap
total 2
drwxr-xr-x 2 root root 1024 Feb 24 19:13 .
drwxr-xr-x 4 root root 1024 Feb 24 18:49 ..
-rw-r--r-- 1 root root 0 Feb 24 18:51 current
-rw------- 1 root root 0 Feb 24 18:51 lock
-rw-r--r-- 1 root root 0 Feb 24 18:51 state
ls -l /var/opt/log/bincimap-ssl
total 2
drwxr-xr-x 2 root root 1024 Feb 26 12:26 .
drwxr-xr-x 4 root root 1024 Feb 24 18:49 ..
-rw-r--r-- 1 root root 0 Feb 26 12:26 current
-rw------- 1 root root 0 Feb 26 12:26 lock
-rw-r--r-- 1 root root 0 Feb 26 12:26 state
Regards
Sigmund