Block Users Sending Over Exim Limits

Mar 2, 2008

on whm/Cpanel I have set max emails per hour limit to 250 for the server, but when a user tries to send thousands of emails, the server still accepts them (they are placed in queue but not delivered) and load spikes.

I am wondering is there is a way for exim to reject those emails when the user attempts to do so.

View 1 Replies


ADVERTISEMENT

Are There Limits On Sending Email With VPS

Feb 13, 2009

I am looking at a VPS purely to outsource email sending to.

I curently use a cloud system - which is great - but they limit my email sending.

I need to send 25,000 a day and 10,000 during a one hour period.

Will any VPS allow this? Who?

Is this recommended.

View 14 Replies View Related

Web Host With No Limits On Sending Email

Dec 31, 2008

I currently have a shared hosting provider which I am happy with but I have come across the need to exceed their email sending limits (which is 20 emails per minute).

I am planning to run a one-day (might even be one-hour) online contest where my customers would fill out an online form where a php script inserts the form contents into a database and then sends a confirmation email to both my customer and two additional email addresses (Me and a partner).

I am expecting up to 100 forms a minute to be submitted (which would translate to 300 emails) so I am looking for a reliable solution to do this without spending more than $20/month. "Throttling" the emails is not an option as delivery is time-crucial.
Are there solutions out there that would handle this kind of scenario? Or perhaps solutions where I can keep my existing provider and use the new one just for scenarios such as this?

View 14 Replies View Related

How To Block All Exim Incoming Mail

Feb 24, 2008

problem with incoming spam to my server. Causing high load that eventually take down the server.

Since I don't use the server for my mail (I use Gmail), can anyone let me know the easiest way to stop/block all incoming mails to the server? I still need outgoing mail, though. Some of my PHP forms need it.

Right now, I stopped Exim to save the server (if it runs, load can get to 900+).

View 6 Replies View Related

Exim: Unable To Send Mail W/ New Users

Mar 11, 2008

I installed exim and have been able to successfully use it as an smtp server. My test setup was as follows:

email client uses smtp.MYSERVER.com, my login, and password

The email is successfully forwarded to the appropriate recipient. However, when I create a new user, and test it's email capabilities, it does not work. I get a 535 error:

535 Incorrect authentication data

I have double checked the login and password, and I've tried this on multiple accounts. Is there an issue with how I'm creating the users? (useradd)

View 3 Replies View Related

Deny Access To Exim For Free Trial Users

Jul 18, 2007

INTRODUCTION

As owner of a hosting provider company, I face the problem of abusive users almost every day. More than 90% of all abuse on my server comes from free trial accounts. I offer free trial access to my servers for people who want to try things out before they purchase a hosting package, but off course this attracts spammers. To prevent trial users from using my server for spamming purposes, I modified my exim.pl file to prevent trial users from accessing the Exim mail server.

Please note that this tutorial has been written for cPanel servers. If you want to use it on a server with a different control panel, you'll need to modify the cpgetpack.c source. If you do so, please share your work with the community by posting it in a reply here.

STEP ONE

First you’ll need to download, compile and install my cpgetpack.c application. Here’s how:

Code:
gcc cpgetpack.c -o cpgetpack
mv cpgetpack /usr/bin/
chown cpanel:cpanel /usr/bin/cpgetpack
chmod +s /usr/bin/cpgetpack
STEP TWO

Now open the /etc/exim.pl file in your favorite text editor (make a backup first) and look for the following inside the checkuserpass subroutine:

Code:
$trueowner =~ s////g;
$trueowner =~ s/..//g;
if (isdemo(${trueowner})) {
return('no');
}
Below, paste the following code:

Code:
my $name = getpwuid($uid);
open(UP, "cpgetpack $name|");
my $userplan = <UP>;
close(UP);chop($userplan);
if ($userplan eq "radix_FreeTrial") {
return "no";
}
You will have to replace the radix_FreeTrial string with the package you assign to your trial users. This will prevent trial users from authenticating which prevents them from sending mail remotely.

STEP THREE

Users are now still able to send mail locally (for example using the PHP mail() function), so here’s what to do next.

Find the checkdemo subroutine in the exim.pl file and replace the complete subroutine with:

Code:
sub democheck {
my $uid = Exim::expand_string('$originator_uid');
if (isdemo($uid)) { return 'yes'; }

my $name = getpwuid($uid);
open(UP, "cpgetpack $name|");
my $userplan = <UP>;
close(UP);

chop($userplan);

if ($userplan eq "radix_FreeTrial") {
return 'yes';
}

return 'no';
}
STEP FOUR

Now just restart Exim:

Code:
service exim restart
It might be a good idea to create a trial account and see if it’s working. Enjoy!

REFERENCE:

Original post: [url]
Best regards,
Josh Burt

View 0 Replies View Related

How To Limit/block Outgoing Spam - CPanel Servers + EXIM

Mar 12, 2008

My server is sending all emails via exim smarthost to other specialised exim server (both cPanel). How may I limit customers from sending out SPAM ? Mean to scan outgoing emails and delete/store in some folder which ones identified as SPAM. Preferrably the scan part to be on exim email proxy cause it is much idle.

View 0 Replies View Related

Directadmin Exim Problem Sending Mails

Jul 15, 2009

I recently got a server from leaseweb with directadmin on it, I have a big problem sending e-mails .

Most of my e-mails remains in queue:

Is there any way to check why the e-mail stays on queue , any log file i can read?

can i get my e-mails using imap?

View 8 Replies View Related

Mail Server Exim- Emails Not Sending

Apr 17, 2007

Whenever I send mail, it never gets sent and I get the following error under "View Mail Statistics" in WHM:

1 xxx@aol.com R=fail_remote_domains: unrouteable
mail domain "aol.com"

I have only recently noticed these errors, as my mail was working before.

View 2 Replies View Related

Sending Mails Without SMTP Authentication On Exim

Oct 17, 2007

I have a customer that wants to send emails using Exim and SMTP (using outlook), withouth authentication. Now.. the big question is ... how can I configure the Exim server to work withouth any authentication?

I know the risks of this withouth any authentication, but is my customer's server and he want to work in this way.

He is also asking if he is able to send emails withouth authentication using SMTP for certain IP addresses.. is that possible? Can be done for only 1 domain, or for the entire server?

Im using Exim 4.6.8 and RHE 4 + cPanel.

View 10 Replies View Related

Exim Sda7: Write Failed, User Block Limit Reached

May 23, 2009

i have run exim -qff from SSH then i got below error let me know what to do

Code:
root@web [~]# exim -qff
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.

View 4 Replies View Related

Exim :: Catch The User Sending Spam With Mailnull?

May 28, 2009

i have a vps but there is too much process called mailnull
after that the data centre closed my server for being sent spam

so how i can catch the user sending spam with mailnull?

View 7 Replies View Related

Exim Keeps Sending Thousands Of Messages To Non-valid Email.

Feb 14, 2007

For the last 5 days, exim has been retrying to resend email to a recipent every
1 millisecond.

As result, logs are huge, and load is being affected.

So I'd like to know how can I set/configure exim to ingore sending to any
email I'd tell it.

I mean is there any config file I can look into, to set a ignore list, or even
how to have it so that it retries sending every 1 hour, instead of every 1 millisecond.

View 9 Replies View Related

VPS HARD Limits? (hardware Limits, Such As CPU/memory)

Apr 11, 2009

I have been playing around with different virtualization platforms:

- OpenVZ (newer kernels do not support hard-cpu limits for whatever reason)

- Xen Server

- Windows Hyper-V

- Linux KVM

However, none of them seem to be able to stablish HARD limits on resources for a virtual machine. Or am I missing something?

HyperVM supposedly has hard-limits because they use OpenVZ older kernels, right? -- I have not tried Parallels Containers do they have hard-limits enforced?

View 2 Replies View Related

Plesk 11.x / Windows :: Panel Don't Show Users Database In Tab Users

Sep 6, 2013

The upgrade has an error when manage the users database.

PRODUCT, VERSION, VERSION OF MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
OS Microsoft Windows Server 2008 R2 Service Pack 1 x64
Panel version 11.5.30 Update #13, last updated at Sept 1, 2013 03:30 PM

PROBLEM DESCRIPTION
In a costumer panel have a one database MSSQL, and assign to this DB 3 users, but the tab option "Users" don't work fot his costumer and show this error:

Error Javascript:
TypeError: template is null
this.template = template.toString(); in protototype.js 8472831 (línea 807)

ACTUAL RESULT
Error Javascript:
TypeError: template is null
this.template = template.toString(); in protototype.js 8472831 (línea 807)

EXPECTED RESULT
Show users in the tab users for database.

View 2 Replies View Related

Preventing Users From Connecting To Other Users Database

Mar 25, 2009

On my server, users can connect to any database as long as they have the database user and password. This makes it easier to hack any database on the server.
What I want to do is to make the users can only connect to their own databases and not other's.

I tried changing the localhost ip address but it didn't work ( I assume I didn't do it the right way)

View 7 Replies View Related

Sending Email 'to Domain Works But Not Sending 'from

Jun 19, 2007

I migrated a client from a Windows server to Linux and everything is fine except that mail sent to this client (say, example1.com) from a particular domain (say, example2.com) simply disappears and does not reach at all. Mail sent to that other domain (example2.com) from my new client (example1.com) is delivered correctly.

Incidentally, that other domain (example2.com) from which the mail is sent is with the hosting provider who was earlier providing services for my newly acquired client. Should I suspect anything? Or, is there a way to figure out what's happening?

I have MailScanner running on my VPS, but it isn't configured to filter at RBL level, only at Exim level, so I don't think this is the issue.

View 1 Replies View Related







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