Hi Yes i know there is proberly a post regarding just my question but i cant find it. I think I know where to put in the data in the config menu but cant get it to work though so this is the info from the ISP mailout.privat.bahnhof.se 465 so i thought like this system - main config - choose server and then mail Relayhost: mailout.privat.bahnhof.se:465 Relayhost User: "User" Relayhost Password: "Password" that dont work so i deleted it and then tried System "interface" main config - Mail Use SMTP to send system mails "Yes" SMTP host: mailout.privat.bahnhof.se SMTP port: 465 SMTP user: "USER" SMTP password: "PWD" Use SSL/TLS encrypted connection for SMTP: "SSL" also dont work what am i doing wrong ? \\BlueScreenTT
That's the right way. If it does not work, then check the mail.log to see why your ISP does not allow you to relay through that server.
i get nothing from this :-( Mar 14 07:09:12 gandalf postfix/smtpd[301037]: connect from localhost[127.0.0.1] Mar 14 07:09:12 gandalf postfix/smtpd[301037]: 912E11A2A24: client=localhost[127.0.0.1], sasl_method=LOGIN, [email protected] Mar 14 07:09:12 gandalf postfix/cleanup[301040]: 912E11A2A24: message-id=<[email protected]> Mar 14 07:09:12 gandalf postfix/qmgr[260750]: 912E11A2A24: from=<[email protected]>, size=599, nrcpt=1 (queue active) Mar 14 07:09:12 gandalf postfix/smtpd[301037]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6 Mar 14 07:09:12 gandalf postfix/smtp[301042]: SMTPS wrappermode (TCP port 465) requires setting "smtp_tls_wrappermode = yes", and "smtp_tls_security_level = encrypt" (or stronger) Mar 14 07:09:12 gandalf dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=301043, secured, session=<gdeZHUgwbK1/AAAB> Mar 14 07:09:12 gandalf dovecot: imap([email protected])<301043><gdeZHUgwbK1/AAAB>: Logged out in=431 out=702 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 14 07:09:13 gandalf dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=301045, secured, session=<CoakHUgwdq1/AAAB> Mar 14 07:09:13 gandalf dovecot: imap([email protected])<301045><CoakHUgwdq1/AAAB>: Logged out in=70 out=668 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 14 07:09:13 gandalf dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=301048, secured, session=<gmCnHUgwgq1/AAAB> Mar 14 07:09:13 gandalf dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=301049, secured, session=<RZGnHUgwjq1/AAAB> Mar 14 07:09:13 gandalf dovecot: imap([email protected])<301049><RZGnHUgwjq1/AAAB>: Logged out in=120 out=809 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 14 07:09:13 gandalf dovecot: imap([email protected])<301048><gmCnHUgwgq1/AAAB>: Logged out in=316 out=1545 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=233 body_count=0 body_bytes=0 Mar 14 07:09:22 gandalf postfix/smtp[301042]: 912E11A2A24: lost connection with mailout.privat.bahnhof.se[212.116.79.247] while receiving the initial server greeting
i see in the main config section that we can choose ssl or starttls maybe i have to set this for the relayserver and not just the port in the server address ?
If your relay provider just supports TLS, then you must enter that in the relay server field: tls://mailout.privat.bahnhof.se:465
I cannot imagine that this is the correct setting. SMTPS (SMTP over SSL) is long obsolete, allthough it is still supported by most providers. Based on the logs you posted you might want to try Port 587 with STARTTLS as settings.