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

Mail connection limitation

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by GravuTrad, Nov 10, 2011.

  1. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Hi

    A french mail provider (orange/wanadoo) has limited the simultaneous connections to send mails on their host to 3 only.
    If i don't limit it, i will obtain this:

    I try to implement this hint:

    http://www.zapoyok.info/2011/01/01/...-many-connections-slow-down-ofr004_104-104-»/

    so:

    /etc/postfix/transport

    wanadoo.com slow:
    wanadoo.fr slow:
    orange.com slow:
    orange.fr slow:

    then postmap /etc/postfix/transport


    In /etc/postfix/master.cf


    #==========================================================================
    # service type private unpriv chroot wakeup maxproc command + args
    # (yes) (yes) (yes) (never) (100)
    #==========================================================================
    slow unix - - n - 5 smtp
    -o syslog_name=postfix-slow
    -o smtp_destination_concurrency_limit=3
    -o slow_destination_rate_delay=1


    In /etc/postfix/main.cf

    slow_destination_recipient_limit = 20
    slow_destination_concurrency_limit = 2

    and finally: /etc/init.d/postfix reload


    But with this plesk said he can't parse master.cf file so postfix can't start

    i tried to put the modification of this file on one line, same problem.
    Where is the parse error?

    Could you help me to have a good solution of send limitation only for this host? (orange/wanadoo)

    Thanks for advance.
     
    Last edited: Nov 10, 2011
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Yes but plesk 10.4 isn't available to plesk installer so...

    How to set this for one host only?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did you read http://www.parallels.com/download/plesk10.4 ?

     
  5. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Ok. I don't understand well this part, i tried but autoinstaller said me:

    # /usr/local/psa/admin/sbin/autoinstaller --all-versions
    /usr/local/psa/admin/sbin/autoinstaller: unrecognized option `--all-versions'

    ERROR: You specified an unknown option.
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You should use downloaded from download page installer but not your /usr/local/psa/admin/sbin/autoinstaller
     
  7. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Where to find it after download?
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Last edited: Nov 11, 2011
  9. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    I still don't see any clear procedure...i don't know where to find this downloaded autoinstaller....
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  11. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Do i run it with rpm? or do we have an easier method of upgrade?
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  13. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    i try to run it but it says me "--all-versions" unknow option.

    maybe i run it bad? how do you run it correctly?
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Run without any options.
     
  15. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    it's a rpm package. How do you run it without using rpm??
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  17. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    Great, nice catch thanks.

    After the run i got this:


    How to solve this easily?
     
  18. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did you try solutions from provided KB articles?
     
  19. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    ERROR 1146 (42S02): Table 'mysql.clients' doesn't exist

    ERROR 1146 (42S02): Table 'mysql.domains' doesn't exist

    Strange? do i do anything bad?
     
  20. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    domains and clients tables should be psa database but not in mysql database. Something is really wrong in your Plesk configuration. Do you have psa database at least?
     
Loading...