For some reason, all mail to "drh.net" has been expiring and returning to
me for weeks. So I'm posting this here hoping that either Dave Harris is
still subscribed or one of you folks might be able to help me with
smtp-poplock. Here goes!
We have a need for smtp-poplock right now, and we're anxiously
configuring it trying to get it working. Let me share a few
comments/problems. I'd greatly value your feedback/assistance!
-----------------------------------------
1. Perms on checkfifo
I don't understand why you "chmod 644 checkfifo". In order to run it, I
have to "chmod 755" or else it's not executable.
-----------------------------------------
2. checkfifo fails unless readlog is running. It gives the error:
bsd# /usr/src/smtp-poplock-2.04/checkfifo ./fifo
error opening fifo: Device not configured at
/usr/src/smtp-poplock-2.04/checkfifo line 16.
However, it's worth mentioning that checkfifo does indeed pass the test if
readlog is running. Also, running "fifo-safety" had no impact on this
behavior.
-----------------------------------------
3. Furthermore, checkfifo KILLS readlog every time.
In case it helps, here's what things look like after "make install":
bsd# pwd
/var/smtp-poplock
bsd# ls -l
total 0
-rw-r--r-- 1 root wheel 0 Dec 30 11:35 dbfile
prw------- 1 root wheel 0 Dec 30 12:11 fifo
-----------------------------------------
4. /var/run/readlog.pid
This file never appears to be created:
bsd# /usr/sbin/readlog-starter restart
cat: /var/run/readlog.pid: No such file or directory
usage: kill [-s signal_name] pid ...
kill -l [exit_status]
kill -signal_name pid ...
kill -signal_number pid ...
-----------------------------------------
5. /usr/sbin/logpopauth-pre hangs POP
After
USER joe
+OK
PASS schmo
there is no reply; the POP session is hung. Here is how it's running:
#!/bin/sh
/usr/local/bin/tcpserver -c 600 0 110 \
/var/qmail/bin/qmail-popup `hostname` \
/usr/sbin/logpopauth-pre \
/bin/checkpassword \
/usr/bin/logpopauth-post \
/var/qmail/bin/qmail-pop3d ./Maildir &
All the other problems might be ignorable, but this one is a show-stopper.
-----------------------------------------
I'd value any suggestions or questions you have. Thanks!!
Dave