My signature has link to Fail2Ban setup tutorial, read it to see how you can check if fail2ban is running.
Regarding the SSL, wel I followed guide here on howtoforge, by running: ispconfig_update.sh --force I've chose to reconfigure services.
Please do not hijack other users threads. Create a new thread, describe what exact problem you have and what you tried to solve it.
Getting even back to my issue here... So the receiving e-mails is going well, and problem was the sending e-mails. After the advice it was indeed blocked ports. Recently i've unblocked those ports 25 and 235. BUT the mails sending is still an issue. Just to remind that I've followed the guide to set up the client: The hostname: my server Incoming SSL/TLS : 993 Outgoing SSL/TLS: 587 But when I send the e-mail, I immidiately receive back and e-mail: Undeliverable With following technical details: SmtpSubmissionPermanent5XXException: Smtp submission failed. Server 'server.mycompany.com' Port '587'. --> Unexpected SMTP server response. Expected: 235, actual: 535, whole response: 535 5.7.8 Error: authentication failed: (reason unavailable) Failure code: cf24 Any idea, what exactly I need to do?
So when I do it form my desktop outlook, it takes some time. When I send there is nothing special logged in the log file on the server, only this at the same timeframe: 2024-08-18T23:34:15.105671+02:00 server postfix/submission/smtpd[3818412]: connect from unknown[52.97.205.85] 2024-08-18T23:34:17.322893+02:00 server postfix/submission/smtpd[3818412]: warning: unknown[52.97.205.85]: SASL LOGIN authentication failed: (reason unavailable), [email protected] 2024-08-18T23:34:17.349733+02:00 server postfix/submission/smtpd[3818412]: lost connection after AUTH from unknown[52.97.205.85] 2024-08-18T23:34:17.349831+02:00 server postfix/submission/smtpd[3818412]: disconnect from unknown[52.97.205.85] ehlo=2 starttls=1 auth=0/1 commands=3/4 2024-08-18T23:34:51.061041+02:00 server postfix/smtpd[3818102]: connect from unknown[178.215.236.70] 2024-08-18T23:34:53.136233+02:00 server postfix/smtpd[3818102]: warning: unknown[178.215.236.70]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=ticket 2024-08-18T23:34:53.150530+02:00 server postfix/smtpd[3818102]: lost connection after AUTH from unknown[178.215.236.70] 2024-08-18T23:34:53.150614+02:00 server postfix/smtpd[3818102]: disconnect from unknown[178.215.236.70] ehlo=1 auth=0/1 commands=1/2 2024-08-18T23:35:00.157858+02:00 server postfix/anvil[3808713]: statistics: max connection rate 1/60s for (smtp:193.32.162.23) at Aug 18 23:25:35 2024-08-18T23:35:00.158005+02:00 server postfix/anvil[3808713]: statistics: max connection count 1 for (smtp:193.32.162.23) at Aug 18 23:25:35 2024-08-18T23:35:00.158028+02:00 server postfix/anvil[3808713]: statistics: max message rate 1/60s for (submission:109.140.33.171) at Aug 18 23:28:15 2024-08-18T23:35:00.158048+02:00 server postfix/anvil[3808713]: statistics: max cache size 4 at Aug 18 23:34:15 2024-08-18T23:35:02.098338+02:00 server postfix/smtpd[3818102]: connect from localhost.localdomain[127.0.0.1] 2024-08-18T23:35:02.098412+02:00 server postfix/smtpd[3818102]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] 2024-08-18T23:35:02.098452+02:00 server postfix/smtpd[3818102]: disconnect from localhost.localdomain[127.0.0.1] commands=0/0 2024-08-18T23:35:02.103465+02:00 server dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<iWAJ9/sfDId/AAAB> 2024-08-18T23:35:02.104468+02:00 server dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<XWUJ9/sfDqp/AAAB> 2024-08-18T23:35:55.816720+02:00 server postfix/submissions/smtpd[3818549]: connect from unknown[91.238.181.32] 2024-08-18T23:35:55.829823+02:00 server postfix/submissions/smtpd[3818549]: SSL_accept error from unknown[91.238.181.32]: -1 2024-08-18T23:35:55.829886+02:00 server postfix/submissions/smtpd[3818549]: warning: TLS library problem: error:0A00010B:SSL routines::wrong version number:../ssl/record/ssl3_record.c:354: 2024-08-18T23:35:55.830057+02:00 server postfix/submissions/smtpd[3818549]: lost connection after CONNECT from unknown[91.238.181.32] 2024-08-18T23:35:55.830115+02:00 server postfix/submissions/smtpd[3818549]: disconnect from unknown[91.238.181.32] commands=0/0 On iPhone, I get immidiately error, "server did not accept the message". And on the mail.log I found the following error: 2024-08-18T23:28:15.911045+02:00 server postfix/submission/smtpd[3818085]: NOQUEUE: reject: RCPT from unknown[109.140.33.171]: 554 5.7.1 <unknown[109.140.33.171]>: Client host rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<smtpclient.apple>
And you are using port 587 as sending port in your mail client and you have unblocked port 587 as well? because email sending today does not happen on port 25 anymore, port25 is used for communication between different mail servers and not for sending from a client to a server.
Ok, it works now fine. I did not configure properly it seems the outgoing smtp, inputted a wrong value.... Sorry
If a may ask it here, is there anyway to make my emails like info@ / contact@ not to get to spam folder? Because myname@ gets to the inbox, but not info or contact
I use info@ regularly and do not have any issues. Where does it end up in spam folder, on your system or at gmail or another big email provider? To avoid ending up in the spam folder, it's important to have a proper PTR record for the server IP, an SPF record for the sending domain and system hostname, DKIM enabled, a DKIM (TXT) record in DNS, and a proper DMARC record.
Indeed, on hotmail. Thanks a lot, many new abbreviations, I'll try to investigate ... if I will be stuck somewhere, I'll ping here.