§2024-05-01

May  1 07:23:55 h2Jammy postfix/smtpd[21134]: connect from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]
May  1 07:23:55 h2Jammy postfix/smtpd[21134]: SSL_accept error from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]: -1
May  1 07:23:55 h2Jammy postfix/smtpd[21134]: warning: TLS library problem: error:0A000418:SSL routines::tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1584:SSL alert number 48:
May  1 07:23:55 h2Jammy postfix/smtpd[21134]: lost connection after STARTTLS from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]
May  1 07:23:55 h2Jammy postfix/smtpd[21134]: disconnect from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69] ehlo=1 starttls=0/1 commands=1/2

May  1 07:49:02 h2Jammy postfix/smtpd[21362]: connect from 210-242-152-235.hinet-ip.hinet.net[210.242.152.235]
May  1 07:49:02 h2Jammy postfix/smtpd[21362]: SSL_accept error from 210-242-152-235.hinet-ip.hinet.net[210.242.152.235]: -1
May  1 07:49:02 h2Jammy postfix/smtpd[21362]: warning: TLS library problem: error:0A000418:SSL routines::tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1584:SSL alert number 48:
May  1 07:49:02 h2Jammy postfix/smtpd[21362]: lost connection after STARTTLS from 210-242-152-235.hinet-ip.hinet.net[210.242.152.235]
May  1 07:49:02 h2Jammy postfix/smtpd[21362]: disconnect from 210-242-152-235.hinet-ip.hinet.net[210.242.152.235] ehlo=1 starttls=0/1 commands=1/2


¶testing SMTP without authentication

alexlai@h2Jammy:~$ grep smtpd_sasl /etc/postfix/main.cf
alexlai@h2Jammy:~$ sudo nano /etc/postfix/main.cf
[sudo] password for alexlai: 
alexlai@h2Jammy:~$ diff /etc/postfix/main.cf.ori /etc/postfix/main.cf
23a24,26
> # smtpd_sasl
> smtpd_sasl_auth_enable = no
> 
48a52,60
> 
> # DKIM
> milter_default_action = accept
> milter_protocol = 2
> smtpd_milters = inet:localhost:8891
> non_smtpd_milters = inet:localhost:8891
> 
> # smtpd_sasl_auth_enable = yes
> smtpd_sasl_auth_enable = no

alexlai@h2Jammy:~$ sudo systemctl restart postfix
May  1 08:42:47 h2Jammy postfix/smtpd[23046]: connect from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]
May  1 08:42:47 h2Jammy postfix/smtpd[23046]: SSL_accept error from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]: -1
May  1 08:42:47 h2Jammy postfix/smtpd[23046]: warning: TLS library problem: error:0A000418:SSL routines::tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1584:SSL alert number 48:
May  1 08:42:47 h2Jammy postfix/smtpd[23046]: lost connection after STARTTLS from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69]
May  1 08:42:47 h2Jammy postfix/smtpd[23046]: disconnect from 114-33-29-69.hinet-ip.hinet.net[114.33.29.69] ehlo=1 starttls=0/1 commands=1/2