Outgoing Email IP filtering

nuskope

Member
Sep 26, 2011
8
0
51
cPanel Access Level
Root Administrator
HI.

We have been getting more than normal amount of outgoing spam from compromised user accounts at the moment.

I would like to know if there is a way i can limit who is allowed to 'send' or 'forward' email though our Cpanel servers.

specifically, i would like to block anyone outside of a specific IP range from sending email. if customers want to send email though us they should be on their connection (and thus have one of our IP's) or use webmail.

how can i achieve this?

thanks in advance guys.
 

nuskope

Member
Sep 26, 2011
8
0
51
cPanel Access Level
Root Administrator
HI.
specifically, i would like to block anyone outside of a specific IP range from sending email. QUOTE]

BUmp.

i really need an answer to this.
is there a way to block people (even with a user/pass) from useing our email server to SEND email if they are outside of our /20 ip range?

I cant block all IP's as then the server will not receive email.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,895
464
438
Finland
cPanel Access Level
Root Administrator
HI.

We have been getting more than normal amount of outgoing spam from compromised user accounts at the moment.

I would like to know if there is a way i can limit who is allowed to 'send' or 'forward' email though our Cpanel servers.

specifically, i would like to block anyone outside of a specific IP range from sending email. if customers want to send email though us they should be on their connection (and thus have one of our IP's) or use webmail.

how can i achieve this?
You are trying to do it the wrong way.
If you have compromised accounts you suspend or terminate those accounts.
Problem solved!
 

nuskope

Member
Sep 26, 2011
8
0
51
cPanel Access Level
Root Administrator
You are trying to do it the wrong way.
If you have compromised accounts you suspend or terminate those accounts.
Problem solved!
We do this. but we cant sit on the server 24/7 monitoring it. people are stupid, they get viruses and key loggers and have their accounts compromised. We already terminate their email account under our fair use policy however that does not stop us getting our mail server blocked and listed for 7 days with those stupid spam filers that wont unblock you unless you wait 7 days or pay $1000's for the privilege.

Regardless, we dont want our customers useing our email server to send email if they are not on our network. There must be a way to do it as most providers here have the same polocy.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,895
464
438
Finland
cPanel Access Level
Root Administrator
Regardless, we dont want our customers useing our email server to send email if they are not on our network. There must be a way to do it as most providers here have the same polocy.
ISPs (Internet Service Providers) do that, usually you you can send using their mail server only if you are using their connection.
But you are not an ISP, are you?
If you are not, then you are not providing internet connection to your customers, and access to your mail server can not be based on the internet connection your customers use.
 

nuskope

Member
Sep 26, 2011
8
0
51
cPanel Access Level
Root Administrator
But you are not an ISP, are you?
If you are not, then you are not providing internet connection to your customers, and access to your mail server can not be based on the internet connection your customers use.
We are an ISP and assign our customers ip's form our ip range.

ISPs (Internet Service Providers) do that, usually you you can send using their mail server only if you are using their connection.
this is what im trying to achieve.