The website you mentioned says that the port of the outbound SMTP server is 465, but you are trying to send via the default port, which is 25. See your log:
> Nov 25 16:09:50 se-gips smtpd[8102]: smtp-out: session 1b314fa0a2f272ba: > connecting to tls://217.74.64.236:25 (poczta.interia.pl) Cheers. On 25 November 2015 at 16:25, <[email protected]> wrote: > :-( it still does not work > > > I have corrected: > > /etc/opensmtpd/secrets_for_relay_via: > label [email protected]:my_pasword > > /etc/opensmtpd/smtpd.conf: > accept from local for any relay via secure+auth://[email protected] > auth <secrets_for_relay_via> > > or even to > accept from local for any relay via secure+auth://[email protected] > auth <secrets_for_relay_via> as [email protected] > > or event to > accept from local for any relay via tls+auth://[email protected] > auth <secrets_for_relay_via> > > But still: > a) > smtpctl show queue > > a81ab810ad07ac63|local|mta|auth|[email protected]|[email protected]|[email protected]|1448464190|1448809790|0|1|invalid||Network > error on destination MXs > > b) > smtpctl show envelope a81ab810ad07ac63 > > version: 2 > tag: local > type: mta > smtpname: se-gips > helo: localhost > hostname: se-gips > errorline: Network error on destination MXs > sockaddr: local > sender: [email protected] > rcpt: [email protected] > dest: [email protected] > ctime: 1448464190 > last-try: 0 > last-bounce: 0 > expire: 345600 > retry: 1 > flags: authenticated > dsn-notify: 0 > esc-class: 4 > esc-code: 0 > mta-relay: secure+auth://[email protected] > mta-relay-auth: secrets_for_relay_via > mta-relay-flags: tls > > c) > tail -f /etc/opensmtpd/maillog > > Nov 25 16:09:50 se-gips smtpd[8102]: smtp-in: session 1b314f94e2f7cdee: > connection from host se-gips [local] established > Nov 25 16:09:50 se-gips smtpd[8102]: smtp-in: session 1b314f94e2f7cdee: > msgid=a81ab810, status=Ok, from=<tomek@se-gips>, > to=<[email protected]>, size=457, ndest=1, proto=ESMTP > Nov 25 16:09:50 se-gips smtpd[8102]: smtp-in: session 1b314f94e2f7cdee: > connection from host se-gips [local] closed (client sent QUIT) > Nov 25 16:09:50 se-gips smtpd[8102]: smtp-out: session 1b314fa0a2f272ba: > connecting to tls://217.74.64.236:25 (poczta.interia.pl) > Nov 25 16:09:51 se-gips smtpd[8102]: smtp-out: session 1b314fa0a2f272ba: TLS > started version=TLSv1/SSLv3 (), cipher=ECDHE-RSA-AES256-SHA, bits=256 > Nov 25 16:09:51 se-gips smtpd[8102]: smtp-out: session 1b314fa0a2f272ba: > server certificate verification succeeded > Nov 25 16:09:51 se-gips smtpd[8102]: smtp-out: session 1b314fa0a2f272ba: > error: AUTH rejected: 535 5.7.8 Error: authentication failed: > Nov 25 16:09:51 se-gips smtpd[8102]: smtp-out: routing: Disabling route [] > <-> 217.74.64.236 (poczta.interia.pl) for 15s > Nov 25 16:09:52 se-gips smtpd[8102]: smtp-out: routing: No valid route for > [connector:[]->[relay:poczta.interia.pl,starttls,smtps,auth=secrets_for_relay_via:label,mx],0x0] > Nov 25 16:10:01 se-gips smtpd[8102]: smtp-out: session 0000000000000000: > evpid=a81ab810ad07ac63, status=TempFail, from=<[email protected]>, > to=<[email protected]>, rcpt=<->, source=-, relay=poczta.interia.pl, > delay=11s, stat=Network error on destination MXs > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] > -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
