On Wed, 2007-07-25 at 10:04 +0300, [EMAIL PROTECTED] wrote:
> Hi Jussi,
>
> Yes, you are right. The squirrel mail is configured to use SMTP only but i am
> unable to telnet on port 25 on localhost.
>
> [EMAIL PROTECTED] squirrelmail-1.4.9a]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> Connection closed by foreign host.
>
> Also the qmail-smtpd logs says that tcp.smtp file does not exists.
>
> @4000000046a7018238ada2cc tcpserver: pid 21513 from 127.0.0.1
> @4000000046a7018238ada6b4 tcpserver: warning: dropping connection, unable to
> read /home/vpopmail/etc/tcp.smtp.cdb: file does not exist
Here is your problem. Create your tcp.smtp file as per the docs.
Quote:
# NOTE: If you are on the x86_64 platform, you need to edit cdb/compile
to add the -fPIC argument to cc. It should look something like this:
'exec gcc -fPIC -02 -c ${1+"$@"}' After editing compile, do "make &&
make install-strip" again. see this post for more details
echo '127.:allow,RELAYCLIENT=""' > ~vpopmail/etc/tcp.smtp
(cd ~vpopmail/etc ; tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp)
cheers
Shane