Results 1 to 14 of 14
  1. #1
    Join Date
    Feb 2004
    Posts
    480

    how to limit customer cc / bcc emails destination

    Hello

    How it's possible limit the number of the emails that our customers put on cc / bcc ?

    I have see more services that if emails on cc / bcc is more than n (ex. 40) sender receive an error for "many too recipient on cc .."

    ?

    thx

  2. #2
    Join Date
    Dec 2006
    Location
    /dev/null
    Posts
    41
    What you're looking for is the "maxrecipients". How you do this is highly dependent upon what MTA you're using. Sendmail, Qmail, Exim,... which are you using?
    Caro.Net: Support is everything
    Offering High Quality Dedicated Servers.

  3. #3
    Join Date
    Feb 2004
    Posts
    480
    we use exim
    tx

  4. #4
    Join Date
    Dec 2006
    Location
    /dev/null
    Posts
    41
    Depending on which way you're trying to limit you'll need to either look into setting recipients_max and recipients_max_reject or max_rcpt in your configuration file. If you google for them you should be able to get the proper syntax and location for the directives.
    Caro.Net: Support is everything
    Offering High Quality Dedicated Servers.

  5. #5
    Join Date
    Feb 2004
    Posts
    480
    I have try this under online exim doc.

    max_rcpt

    Use: smtp
    Type: integer
    Default: 100

    This option limits the number of RCPT commands that are sent in a single SMTP message transaction. Each set of addresses is treated independently, and so can cause parallel connections to the same host if remote_max_parallel permits this.

    .. but I understand if this limit RCPT for to, cc, bcc,.. or ONLY for 'to'

    Under WHM we have exim advanced configuration.. can put max_rcpt value here ?

    txx

  6. #6
    Join Date
    Nov 2004
    Location
    Australia
    Posts
    1,737
    cpanel allows you to set the maximum emails an account can send out in an hour and I set the default to a nice low-ish value (around 200) and only raise it when requested.

  7. #7
    Join Date
    Feb 2004
    Posts
    480
    Quote Originally Posted by brianoz
    cpanel allows you to set the maximum emails an account can send out in an hour and I set the default to a nice low-ish value (around 200) and only raise it when requested.
    yes, me too I have setting on whm max emails x hour

    but we would also set max rcpt on to, cc and bcc .. so we can use more than 200 emails/hour but less recipient for emails...
    client email software (outlook & C) is not designed for newsletter

    tx

  8. #8
    Join Date
    Feb 2004
    Posts
    480
    Quote Originally Posted by webstyler
    I have try this under online exim doc.

    max_rcpt

    Use: smtp
    Type: integer
    Default: 100

    This option limits the number of RCPT commands that are sent in a single SMTP message transaction. Each set of addresses is treated independently, and so can cause parallel connections to the same host if remote_max_parallel permits this.

    .. but I understand if this limit RCPT for to, cc, bcc,.. or ONLY for 'to'

    Under WHM we have exim advanced configuration.. can put max_rcpt value here ?

    txx
    :/ I'm confused

    I've found this

    max_rcpt

    and this

    recipients_max

    ??

    what is better ??

    I've check under WHM > exim configuration editor > advanced editor but I haven't found none :| ?

  9. #9
    Join Date
    Jun 2004
    Posts
    36
    recipients_max is for incoming recipients

    max_rcpt for the outbound recipients

    So probably you want to try setting up the max_rcpt
    - Increase your imagination dramatically but still learning more knowledge.

  10. #10
    Join Date
    Feb 2004
    Posts
    480
    ok

    So, I must add

    # outbound max rcpt
    max_rcpt = 50
    # outbound attach limit
    message_size_limit = 10M

    but under whm (advanced editor).. there are more textarea (16)

    where can I put this new lines ?

    txx

  11. #11
    Join Date
    Jun 2004
    Posts
    36
    Quote Originally Posted by webstyler
    ok

    So, I must add

    # outbound max rcpt
    max_rcpt = 50
    # outbound attach limit
    message_size_limit = 10M

    but under whm (advanced editor).. there are more textarea (16)

    where can I put this new lines ?

    txx
    choose the first box at the top, that textarea should be the global configuration box.
    - Increase your imagination dramatically but still learning more knowledge.

  12. #12
    Join Date
    Feb 2004
    Posts
    480
    ok, tx x patient

    in my first textarea I already see this

    domainlist rbl_blacklist = lsearch;/etc/rblblacklist
    domainlist rbl_bypass = lsearch;/etc/rblbypass
    hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist
    log_selector = +subject +arguments -host_lookup_failed -lost_incoming_connection
    hostlist rv_relay_hosts = net-iplsearch;/etc/relayhosts
    addresslist rv_spam_sender_address_whitelist= lsearch*@;/usr/local/cpanel/base/eximacl/rv_spam_sender_address_whitelist

    so now I try to add, at the end, the new lines

    # outbound max rcpt
    max_rcpt = 50
    # outbound attach limit
    message_size_limit = 10M

    and restart exim

  13. #13
    Join Date
    Feb 2004
    Posts
    480
    uhm.. I have found this


    "
    message_size_limit = 10M

    This setting should restrict both incoming and outgoing attachments over 10MB.
    "

    ?

    message_size_limit is also for incoming ?
    I would like to limit to 10 Mb only outgoing email and not incoming, possible ?

    tx

  14. #14
    Join Date
    Jun 2004
    Posts
    36
    I just set it to around 20MB and never had complaints. hhehe
    i am not sure if you can acttually set separately. I will check around.
    - Increase your imagination dramatically but still learning more knowledge.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •