1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

DNS blacklist log info (qmail)

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by hgmichna, Nov 7, 2009.

  1. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    I use a number of DNS blacklists in the Plesk mail server settings (with qmail), and altogether they work exceedingly well.

    However, I would like to know which of the blacklist blocked how many emails. Any idea in which log file on the server I can find this information?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    There is no any special log for blacklists. Therefore you can just analyse /usr/local/psa/var/log/maillog with 'grep' and 'wc -l'
     
  3. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Thanks, but the file does not contain any information on which blacklist caused rejection. In fact, I could not find any information on mail rejections at all.

    Any further ideas? Perhaps I should raise the loglevel for the module that does the blacklist processing, possibly rblsmtpd, but I could not find any configuration for it anywhere. Perhaps it is only configured through /etc/initd.d/smtp_psa, but again I'm pretty much in the dark here. Any hints are welcome.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Any blacklist's reject should be logged in maillog. For example:

    DEFER means that grey interval there.

    Did you find similar lines in your maillog?
     
  5. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    You are mistaking greylisting for blacklisting. The log sample shows greylisting, but I am talking about DNS blacklists, as the title shows.

    My problem is that the log does not show any information about DNS blacklist processes at all.

    That may be because the blacklist agent, apparently rblsmtpd, does not log, which would be bad.

    The blacklist settings are on the server-wide mail preferences page and are labelled:

    Switch on spam protection based on DNS blackhole lists
    DNS zones for DNSBL service

    If there is no meaningful log, then the server operator has no way to find out which blacklist works for him and which doesn't.
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Operation of this option 'Switch on spam protection based on DNS blackhole lists' will be logged in maillog in case if you have Postfix as MTA but there is no any logging if you have Qmail MTA.
     
  7. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Thanks. Unfortunately I have Qmail.
     
  8. SalesD

    SalesD Guest

    0
     
    Have you looked at MagicSpam for Plesk yet?

    Simple, easy to use module for Plesk, that already includes the blacklist subscriptions, and has full logging of all SPAM/HAM with all the tools to exempt certain IP's or customers from the checks if you wish. You can get it from the Parallels store, or for more info.. you can also visit http://www.magicspam.com
     
  9. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Thanks, will look. Pondering the thought to upgrade the server and at the same time switch from Qmail to Postfix. Let's see how well Plesk handles the change.
     
Loading...