The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

quota_warn_threshold setting

Discussion in 'E-mail Discussions' started by promak, Oct 10, 2010.

  1. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    Starting exim-26: 2010-10-11 01:14:58 Exim configuration error in line 3 of /etc/exim.conf:
    main option "quota_warn_threshold" unknown
    [FAILED]
    Starting exim: 2010-10-11 01:14:58 Exim configuration error in line 3 of /etc/exim.conf:
    main option "quota_warn_threshold" unknown
    [FAILED]
    Starting exim-smtps: 2010-10-11 01:14:58 Exim configuration error in line 3 of /etc/exim.conf:
    main option "quota_warn_threshold" unknown
    [FAILED]


    Any one know where put the quota_warn_threshold setting?

    :D
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello promak,

    Is there a reason to use quota_warn_threshold in exim when WHM > Tweak Settings has the following options?

    If these are not sufficient and you do indeed need to use quota_warn_threshold, the best policy is to check the exim manual on using it:

    26. The appendfile transport

    The documentation indicates it is used in the appendfile transport, which is probably part of this section of /etc/exim.conf from what I can see:

    Code:
    virtual_userdelivery:
      driver = appendfile
      delivery_date_add
      envelope_to_add
      directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}"
      maildir_use_size_file
      maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash$)[^\@]+)$
      maildir_format
      maildir_tag = ,S=$message_size
      quota_size_regex = ,S=(\d+)
      mode = 0660
      quota = "${if exists{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota} {${lookup{$local_part}lsearch*{${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/${domain}/quota}{$value}}} {}}"
      quota_is_inclusive = false
      quota_directory = "${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/mail/${domain}/${local_part}"
      return_path_add
      user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
      group = ${extract{3}{:}{${lookup passwd{${lookup{$domain}lsearch* {/etc/userdomains}{$value}}}{$value}}}}
      shadow_condition = ${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/.cpanel/rim/bis/$local_part@$domain}{1}{0}}
      shadow_transport = rim_bis_notifier_virtual_user
    I would rather suggest going with the cPanel-provided options in Tweak Settings to warn for quotas versus trying to change settings in the virtual_userdelivery section of exim.conf
     
  3. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    HI cpaneldanielle,

    is the current mail quota warning send email to cpanel admin user "Contact Email"?

    as some of customer they don't have a IT admin , so is there can send to end user email account and not the default cpanel login contact email?

    Thanks.

    :rolleyes:
     
Loading...

Share This Page