Postfix SMTP server errors

Hello.

I am receiving these errors in the root email from different IPs. What should I do to fix it?

Transcript of session follows.
Postfix SMTP server: errors from starttls-virginia.securing-email.com[34.227.19.103]

Out: 220 my hostname ESMTP Postfix (Ubuntu)
In: EHLO starttls-virginia.securing-email.com
Out: 250- my hostname
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH PLAIN LOGIN
Out: 250-AUTH=PLAIN LOGIN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250-SMTPUTF8
Out: 250 CHUNKING
In: STARTTLS
Out: 454 4.7.0 TLS not available due to local problem
In: QUIT
Out: 221 2.0.0 Bye

For other details, see the local mail logfile

| SYSTEM INFORMATION||
|Operating system|Ubuntu Linux 24.04.2|

|Webmin version|2.202 |Usermin version|2.102|
|Virtualmin version|7.30.4

Check the mail log file as it says in the error.

Where can I find the log file??

I think this is the error log. /var/log/mail/err

2025-02-28T13:37:47.981532+02:00 panel milter-greylist: starting with an empty greylist
2025-02-28T13:37:47.981521+02:00 panel milter-greylist: cannot read dumpfile “/var/lib/milter-greylist/greylist.db”
2025-02-28T10:32:19.921806+02:00 panel milter-greylist: starting with an empty greylist
2025-02-28T10:32:19.921800+02:00 panel milter-greylist: cannot read dumpfile “/var/lib/milter-greylist/greylist.db”
2025-02-28T10:16:20.701388+02:00 panel milter-greylist: starting with an empty greylist
2025-02-28T10:16:20.701381+02:00 panel milter-greylist: cannot read dumpfile “/var/lib/milter-greylist/greylist.db”
2025-02-28T00:39:32.268630+02:00 panel milter-greylist: starting with an empty greylist
2025-02-28T00:39:32.268624+02:00 panel milter-greylist: cannot read dumpfile “/var/lib/milter-greylist/greylist.db”
2025-02-28T00:10:58.783714+02:00 panel spamd[37911]: Can’t locate Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm in @INC (you may need to install the Mail::SpamAssassin::CompiledRegexps::body_neg2000 module) (@INC entries checked: /var/lib/spamassassin/compiled/5.038/4.000000 /var/lib/spamassassin/compiled/5.038/4.000000/auto /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at (eval 2043) line 1.
2025-02-28T00:10:58.782662+02:00 panel spamd[37911]: Can’t locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (you may need to install the Mail::SpamAssassin::CompiledRegexps::body_0 module) (@INC entries checked: /var/lib/spamassassin/compiled/5.038/4.000000 /var/lib/spamassassin/compiled/5.038/4.000000/auto /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at (eval 2042) line 1.
2025-02-28T00:10:02.970179+02:00 panel postfix/sendmail[29520]: fatal: open /etc/postfix/main.cf: No such file or directory
2025-02-28T00:09:56.527264+02:00 panel milter-greylist: starting with an empty greylist
2025-02-28T00:09:56.526964+02:00 panel milter-greylist: cannot read dumpfile “/var/lib/milter-greylist/greylist.db”

Out: 454 4.7.0 TLS not available due to local problem

Is this a new server? and have you made sure the relevant domains have Letsencrypt enabled and by default these certs should install them for use with the mail server.

I would guess that
fatal: open /etc/postfix/main.cf: No such file or directory
Is slightly more important

2 Likes

This is a fair question. Did the system ever work or did something change?

The problem was fixed. I deleted the domain and created it again.

1 Like