The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable POP3 Access

Discussion in 'General Discussion' started by Zishan, Aug 12, 2005.

  1. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    How can we disable POP3 access for a particular account keeping in view that email forwarding still work.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  3. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    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.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  5. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    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.
     
  6. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    18
    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
    
     
  7. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    Then What should be set in chmod and for which files and do email forwarders still work after chmoding?
    Any ideas?
     
  8. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    email forwarders are controlled from /etc/valiases/domain.com . chmoding the files passwd and shadow to 000 in the USER'S etc should not have any effect on valiases.
     
  9. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    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?
     
    #9 Zishan, Aug 13, 2005
    Last edited: Aug 13, 2005
  10. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    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.
     
  11. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
Loading...

Share This Page