Thanks for the help so far.

I am still struggling to get this.

Original tcpserver pop3d line:
# ps x | grep qmail
root /usr/local/bin/tcpserver -v 0 pop3 /usr/local/qmail/bin/pop5smtp
/usr/local/libexec/popper

> I've never heard of pop5smtp before. You should be using qmail-pop3d
> instead. Just replace the line in your init scripts that launches pop5smtp
> with the line that I gave you. Then either reboot or kill process 203 then
> run the line with qmail-pop3d.

I looked up pop5smtp and discovered that it is a Japanese pop-before-smtp
program. (Homepage at: http://www.mimori.org/~h/pop5smtp/ for the curious)
This is not surprising since the former admin here was Japanese.

Anyway, I searched and poked and grepped and looked through Running Qmail,
but I could not find a startup script anywhere that starts the tcpserver
line above. I don't know where it is coming from. I went ahead and made a
note of the command, then created a new script:

# ls -l /usr/local/qmail/bin/qmail-pop3d-new
-rwxr-xr-x  1 root  qmail  174 May 10 14:12
/usr/local/qmail/bin/qmail-pop3d-new*

with contents:

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver 0 pop3 /var/qmail/bin/qmail-popup mydom.co.jp \
/home/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d-new Maildir &

I then killed the original tcpserver process and executed this instead:

# /usr/local/bin/tcpserver -v 0 pop3 /usr/local/qmail/bin/qmail-pop3d-new &

After that, I tried: telnet localhost 110, but got a Connection closed by
foreign host.
At this point, I also started getting tcpserver output on the console:

tcpserver: status: 1/40
tcpserver: pid 68810 from 127.0.0.1
tcpserver: ok 68810 localhost.mydom.co.jp:127.0.0.1:110
localhost.mydom.co.jp:127.0.0.1::2919
tcpserver: status: 2/40
tcpserver: pid 68811 from 210.175.32.120
tcpserver: ok 68811 warabi.mydom.co.jp:210.172.82.227:110
:210.175.32.120::63876
tcpserver: end 68811 status 0
tcpserver: status: 1/40
tcpserver: end 68810 status 0
tcpserver: status: 0/40

It obviously wasn't working the way I wanted, so I killed the new tcpserver
process and executed the old one to restore things.
However, I still get the above tcpserver output on the console... :-(

Anyone know what is going wrong here?

Thanks,

Shawn

Reply via email to