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.

Script to find aol forwarding addresses?

Discussion in 'General Discussion' started by electric, Jan 30, 2006.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    As you all know, if any cpanel user has created a forwarding address to auto-forward to an "@aol.com" email address... then this can quickly result in your server IP being banned from AOL.

    (And thus, many other unhappy customers on the same shared server who complain of aol blocking their email...)

    Can anyone tell me if there is an "easy" way to check if there are any "@aol.com" forwarding email addresses setup in *any* cpanel on the server?

    Thanks!
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Yep, go to /etc/valiases and do
    Code:
    grep aol.com *
    . That will show all aol forwarders and for which domain.
     
  3. cmb

    cmb Member

    Joined:
    Apr 3, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
  4. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    Thanks for the reply.. but...

    Check the thread starter for this thread.... and then check who wrote that script.

    ;)

    Cheers!
     
  5. cmb

    cmb Member

    Joined:
    Apr 3, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Ha! I didn't even notice! Sorry about that.

    Kudos to you for being resourceful enough to do something about it. Can you write one that automatically removes the forwarders, too? (I posted on your other thread earlier about that.) I have a couple of clients who keep adding them back even though I told them not to. I'm about to boot their asses off my server for it if they keep it up...
     
  6. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    I'm not sure how to do that, as it would involve manipulating some kind of "email list" file.. .

    But I'm sure any decent perl programmer could do it easily.

    I think you're best to submit a new feature request to cpanel, with a link to my script, and ask them to incorporate it into cpanel and/or create the ability to NOT allow "aol/comcast/whatever" forwarders to be created.

    ie:

    Enter a comma-seperated list of domains that are forbidden for fowarders: "aol.com, comcast.com, yahoo.com, whatever.com"

    Sent it in as a feature request and in 3 years maybe they might implement it.

    :)
     
Loading...

Share This Page