Hi, I have an ISPcofig server on Debian 9 & was running fine for past over a year All of the sudden all emails stopped postqueue -p About 1000 messages are in que I flushed all by running the command postsuper -d ALL Again que gets about a few messages & keeps increasing Then ran postsuper flush I even tried running /etc/init.d/postfix reload /etc/init.d/amavis restart All okay but again finding a long que & orgination from one email ID. I even not letting use this partucular email ID but still the same Please help Mail log as under I tried the following commands Jun 10 18:39:23 server postfix/lmtp[2118]: warning: open active 9FFD06C0E65: No such file or directory Jun 10 18:39:23 server postfix/lmtp[2145]: warning: open active 4A13E6C0960: No such file or directory Jun 10 18:39:23 server postfix/lmtp[2410]: warning: open active ED6FE6C0FB6: No such file or directory Jun 10 18:39:23 server postfix/lmtp[2118]: warning: open active E3DEF6C079F: No such file or directory Jun 10 18:39:23 server postfix/lmtp[1543]: warning: open active 13CE26C02CF: No such file or directory Jun 10 18:39:23 server postfix/lmtp[2145]: warning: open active 220966C0672: No such file or directory Thanks & regards
That is not flush, it deletes all mails in queue. Examine why messages stay in queue and do not get sent. Code: systemctl --state=failed See mail.log what it says about those messages in queue, there should be reason why it is not delivered. What commands? My signature has link to e-mail setup tutorial, it is for ISPConfig but has Troubleshooting chapter.
Sir, Thank you for the reply. I noticed, that the emails in the queue were all incoming & not the outgoing. To stop, I suspended one particular email id to which all incoming emails coming from different senders(spam) Now it is okay & no errors in incoming/outgoing. May I know, how do we block these incoming spammers, though my fail2ban is working very much Thanks
fail2ban does not examine incoming e-mails and does not block spam messages arriving. Install RSpamd or similar spam blocking application. Then tune it so it blocks those e-mails you do not want. There are umpteen tools to block spam, but none of them work 100%.