Please do not replace the content of your post with a 'please delete' message as we can't help you with your original topic anymore then. It may take until Monday to receive an answer when you posted your question on friday after our offce closed.

Please do not replace the content of your post with a 'please delete' message as we can't help you with your original topic anymore then. It may take until Monday to receive an answer when you posted your question on friday after our offce closed.

Click to expand...

@till .. Apologies for my frustration as noticed lots of views and getting the impression I was ignorant of this knowledge by researching it before posting to support. Please can I send updated query problem on ISPConfig? below

I have 5 items stuck in 'Mail Queue' since Thursday with few stating 'Connection timed out' and 'lost connection.. while receiving the initial server greeting' then Friday, our ISPConfig servers IP was blacklisted on 'WPBL'. Managed to de-list/remove this off WPBL database but not sure why this was triggered on WPBL. I am assuming this could of been caused by the client side machine or some infected item on the ISPConfig server. I ran Clamscan and only picked up 1 item called SpoofEmail Domain but our ports 25 are closed so not sure how this got in.

Is there a process to push/remove or clear out those 'Mail Queue' items as they are still stuck in there.

Before you consider to delete them, check their content, especially the mail headers, Run:

postqueue -p

to get a list of the mails. each mail has a kind of ID has at the beginning, use this ID hash in the command:

postcat -q IDHASH

to view the conetnt of the mail. Check if these mails are really spam and if yes, check their mail headers to find out how they got send trough your system (was it a authenticated sender, was it a php script, which host has send it).

Before you consider to delete them, check their content, especially the mail headers, Run:

postqueue -p

to get a list of the mails. each mail has a kind of ID has at the beginning, use this ID hash in the command:

postcat -q IDHASH

to view the conetnt of the mail. Check if these mails are really spam and if yes, check their mail headers to find out how they got send trough your system (was it a authenticated sender, was it a php script, which host has send it).

Click to expand...

Thank you till that has helped. These mail items in the Mail Queue were from our Microsoft Exchange server as we use the Exchange SMTP connector to connect to the ISPConfig mail servers address as a dedicated SMTP purpose as we have good email reputation. By the looks of it, the mail ID header has this [12.159.140.202]:25: Connection timed out) which looks like port 25 was used but refused?