kiui
October 25, 2023, 6:56am
1
Hi,
Recently, a client reports to me that he has a problem from time to time with the inability to send emails, error code 421. From the server side, I noticed that exim has a lot of action as you can see from the graph attached.
I looked through the connection queues. I do not know how to fix this problem.
Hello @kiui ,
You need to know what is going on with exim queue and why mails are not leaving the queue.
To view messages in queue:
exim -bp
To view only frozen messages:
exim -bp | grep -i frozen
or
exiqgrep -z
Then you will get the ids for queued mails and you could check exim logs to view what is happening with that mail.
For example, if you get the id 1qvIUn-000444-0p
, to search exim logs, use this exigrep
command:
exigrep 1qvIUn-000444-0p /var/log/exim4/mainlog*
If you want to view the headers of mail:
exim -Mvh 1qvIUn-000444-0p
If you want to view the body of mail:
exim -Mvb 1qvIUn-000444-0p
Also, eximstats
could show more info:
eximstats -t200 /var/log/exim4/mainlog*
Good luck,
sahsanu
4 Likes
kiui
October 25, 2023, 10:07am
3
sahsanu:
exim -Mvb
Thanks, it turned out that one side had spammed
3 Likes
system
Closed
November 24, 2023, 10:07am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.