You can either comment out the line or you have to get the bundle (CA) certificate from cacert again and save it under this filename. Then restart postfix.
i comment out the line: # smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem in main.cf restarting postfix the same result mail.log Code: Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: warning: cannot get RSA certificate from file /etc/ssl/certs/smtpd.crt: disabling TLS support Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: warning: TLS library problem: 7334:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/smtpd.crt','r'): Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: warning: TLS library problem: 7334:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: warning: TLS library problem: 7334:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722: Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: connect from localhost[::1] Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: 109726579405: client=localhost[::1] Aug 21 15:42:14 vps-6121 postfix/cleanup[7340]: 109726579405: message-id=<[email protected]> Aug 21 15:42:14 vps-6121 postfix/qmgr[6965]: 109726579405: from=<support@MY_DOMAIN.com>, size=746, nrcpt=1 (queue active) Aug 21 15:42:14 vps-6121 postfix/smtpd[7334]: disconnect from localhost[::1] Aug 21 15:42:14 vps-6121 dovecot: imap-login: Login: user=<support@MY_DOMAIN.com>, method=PLAIN, rip=::1, lip=::1, mpid=7343, secured, session=</8LlmNEdSAAAAAAAAAAAAAAAAAAAAAAB> Aug 21 15:42:14 vps-6121 postfix/error[7341]: 109726579405: to=<support@MY_DOMAIN.com>, relay=none, delay=0.07, delays=0.06/0.01/0/0.01, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending RCPT TO) Aug 21 15:42:14 vps-6121 dovecot: imap(support@MY_DOMAIN.com): Disconnected: Logged out in=609 out=471 Aug 21 15:42:14 vps-6121 dovecot: imap-login: Login: user=<support@MY_DOMAIN.com>, method=PLAIN, rip=::1, lip=::1, mpid=7348, secured, session=<yv/smNEdTwAAAAAAAAAAAAAAAAAAAAAB> Aug 21 15:42:14 vps-6121 dovecot: imap(support@MY_DOMAIN.com): Disconnected: Logged out in=117 out=1446 Aug 21 15:42:53 vps-6121 postfix/scache[7181]: statistics: start interval Aug 21 15:39:33 Aug 21 15:42:53 vps-6121 postfix/scache[7181]: statistics: domain lookup hits=0 miss=3 success=0% Aug 21 15:42:53 vps-6121 postfix/scache[7181]: statistics: address lookup hits=0 miss=3 success=0% Aug 21 15:43:21 vps-6121 postfix/anvil[7126]: statistics: max connection rate 1/60s for (smtp:209.85.218.52) at Aug 21 15:38:40 Aug 21 15:43:21 vps-6121 postfix/anvil[7126]: statistics: max connection count 1 for (smtp:209.85.218.52) at Aug 21 15:38:40 Aug 21 15:43:21 vps-6121 postfix/anvil[7126]: statistics: max cache size 1 at Aug 21 15:38:40 Aug 21 15:43:22 vps-6121 dovecot: auth-worker(7367): mysql(localhost): Connected to database dbispconfig Aug 21 15:43:22 vps-6121 dovecot: imap-login: Login: user=<support@MY_DOMAIN.com>, method=PLAIN, rip=::1, lip=::1, mpid=7369, secured, session=<XaL0nNEdLwAAAAAAAAAAAAAAAAAAAAAB> Aug 21 15:43:22 vps-6121 dovecot: imap(support@MY_DOMAIN.com): Disconnected: Logged out in=79 out=710 Aug 21 15:43:24 vps-6121 dovecot: imap-login: Login: user=<support@MY_DOMAIN.com>, method=PLAIN, rip=::1, lip=::1, mpid=7371, secured, session=<DDkSndEdQwAAAAAAAAAAAAAAAAAAAAAB> Aug 21 15:43:24 vps-6121 dovecot: imap(support@MY_DOMAIN.com): Disconnected: Logged out in=117 out=1446 it's seems the same error
Create new ssl certs for postfix if you dont have a backup of the deleted files. openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/smtpd.crt -keyout /etc/ssl/certs/smtpd.key chmod 600 /etc/ssl/certs/smtpd.key
after this commands - something happen, i recived all the previous mail that was sent and from the sender as " Mail Delivery Subsystem". but when trying to send or recive nothing happen my mail.log - https://docs.google.com/document/d/1g5oaReXwQ_s_XAX8FKP-Oju28T2ZF1yvww2DA7od0gw/edit?usp=sharing
Please run the test script and post the output: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
https://docs.google.com/document/d/1gbm7tmE9a3o_GHQh9_6N5zt1fK0iQj0YZSoMudupSpg/edit?usp=sharing Code: ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1581015 errors:0 dropped:0 overruns:0 frame:0 TX packets:1581015 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:389146390 (371.1 MiB) TX bytes:389146390 (371.1 MiB) venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255 inet6 addr: ::2/128 Scope:Compat UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:2974216 errors:0 dropped:0 overruns:0 frame:0 TX packets:4026624 errors:0 dropped:76 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:164183538 (156.5 MiB) TX bytes:5520793675 (5.1 GiB) venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:168.144.97.85 P-t-P:168.144.97.85 Bcast:168.144.97.85 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1