Email Server is down

pixGT

Verified User
Joined
Feb 3, 2020
Messages
43
My entire email server is down. Not receiving email and not sending email add well. Please see the below image. Please advice me to solve this issue.

Untitled.png
 

pixGT

Verified User
Joined
Feb 3, 2020
Messages
43
2020-02-19 12:06:04 unexpected disconnection while reading SMTP command from ([166.123.221.120]) [145.123.113.148] D=2s
2020-02-19 12:06:20 cwd=/etc/csf 4 args: /usr/sbin/sendmail -f root -t
2020-02-19 12:06:20 1j4Snk-0004ig-1l F=<root@ds.tkdho.com> rejected by non-SMTP ACL: failed to expand ACL string "${perl{get_username}{$acl_m_uid}}": Undefined subroutine &main::get_username called.

2020-02-19 12:06:20 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1j4Snk-0004ig-1l
2020-02-19 12:06:20 1j4Snk-0004ii-37 F=<> rejected by non-SMTP ACL: failed to expand ACL string "${perl{get_username}{$acl_m_uid}}": Undefined subroutine &main::get_username called.

2020-02-19 12:06:20 1j4Snk-0004ii-37 Error while reading message with no usable sender address (R=1j4Snk-0004ig-1l): rejected by non-SMTP ACL: local configuration problem
2020-02-19 12:06:20 1j4Snk-0004ig-1l Child mail process returned status 1
 

pixGT

Verified User
Joined
Feb 3, 2020
Messages
43
Now the email sending problem is ok. I fixed that. But can't reserve emails. Please help me.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Your information is too ambiguous, it is impossible to help you without knowing details. There might be numerous reasons with the same symptoms. Anyway try and

1. rebuild dovecot, and make sure it's running
2. make sure 25 port is opened for incoming emails
3. check MX records, and make sure they are fine
4. check disk quota and mail size of email boxes
5. make sure Local Mail delivery is enabled.
6. etc.

Please search the forums and https://help.directadmin.com/ for details on how to complete each of the listed steps :)
 

Active8

Verified User
Joined
Jul 13, 2013
Messages
289
Try this:

cd /usr/local/directadmin/custombuild
./build update
./build exim
./build exim_conf
mv /etc/dovecot /etc/dovecot~moved
./build dovecot
./build dovecot_conf
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,534
Location
Maastricht
But can't reserve emails. Please help me.
If the above advises don't help and services are running, then try again and provide the log line from mainlog and/or rejectlog from that attempt. Maybe one can see in there what's wrong.
 

pixGT

Verified User
Joined
Feb 3, 2020
Messages
43
If the above advises don't help and services are running, then try again and provide the log line from mainlog and/or rejectlog from that attempt. Maybe one can see in there what's wrong.

How to check error logs >?
 

pixGT

Verified User
Joined
Feb 3, 2020
Messages
43
I solve the problem. I reinstall the spamassassin

cd /usr/local/directadmin/custombuild
./build set spamassassin yes
./build spamassassin


Thanks All . Have a great day.
 
Top