Detect if your mailserver is used as a spambot

To detect if your mail server is being used as a spambot, read this article.

= Postfix = If you are using the postfix mta, you can detect if your server is used as a spambot: ls -ltr /var/log
 * send yourself a mail
 * see which log file contains the information about sent mail:
 * you might see a file named mail.info. mail.info is used in this example.

cat /var/log/mail.info | grep relay= cat /var/log/mail.info | grep -E "^.* .* .* .*: .*: to="
 * read your log file and see if other people use your mail server to send mail:
 * verify that no bot has send mails from your computer: