Zishan

Well-Known Member
Aug 6, 2005
107
1
168
How can we disable POP3 access for a particular account keeping in view that email forwarding still work.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
You'd have to change their pop3 account password. If you have a forwarder of the same name as the POP3 account, you should delete the POP3 account.
 

Zishan

Well-Known Member
Aug 6, 2005
107
1
168
I noticed that over the past week my traffic has spiked and all of it seems to be POP3, I found one of my account is downloading heavy emails every couple of minutes.I deleted that user but I'm still getting hammered.So I want to just DIsable POP3 Access but I don't wan't to lose my email forwarding.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
Did you try using the WHM > Tweak Settings > options to prevent POP3 flooding and also limiting The number of times users are allowed to check their mail using pop3 per hour to, say 30.
 

Zishan

Well-Known Member
Aug 6, 2005
107
1
168
But that settings will be applied to all users of that particular server. I once again try to elaborate my question :
As I had told that after deleting that account that is downloading heavy mail, So I want that my POP3 access is disabled so that mails can not be downloaded as pop3 traffic is when we download emails and all mails are forwarded using my email forwarders.
 

shashank

Well-Known Member
PartnerNOC
Apr 12, 2003
159
1
168
cPanel Access Level
Root Administrator
You can check /home/user/etc/domain.com. The passwd and shadow files can be chmoded to disable pop access.

Code:
[/home/user/etc/domain.com]# ll
total 32
drwxrwx---  2 user mail    4096 Aug 13 00:42 ./
drwxr-xr-x  4 user mail    4096 Jul 30 00:12 ../
-rw-r--r--  1 user mail      62 Jul 30 00:12 passwd
-r--r--r--  1 user user  430 Jul 30 00:12 passwd,v
-rw-r--r--  1 user user   13 Jul 30 00:12 quota
-r--r--r--  1 user user  381 Jul 30 00:12 quota,v
-rw-r-----  1 user mail      46 Jul 30 00:12 shadow
-r--r-----  1 user user  414 Jul 30 00:12 shadow,v
 

Zishan

Well-Known Member
Aug 6, 2005
107
1
168
Then What should be set in chmod and for which files and do email forwarders still work after chmoding?
Any ideas?
 

Zishan

Well-Known Member
Aug 6, 2005
107
1
168
What do you mean by USER's etc ....
Ok Thanks alot...One last thing to confirm about it.... that after chmoding the user is unable to download files via POP3 i.e his pop3 access is blocked... from the domain whose files are chmoded but he can view mails from another domain on which they are forwarded by email forwarding...Is it so?
 
Last edited:

nickb

Well-Known Member
Feb 25, 2005
346
0
166
India
Ok Thanks alot...One last thing to confirm about it.... that after chmoding the user is unable to download files via POP3 i.e his pop3 access is blocked... from the domain whose files are chmoded but he can view mails from another domain on which they are forwarded by email forwarding...Is it so?
And the answer is yes!!! You need to disable forwarders as well....you can do so either by editing featurelist assigned to this domain or chattering /etc/valiases/domainame.
 

DigitalSurgeon

Well-Known Member
Aug 13, 2005
134
0
166
But by chmoding 000 passwd and shadow files ....The email addresses will be disappeared from CPanel > POP3 Email Accounts.
It is true that user will unable to download messages but is the user able to login into that account and send mails using those addresses keeping in mind that passwd and shadow files are chmoded 000.
If user wants to only disable POP3 access and wants that he can send mail through that account then what is the way to do so?