Hi Trevor,

first of all, please read:

http://jonaspasche.de/common-errors/bad-thread-start

>  I have an issue where in /home/vpopmail/etc/open-smtp gets created but
> ~/vpopmail/etc/tcp.smtp.cdb doesn't get created at all.

Please show us your full ./configure line.

> drwxr-xr-x    2 vpopmail vchkpw        112 Feb  6 15:07 .
> drwxr-xr-x    8 root     root          192 Feb  5 19:17 ..
> -rw-r--r--    1 root     root           54 Feb  6 15:07 open-smtp
> -rw-r--r--    1 root     root            0 Feb  5 19:19 open-smtp.lock

The configure script tries to find:

1) "$vpopmaildir"/etc/tcp.smtp
2) /etc/tcp.smtp
3) /etc/tcprules.d/qmail-smtpd

As it didn't find 1), it took /etc/tcp.smtp which (I guess, but you can
check it) exists.

[...]
>     /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c
[...]

So you're actively _using_ /etc/tcp.smtp.cdb, why are you waiting for 
~vpopmail/tcp.smtp.cdb?

> [trevor@linmail qmail-smtpd]$ cat ../qmail-pop3d/run
> #!/bin/bash
>   exec /usr/local/bin/softlimit -m 2000000 \
>     /usr/local/bin/tcpserver -v -R -H -l 0 0 110
> /var/qmail/bin/qmail-popup \
>      FQDN /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
> -x /etc/tcp.smtp 2>&1

Who gave you that script? It's wrong.

1) "-x" is an argument for tcpserver. You entered it as an argument for
   qmail-pop3d. Remove it.

2) "-x" expects a cdb file (tcp.smtp.cdb), not a text file (tcp.smtp).

3) qmail-pop3d doesn't need that file at all.

4) "FQDN" should have been replaced with your fully-qualified hostname.

>  Though in the above scripts i am forcing updation of
> /etc/tcp.smtp.cdb....

No, you don't. What makes you think you do?

>  While compiling i have even specified at the CLI the path to the
> tcp.smtp.cdb file....but neither the /etc nor the ~/vpopmail/etc/*.cdb
> files are getting created/updated.

Again, don't tell us the interpretation of what you did; show us your
full ./configure line. And fix your startup scripts. After that, we can
go further.

>  Am in quite a fix......seems to be a very trivial issue but is really
> nagging me as i have to push our organisations mail server into
> production state.

If you're in a hurry, http://qmail.org/top.html#paidsup lists some
companies that do commercial support.

Jonas



Reply via email to