Limiting PHP Emails Per Hour

Jul 29, 2009

On an cPanel + RHEL 5.3 box at WHM - Tweak Settings, I activated "The maximum each domain can send out per hour (0 is unlimited)" and set that value to "300".

But, it seems that this limit is only if the user is sending using webmail or an email client, right now a joomla website is sending much more than 300 mails per hour, but it's using php to send the mails.

My question, how can I limit emails per hour on each domain while sending from php?

Code:
29457 username 20 0 29724 13m 5848 R 10.2 0.2 0:00.10 /usr/bin/php /home/username/public_html/index.php

View 7 Replies


ADVERTISEMENT

How Many Emails Can Be Reasonably Sent Per Hour

May 16, 2007

I have a P4 2.8GHz Linux box with a Gig of RAM. How many emails per hour could I expect that this server can handle per hour? I would of course want that the server has enough horse power to handle visitors to the web sites.

This is sort of a followup to a previous thread that I started concerning the limit on # of emails per domain per hour. The box came with a [cPanel] default of 500 per hour. Can I expect for my server to be able to handle more than that? 1000? 2000? 10,000? Do I need a more powerful server? I hope not - I just don't have the budget.

[ FYI - The emails are legitimate and not spam. I am sending out email reminders of personal events and holidays to subscribers that enable this option. ]

View 3 Replies View Related

100's Of Spam Emails Per Hour

Jan 6, 2008

I'm getting literally about 100 of these per hour easy in whm > mail queue! Where is it coming from and how do I stop this?

1JBOml-0008CW-Fz-H
mailnull 47 12
<>
1199600103 0
-ident mailnull
-received_protocol local
-body_linecount 33
-max_received_linelength 115
-allow_unqualified_recipient
-allow_unqualified_sender
-localerror
XX
1
root@server.domain.com

154P Received: from mailnull by server.domain.com with local (Exim 4.68)
id 1JBOml-0008CW-Fz
for root@server.domain.com; Sun, 06 Jan 2008 00:15:03 -0600
038 X-Failed-Recipients: admin@domain.com
029 Auto-Submitted: auto-replied
063F From: Mail Delivery System <Mailer-Daemon@server.domain.com>
029T To: root@server.domain.com
059 Subject: Mail delivery failed: returning message to sender
052I Message-Id: <E1JBOml-0008CW-Fz@server.domain.com>
038 Date: Sun, 06 Jan 2008 00:15:03 -0600

1JBOml-0008CW-Fz-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

admin@domain.com
SMTP error from remote mail server after RCPT TO:<admin@domain.com>:
host sentry.domainbank.com [64.85.73.28]: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

------ This is a copy of the message, including all the headers. ------

Return-path: <root@server.domain.com>
Received: from root by server.domain.com with local (Exim 4.68)
(envelope-from <root@server.domain.com>)
id 1JBOmk-0008CJ-To
for admin@domain.com; Sun, 06 Jan 2008 00:15:02 -0600
To: admin@domain.com
Subject: Services(2) failed
From: monitor@domain.com
Message-Id: <E1JBOmk-0008CJ-To@server.domain.com>
Date: Sun, 06 Jan 2008 00:15:02 -0600

Address:domain.com

Following services are down:

SSH(22)
MySQL(3306)

View 5 Replies View Related

Setting Maximum Emails Per Hour In WHM

Sep 2, 2008

I know there's a option in the WHM that says "The maximum each domain can send out per hour (0 is unlimited" and it affects all the accounts under the same server, but, Is there any possibility to configure the WHM/cPanel to give different values to each client?

View 7 Replies View Related

WHM Limit On # Of Emails Per Domain Per Hour

May 16, 2007

My server currently has 500 set for this parameter. However, I have some scripts that send out reminders and the number of emails will certainly exceed this limit. So this leads to some questions...

What will happen if my scripts try to send out more than the limit?

What happens when the limit is exceeded? Do the scripts "crash", or do they just keep running? Do the "over quota" emails just get discarded or do they get queued?

How does this affect performance? Or maybe it doesn't?

Does the email queue get clogged up if it has too many emails?

What could be bad about increasing the limit - say to 2000? Would this create performance problems for my server?

I have a couple sites that I'm hosting and I would prefer to keep the limit of 500.

However, how can I increase the limit for my own scripts (domains)?

Or, perhaps this option has nothing to do with performance and it's strictly in place as a security measure to prevent hosted accounts from spamming.

I searched for information concerning this issue and couldn't find anything. The cPanel/WHM forum doesn't say what the parameter is for, just how to set it.

View 6 Replies View Related

Sendmail - SMTP Auth & Max Emails Per Hour

Apr 6, 2009

I have Cpanel, with the "Prevent Nobody from sending emails" in the WHM>Tweak Settings enabled.

I want to force sendmail to use SMPT auth.. so that all mails sent are sent via SMPT and an authenticated POP user.
I guess this will help in limiting the "The maximum each domain can send out per hour" setting.

View 4 Replies View Related

How Many Emails Can I Send Per Hour That Are Not Called Spam?

May 11, 2009

I have a dedicated server, and how many emails can i send per hour that are not called spam?

View 4 Replies View Related

Emails Sent Beyond The Maximum Per Hour Limit Set In CPanel

Aug 7, 2008

what happens to the emails sent in excess of "The maximum each domain can send out per hour" limit that you can set in root WHM?

Are they discarded or get queued up in Exim?

View 1 Replies View Related

Plesk 11.x / Windows :: Configure Quantity Of Outgoing Emails Permitted In An Hour Or Minutes

Aug 15, 2013

I will wanted to know if hmailserver lets configure the quantity of outgoing emails it is permitted in an hour or minutes. I have found this:

hMailServer is pre-configured to have high security when it comes to relaying and authentication so that no one can use your server to send spam messages.

But I do not know if It refers to what I want or to an antihack or something like that to protect my server.

View 2 Replies View Related

VPS W/ No Limiting Tunnel Cap

Oct 6, 2009

I have a vps at VPSVille, which I use for tunneling out onto the internet (behind a nazi firewall). Unfortunately, my vps keeps getting disabled because I cross the "20GB of traffic per month" allowed to any vps for tunneling - even though I have 300 GBs of bandwidth.

I'm now looking for another cheap vps host ($20/mo or less) that will let me utilize all the bandwidth I paid for.

View 6 Replies View Related

Limiting Inodes

Oct 8, 2007

I am just playing around with a server of mine, and I wanted to know is there anyway to limit the amount of inodes ( files and folders) a user can have? I am using cpanel/whm. Or is there a way I can receive an " alert" once a user has reached the specified limit?

View 3 Replies View Related

Limiting SSH Access

Apr 15, 2007

I've recently hired a new server with the aim of offering FTP backups.

I have Plesk CP but I don't want to use that to create the accounts for these users - i want to use the Plesk license for webhosting customers.

My box is running CentOS with ProFTPd.

The problem i'm having, is locking down SSH access to the Backup customers - if i add an account using "useradd", it is enabled in ProFTPd as I want, and I have set ProFTPd to only allow access to their home dir. However, the users can still log in via SSH and have full access to the box. Ideally, I want to be able to remove these users from SSH access, or if that's not easily possible, not allow them to "cd" above their home dir.

I know it's possible to add their usernames to the SSHd config file under Deny, but is there a more elegant solution (bearing in mind i'm planning to have quite a few of these users)?

View 4 Replies View Related

Bandwidth Limiting

Nov 10, 2007

bandwidth limiting on my home network, to some specified pc's, as they are taking up to much download bandwidth. Im leaning towards windows more but i am still unsure, would any one be able to guide me or give me a few tips on what type of program will do this, what operating system and maybe some tutorials if anyone knows any good ones?

View 6 Replies View Related

IP Limiting On A Switch

Apr 4, 2007

IP limiting on switch port.

Where a switch is set to only allow a specific IPs to be streamed from the servers connected to it.

Any server set with another IP even with a same C class range will be dropped or ignored.

eg.
Switch : with a set IP of 111.111.111.1 - 10
Any server that tries to set an IP of 111.111.111.11 and above will not get connected.

Currently I am using 3com SuperStack III 3250 switches. but after reading the manual and also searching on the net, I am a little lost on ideas....

View 8 Replies View Related

Limiting International Traffic

Jun 7, 2008

Is it possible to limit internationally traffic? National would be Australian bandwidth.

For example;

Offering Unmetered national bandwidth and 10 GB international bandwidth.

OR

Offering 50 GB national bandwidth and 5 GB international bandwidth.

How would you go about doing this, tracking it, managing it, etc. Is there any software that does it already? For example Xen or Virtuozzo?

View 5 Replies View Related

Connection & Bandwidth Limiting

Jan 7, 2009

We have Linux and windows shared hosting on our dedicated servers using Plesk are we are interested in putting in connection limits and bandwidth limiting in place but not sure what to use - we don't want to set them to be too restrictive but we don't want it to be free reign either.

I was wondering if anyone else was doing this, and if so what their levels were.
Additionally, does anyone use anything for IIS 6 on 2003 that supports bandwidth throttling of dynamic content? I know there are things for IIS 7 in 2008 but that doesn't help much

View 4 Replies View Related

FTP- Limiting Types Of Access

Mar 30, 2008

Is it possible to setup ftp accounts that have the ability for the users to view files on the server and upload their own files, but not download anything from the server? If so, how would this be done, if not, then as a 2nd option, do most hosting companies provide the option to disallow downloads on an ftp account if you need to do so, but allow uploads?

View 4 Replies View Related

Rate Limiting On The Switch

Jan 11, 2008

Which brand / model would you recommend for those:

1 - bw limiting on specific port (like 3mbits/sec on port4)

2 - creating vlans by ports (like vlan1 = port1 + port2)

3 - creating vlans by ips (like vlan1 =x.x.x.1 to 8, vlan2 = x.x.x.9 to 27)

4 - managing the switch from GUI

View 5 Replies View Related

Hardware Based IP Limiting

Aug 28, 2007

I've been searching a while for a box that I can throw in front of my servers that will basically look at inbound connections and if there are more than X amount of connections from IP:XXX it will block it for X minutes.

I thought a standard load balancer would do it, but according to Barracuda, their load balancers don't. They do DDOS prevention, but that's based on packet inspection. What I'm looking for is something that will block legitimate traffic when there's just been too much in a short amount of time. Basically I've got people using autosurfing programs and refreshers on my site and I'm getting tired of analyzing log files to find them.

View 5 Replies View Related

Limiting MySQL Queries

Jun 30, 2007

Is there any way to set max MySQL queries per hour to all MySQL users at once?

(lets say 20000 queries for each user?)

(cPanel/SuSE 10.0/MySQL 5.0.X).

View 2 Replies View Related

Limiting User Activity

Jul 29, 2007

I am interested in setup user activity limits to avoid peaks on the server load, I have readen a lot about PAM and limits.conf but still have no idea on how set this limits. Most of the examples are similar to this page http://www.seifried.org/lasg/users/ but they are still confusing to me

>> I would like to setup rules like this:

Customers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 CPU seconds, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory.

View 6 Replies View Related

Limiting Ssh User To Specific Folder

Jun 23, 2009

I may have this wrong, but I think it's possible. I have a friend who wants to run a process on one of my servers, now I don't particularly 'care' about this server, it's just used for a couple of unimportant things so I'm okay with him running it, but I don't want the hassle of sorting out things if he decides to delete everything, so I'm hoping it's possible to limit his directory.

For example, I have the folder "people" in the top most directory, inside that I have "arthur", I want to limit the ssh user "arthur" to the folder "arthur", I don't want him to be able to cd ../../ and delete stuff, is this possible?

View 3 Replies View Related

Limiting Total Month Traffic

May 19, 2009

I have got 2 low budget dedicated servers from poundhost,I would like to find a way to limit their total monthly bandwith to 5TB so that I dont get past this limit even if the server stays for 1 day with blocked traffic or else! The one server is cent os 5 and the other is windows server.

View 6 Replies View Related

Limiting Outgoing Mail In Plesk

Nov 6, 2009

how can we limit the maximum number of e-mails that can be sent by a domain in PLesk. We are facing issues where out server IP is getting blocked by some e-mail providers for bulk mailing.

View 1 Replies View Related

CPanel - Limiting IO Mem CPU Per User? Hostgator Like

Nov 16, 2008

I was reading up a thread where hostgator cpanel servers seem to be limiting IO activity per user/account/domain. How can that be achieved?

Any special limitations on a per account basis that I am not aware of?

View 1 Replies View Related

Limiting Process Memory Usage

Feb 28, 2007

I've been unable to limit the size of a process to keep it from hosing a system. I've tried the following methods:

- RLimitMEM for just Apache (although I'd like this to apply to any process in the system)
- ulimit
- PAM limits.conf (/etc/security/limits.conf)

In theory, either ulimit or limits.conf should do the trick, but when I start up Apache and run a test script to build up some memory, it doesn't get killed off. Is there any way to do what I want? I'll even take kernel modification as an option. We're running CentOS 4.4, but I don't have a problem with swapping out for another kernel.

View 7 Replies View Related

Limiting MySQL Memory Access

Sep 15, 2007

I have a VPS with 256MB ram. i want to limit mysql memory access. suppose i want that mysql should not use more than 128MB ram.
is this possible? if yes how?

is this possible for all other services too?

View 4 Replies View Related

Limiting Amount Of Outgoing Mails

Dec 20, 2007

I have a plesk server with qmail. I would like to limit the amount of mails been sent per day per mail box or per domain.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved