Results 1 to 14 of 14
-
12-21-2006, 07:14 PM #1Web Hosting Evangelist
- 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
-
12-22-2006, 10:52 AM #2Junior Guru Wannabe
- 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.
-
12-22-2006, 11:01 AM #3Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 480
we use exim
tx
-
12-22-2006, 11:32 AM #4Junior Guru Wannabe
- 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.
-
12-28-2006, 12:52 PM #5Web Hosting Evangelist
- 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
-
12-29-2006, 10:57 AM #6Web Hosting Master
- 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.
-
12-29-2006, 11:05 AM #7Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 480
Originally Posted by brianoz
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
-
01-03-2007, 12:04 PM #8Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 480
Originally Posted by webstyler
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 :| ?
-
01-03-2007, 12:21 PM #9Junior Guru Wannabe
- 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.
-
01-03-2007, 12:32 PM #10Web Hosting Evangelist
- 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
-
01-03-2007, 12:41 PM #11Junior Guru Wannabe
- Join Date
- Jun 2004
- Posts
- 36
Originally Posted by webstyler- Increase your imagination dramatically but still learning more knowledge.
-
01-03-2007, 01:08 PM #12Web Hosting Evangelist
- 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
-
01-03-2007, 01:12 PM #13Web Hosting Evangelist
- 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
-
01-05-2007, 02:33 PM #14Junior Guru Wannabe
- 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.