URGENTLY NEED HELP - Postfix and spam
I've just noticed in the last two days something has gone horribly wrong with Postfix on SuSE 8.1. My machine has got a massive queue of emails that it is attempting to send to AOL customers that I never sent myself. AOL is refusing connections, so these emails are sitting in the queue. I've just quickly done a few mail relay tests and all passed. Now I'm not sure if it is due to the Spammer being on the same ISP as myself or due to some other problem with Postfix. I had configured it to "Soft Bounce" emails as I've been testing a few things. How can I remove all these emails from the queue, as it is sending hundreds of requests to AOLs mail servers, and this is probably not a good idea. Thanks Adam
The 03.09.26 at 21:47, Adam Leach wrote:
My machine has got a massive queue of emails that it is attempting to send to AOL customers that I never sent myself. AOL is refusing connections, so these emails are sitting in the queue. I've just quickly done a few mail relay tests and all passed.
Try to find out what those emails are. This script: #!/bin/bash WHAT=`find /var/spool/postfix/hold/*/$1` /usr/sbin/postcat $WHAT will display an email wich is in the hold state, if you know it's ID; the "mailq" command will display the IDs of all pending email. It is easy to modify the above for other situations. Resding those emails will tell you if they are, for example, bounces caused from mail rejects, or wheter somebody is using your system to send email, perhaps you are an open relay without knowing.
Now I'm not sure if it is due to the Spammer being on the same ISP as myself or due to some other problem with Postfix.
Somebody comented here a problem in the postfix configuration that left it open to machines on your same network segment, if I remember correctly.
How can I remove all these emails from the queue, as it is sending hundreds of requests to AOLs mail servers, and this is probably not a good idea.
Check what those emails are. If there is a common rule about them, perhaps you can make a litle script to delete them; I do that for mail on hold. -- Cheers, Carlos Robinson
participants (2)
-
Adam Leach
-
Carlos E. R.