We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SMTP on 1.8.3 | Forum

Neppumuck
Neppumuck May 28 '16
Hello,

i made yesterday an fresh installation with the 1.8.3 version. When  i use the SMTP feature, i become "SMTP Error: Could not connect to SMTP host."

The mailserver is on localhost with non SSL or TLS. On my mail.log i can see follow:

May 28 10:06:12 web postfix/smtpd[5689]: connect from web.myweb.online.local[127.0.0.1]
May 28 10:06:12 web postfix/smtpd[5689]: SSL_accept error from web.myweb.online.local[127.0.0.1]: 0
May 28 10:06:12 web postfix/smtpd[5689]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
May 28 10:06:12 web postfix/smtpd[5689]: lost connection after STARTTLS from web.myweb.online.local[127.0.0.1]
May 28 10:06:12 web postfix/smtpd[5689]: disconnect from web.myweb.online.local[127.0.0.1]

when i try with SSL:
SMTP connection failed.

May 28 10:09:51 web postfix/smtpd[5740]: connect from web.myweb.online.local[127.0.0.1]
May 28 10:09:51 web postfix/smtpd[5740]: lost connection after UNKNOWN from web.myweb.online.local[127.0.0.1]
May 28 10:09:51 web postfix/smtpd[5740]: disconnect from web.myweb.online.local[127.0.0.1]

when i try with TLS:
SMTP Error: Could not connect to SMTP host.

May 28 10:12:17 web postfix/smtpd[5740]: connect from web.myweb.online.local[127.0.0.1]
May 28 10:12:17 web postfix/smtpd[5740]: SSL_accept error from web.myweb.online.local[127.0.0.1]: 0
May 28 10:12:17 web postfix/smtpd[5740]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
May 28 10:12:17 web postfix/smtpd[5740]: lost connection after STARTTLS from web.myweb.online.local[127.0.0.1]
May 28 10:12:17 web postfix/smtpd[5740]: disconnect from web.myweb.online.local[127.0.0.1]

This is an docecot server. When i try to use an other, non-local server with b1gmailserver, i become alway errors too.

so why open the oxwall-script with non SSL or TLS secured connection?
where is may mistake?

Greetings
Alex
The Forum post is edited by Neppumuck May 28 '16
Neppumuck
Neppumuck May 28 '16
the messages on my secound mailserver:

without SSL or TLS:
SMTP Error: Could not connect to SMTP host.

     SMTP     #18706 - [37.49.81.237] Disconnected (inbound: 0 / outbound: 0)     Heute, 10:18:02
    SMTP     #18706 - [37.49.81.237] QUIT     Heute, 10:18:02
    SMTP     #18706 - [37.49.81.237] TLS negotiation failed (SSL error)     Heute, 10:18:02
    SMTP     #18706 - [37.49.81.237] STARTTLS     Heute, 10:18:02
    SMTP     #18706 - [37.49.81.237] EHLO stoeckchenwerfer.de     Heute, 10:18:02
    SMTP     #18706 - [37.49.81.237] Connected

with SSL:
SMTP connection failed.

     SMTP     #18711 - [37.49.81.237] Disconnected (inbound: 0 / outbound: 0)     Heute, 10:19:54
    SMTP     #18711 - [37.49.81.237] Delay synchronization error, connection rejected     Heute, 10:19:54
    SMTP     #18711 - [37.49.81.237] Connected

with TLS:
SMTP Error: Could not connect to SMTP host.

     SMTP     #18922 - [37.49.81.237] Disconnected (inbound: 0 / outbound: 0)     Heute, 10:22:02
    SMTP     #18922 - [37.49.81.237] QUIT     Heute, 10:22:02
    SMTP     #18922 - [37.49.81.237] TLS negotiation failed (SSL error)     Heute, 10:22:02
    SMTP     #18922 - [37.49.81.237] STARTTLS     Heute, 10:22:02
    SMTP     #18922 - [37.49.81.237] EHLO stoeckchenwerfer.de     Heute, 10:22:02
    SMTP     #18922 - [37.49.81.237] Connected
Neppumuck
Neppumuck May 28 '16
i have tested with your demo 1.8.3:

SMTP test success. You can start sending emails using this connection.

with SSL
     SMTP     #19356 - [52.4.73.244] Disconnected (inbound: 0 / outbound: 0)     Heute, 10:31:42
    SMTP     #19356 - [52.4.73.244] Delay synchronization error, connection rejected     Heute, 10:31:42
    SMTP     #19356 - [52.4.73.244] Connected

with TLS:
     SMTP     #19357 - [52.4.73.244] Disconnected (inbound: 0 / outbound: 0)     Heute, 10:32:28
    SMTP     #19357 - [52.4.73.244] Delay synchronization error, connection rejected     Heute, 10:32:28
    SMTP     #19357 - [52.4.73.244] Connected
Neppumuck
Neppumuck May 28 '16
Now i installed 1.7.5. the SMTP worked fine. Then i updated via updatefunktion to 1.8.3. the same failure again.... :-(
dave Leader
dave May 28 '16
I have mine set this way and it works fine. 


host           mail.example.com  port 465

username   name@example.com

pw             pw

connection  SSL



Darryl B Leader
Darryl B May 28 '16
I am using 1.8.3, and using a gmail. Everything works fine.

Host-Port: smtp.gmail.com Port 465
username: name@gmail.com
Password: my password
Secure Connection: SSL
ross Team
ross May 30 '16
Why are you using your local smtp server as it is kind of redundant? Because you can use it already. 
Neppumuck
Neppumuck Jun 10 '16
Hi,

i want to use my local mailserver. on my first post, you can see an ssl connection with non SSL or TLS. This is my problem....
ross Team
ross Jun 13 '16
why are you using your local mail server, your mail will go there anyway, this is your local mail server, I mean it's kind of redundant to use it twice