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

plesk panel breaks postfix configuration - users can't send mails

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by lipek, Jun 8, 2009.

  1. lipek

    lipek Guest

    user ramuva wrote about this problem in second section of his post http://forum.parallels.com/showthread.php?t=87715

    the problem is whenever postfix configuration is rebuild by plesk panel (ie. when you change list of rbl servers to check) panel removes smtpd_client_restrictions line and adds its own which is badly generated.

    wrong line:
    smtpd_client_restrictions = reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, permit_sasl_authenticated

    should be:
    smtpd_client_restrictions = permit_sasl_authenticated, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net

    as a result legitimate users connected from some blacklisted sites (ie. dynamic IP addresses) cannot send mails because BEFORE they can authenticate they are dropped because of IP.

    The problem was in plesk 9.0 and still in 9.2.1 it isn't fixed. :(
  2. BMcKinney

    BMcKinney Guest

    Plesk needs to parse the existing main.cf file better and learn some "best practices" when it comes to the order in which it adds the RBLs. I've stopped using Plesk to edit mail settings because of this, but it's no real loss. Manually editing main.cf is easy and can yield results much better tailored to your needs. I create a backup of my working main.cf just in case I forget. =-)
  3. Denis Sirochenko

    Denis Sirochenko Guest


    There is a Knowledge Base article on the subject:

    [How to] Warning: restriction reject_rbl_client requires domain name argument

  4. ramuva

    ramuva Guest

    Denis, thank you for trying answering questions, but we are talking about separate issue here.

    The bottom line is, as user BMcKinney writes, one has to keep copies of main.cf and master.cf and have to check/edit them manually after each mail settings change or upgrade. It is pretty tiring.

    And the issue raised in this post is about this about main.cf config parameter smtpd_client_restrictions, but not the issue you've tried to explain to us.

    The issue is, that if one turns on and turns off dns blackhole plesk panel prepends reject_rbl_clients argument to this line instead of appending.
  5. xt881m

    xt881m Guest

    Have you submitted a support ticket to parallels?
  6. ramuva

    ramuva Guest

    Can't submit one. Thats why whining about it in here :)
  7. EnricoS

    EnricoS Guest