develooper Front page | perl.qpsmtpd | Postings from September 2005

qpsmtpd 0.31-dev tls problem

Thread Next
From:
Sentono
Date:
September 30, 2005 01:46
Subject:
qpsmtpd 0.31-dev tls problem
Message ID:
perl.qpsmtpd-3717@nntp.perl.org
Hi,

 

I’ve installed qpsmtpd 0.31 rc 2 without any problem. I can send and receive
mail without any problem.

The problem is if I enable the tls function. I can’t sending email from
outlook, it shows like below :

 

@40000000432fd6cc347972e4 16768 250-mail.indoseattle.com Hi
[203.130.213.162] [203.130.213.162]

@40000000432fd6cc3479960c 16768 250-PIPELINING

@40000000432fd6cc3479a1c4 16768 250-8BITMIME

@40000000432fd6cc3479ad7c 16768 250-STARTTLS

@40000000432fd6cc3479b934 16768 250 AUTH PLAIN LOGIN CRAM-MD5

@40000000432fd6d922686344 16768 dispatching STARTTLS

@40000000432fd6d922688e3c 16768 running plugin (unrecognized_command): tls

@40000000432fd6d9226899f4 16768 220 Go ahead with TLS

@40000000432fd6d92268a5ac CA file certs/my-ca.pem not found, using CA path
instead.

@40000000432fd6e3392c40dc 16768 Loaded logging/warn 9

@40000000432fd6e339358bc4 16768 trying to get config for memory_threshold

@40000000432fd6e33956bbdc TLS setup returning

@40000000432fd6e3396a3054 16768 Plugin tls, hook unrecognized_command
returned DONE,

@40000000432fd6e40dbf89f4   got `EHLO luina

@40000000432fd6e40dbfa934 ' (12:0 bytes, VM=vm_unknown)

@40000000432fd6e40dbfb4ec 16768 dispatching EHLO luina

@40000000432fd6e40dbfc0a4 16768 running plugin (ehlo): tls

@40000000432fd6e40dbfcc5c 16768 Plugin tls, hook ehlo returned DECLINED,

@40000000432fd6e40dbfdbfc 16768 trying to get config for me

@40000000432fd6e40dbfe7b4 Use of uninitialized value in concatenation (.) or
string at lib/Qpsmtpd/SMTP.pm line 218.

@40000000432fd6e40dbff754 Use of uninitialized value in concatenation (.) or
string at lib/Qpsmtpd/SMTP.pm line 218.

@40000000432fd6e40dc189ac 16768 trying to get config for databytes

@40000000432fd6e40e012abc 16768 250-mail.indoseattle.com Hi  []

@40000000432fd6e40e014de4 16768 250-PIPELINING

@40000000432fd6e40e01599c 16768 250-8BITMIME

@40000000432fd6e40e016554 16768 250 AUTH PLAIN LOGIN CRAM-MD5

@40000000432fd6e438ca622c   got `AUTH LOGIN

@40000000432fd6e438ca7d84 ' (12:0 bytes, VM=vm_unknown)

@40000000432fd6e438ca8d24 16768 dispatching AUTH LOGIN

@40000000432fd6e438ca94f4 16768 334 VXNlcm5hbWU6

@40000000432fd72800ef9214 16768 334 UGFzc3dvcmQ6

@40000000432fd72801a44f9c Use of uninitialized value in subroutine entry at
lib/Qpsmtpd/Auth.pm line 275, <> line 1.

@40000000432fd72801a476ac 16768 running plugin (auth-login):
auth::auth_vpopmail_sql

@40000000432fd72804d81acc 16768 Plugin auth::auth_vpopmail_sql, hook
auth-login returned DECLINED,

@40000000432fd72804e332a4 16768 535 Authentication failed for óÆÚ|[hÂè -

@40000000432fd72804f48054 16768 Authentication failed for óÆÚ|[hÂè -

@40000000432fd728050410b4   got `' (0:0 bytes, VM=vm_unknown)

@40000000432fd7280629916c SSL read
errorerror:00000000:lib(0):func(0):reason(0)

@40000000432fd7280629b494  at
/usr/lib/perl5/site_perl/5.8.5/IO/Socket/SSL.pm line 543

@40000000432fd7280773e004 tcpserver: end 16768 status 0

@40000000432fd7280774032c tcpserver: status: 0/10

@40000000432fd728128da81c tcpserver: status: 1/10

@40000000432fd728128f3a74 tcpserver: pid 16775 from 203.130.213.162

@40000000432fd72812a91b74 tcpserver: ok 16775
indoseattle.com:64.246.167.213:25 :203.130.213.162::57720

 

 

Is there any perl module that I miss? 

I’m using auth_vpopmail for auth mechanism.

 

Here is my qpsmtpd  “plugins” config file :

 

= quote from plugins ==

auth/auth_vpopmail_sql

tls /home/smtpd/qpsmtpd/plugins/ssl/cert.pem
/home/smtpd/qpsmtpd/plugins/ssl/privkey.pem

 

== ssl stuff ==

#cd /home/smtpd/qpsmtpd/plugins/ssl

# ls -al

-rw-r--r--  1 smtpd smtpd 1346 Sep 21 23:59 cert.pem

-rw-r--r--  1 smtpd smtpd  887 Sep 21 23:59 privkey.pem

#

 

I’m use this command to generate cert.pem and privkey.pem

#openssl req -new -x509 -nodes -out cert.pem

 

Any help would be appreciate.

Thanks a lot :-)

 

Sentono

 



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About