Hi again,
I took a free hdd and installed a minimal FreeBSD-system and I only have
installed
qmail, just to be sure that there aren't any configuration errors or
compliances.
After the installation of relay-ctrl I changed the run script of pop3d
from
[...]
sh -c 'exec '\
'softlimit ${DATALIMIT+"-d$DATALIMIT"} '\
'/usr/local/bin/tcpserver '\
' -vDRHl0 '\
|...]
to
[...]
sh -c 'exec '\
'envuidgid qmaild '\
'softlimit ${DATALIMIT+"-d$DATALIMIT"} '\
'/usr/local/bin/tcpserver '\
' -vUDRHl0 '\
[...]
After that the relay-ctrl-allow wasn't executed longer as root, but I
still get
"authorization failed". Any ideas where to look for errors or misstakes?
The complete
run script of the pop3d is following:
#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c 'exec '\
'envuidgid qmaild '\
'softlimit ${DATALIMIT+"-d$DATALIMIT"} '\
'/usr/local/bin/tcpserver '\
' -vUDRHl0 '\
' ${BACKLOG+"-b$BACKLOG"} '\
' ${CONCURRENCY+"-c$CONCURRENCY"} '\
' -xtcp.cdb '\
' -- "${IP-0}" "${PORT-110}" '\
'/var/qmail/bin/qmail-popup `sed 1q /var/qmail/control/me` '\
'/usr/local/bin/checkpassword '\
'/usr/local/sbin/relay-ctrl-allow' \
'/var/qmail/bin/qmail-pop3d Maildir'
Perhaps the used "checkpassword" is the Misstake?
All I get is:
olivleh1@sina> telnet ernie 110
Trying 192.168.168.100...
Connected to ernie.sesamestreet.net.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user olivleh1
+OK
pass *****
-ERR authorization failed
Connection closed by foreign host.
olivleh1@sina>
My login try (pop3-log):
2000-11-09 18:53:21.006803500 tcpserver: status: 1/40
2000-11-09 18:53:21.010286500 tcpserver: pid 2251 from 192.168.168.200
2000-11-09 18:53:21.018585500 tcpserver: ok 2251 0:192.168.168.100:110
:192.168.168.200::1363
2000-11-09 18:53:26.906486500 tcpserver: end 2251 status 256
2000-11-09 18:53:26.906952500 tcpserver: status: 0/40
my process list:
USER COMMAND
root svscan /service
root supervise pop3d
root supervise log
root supervise smtpd
root supervise log
root supervise qmail
qmaild /usr/local/bin/tcpserver -vUDRHl0 -xtcp.cdb -- 0 110 /var/qmai
qmaild /usr/local/bin/tcpserver -vUDRHl0 -xtcp.cdb -- 0 25 /var/qmail
qmaill multilog t ./main
qmaill multilog t ./main
qmails qmail-send
qmaill /usr/local/bin/multilog t /var/log/qmail qmaill
root qmail-lspawn ./Maildir/
qmailr qmail-rspawn
qmailq qmail-clean
Any Ideas?
Yours
Olli