Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

quota_warn_threshold setting

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

  1. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    316
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    316
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice