When I run postsuper -d ALL all messages from mailq are deleted. For a few seconds I am able to send emails from terminal just fine. However, even if I just stand still and do nothing after clearing the mailq, after about 20 seconds some new entries starts to show up in the queue, which prevents any other email message to be sent. In other words, if I clear the mail queue, and do nothing, new entries shows in the mail queue... and they prevent me to be able to send new email messages through the server.I already tried: Restarting the serverpostfix stoppostqueue -fpostfix flushpostsuper -d ALL deferredI also tried to: - Uninstall postfix - Uninstall cyrus-sasl - Uninstall cyrus-imapd - Uninstall mailxBut when I re-install them, the issue comes back.Nothing seems to prevent those new messages to show up on the mail queue again and again every 20 seconds.How can I fix that?
CentOS: postqueue -p show a message that keeps coming back to queue
centos;email;postfix
I believe the issue was fixed by fixing permissions on the folder: /var/lib/imap/socket/lmtpThere was also a small difference between the server's hostname and the hostname actually defined on the postfix config file. After those two things were fixed, the postfix was restarted. Hope this help someone in the future.