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

How can i limit cc in Plesk's qmail?

Discussion in 'Plesk for Linux - 8.x and Older' started by xeroworld, Oct 11, 2007.

  1. xeroworld

    xeroworld Guest

    0
     
    Hello.
    I want to limit cc adressess for my clients to about 100 adresses. The thing is i can't find any qmail's config file where i can change it. I also searched in PLESK panel - nothing.

    Any idea where/how can i change it?
     
  2. Monica@

    Monica@ Guest

    0
     
    Hi.

    This time Plesk doesn't allow to limit amount of To:, CC: and BCC: addresses in
    a mail
    messages. However Qmail can be compiled manually with the
    qmail-1.03-maxrcpt.patch patch which can be found at:
    http://qmail.jms1.net/patches/qmail-1.03-maxrcpt.patch

    But it requires advanced Linux administration skills. Please refer to
    the following articles in regards to rebuilding qmail with custom
    patches: 1088 <../article_22_1088_en.html> for Plesk 7.5.4 and 1161
    <../article_22_1161_en.html> for Plesk 8.

    To set the limit, create a /var/qmail/control/maxrcpt file which contains the
    maximum number of recipients you wish to allow. If you don't want any limit, you
    can either delete this file, or use 0 as the value.
     
  3. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
  4. Eck HongG

    Eck HongG Guest

    0
     
    Can anyone advise how to create this maxrcpt file as stated in http://kb.odin.com/en/1411? The file name is just going to be "maxrcpt" with no extension? Do I just plonk in a number into this file and that's it? Or do I need to define it like maybe "MAXRCPT 1000"? Thanks in advance!
     
  5. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    qmail is a bit...shall we say "unusual" in the way it does things. So yes, just name the file "maxrcpt" and just put 100 in it. Make sure the owner and permissions are the same as other files in the same directory.

    There's all sorts of other interesting things you can do with similar files:

    http://www.lifewithqmail.org/lwq.html#config-files
     
  6. Eck HongG

    Eck HongG Guest

    0
     
    Thanks Faris!
     
Loading...