Kjetil Kjernsmo wrote:
The problem I'm seeing is that the qmail package binds something to port 25 before qpsmtpd gets the chance, so by just installing those, it hasn't worked for me. A temporary workaround for me has been to stop qmail, then restart qpsmtpd and start qmail. Then, qpsmtpd will answer on port 25, and everything Just Works. A more permanent workaround is to reorder the rc2.d scripts. Now, it looks like this:

lrwxrwxrwx  1 root root 15 2006-11-21 18:49 S20qmail -> ../init.d/qmail
lrwxrwxrwx 1 root root 17 2006-11-21 20:12 S20qpsmtpd -> ../init.d/qpsmtpd

I can't profess to know how Debian does this...  So let me assume.

If you have the djb daemontools, edit /var/qmail/supervise/qmail-smtpd/run and change the port there (smtp) to something like submission (587), or you can turn it off by using "svc -d /var/qmail/supervise/qmail-smtpd". I don't remember if that's permanent or not. If you have no need for qmail-smtpd, (re)move the qmail-smtpd in the supervise directory.

If tcpserver is started another way, you'll need to edit its config or run file to have qmail-smtpd start on some other port.

-- Bryan

Reply via email to