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.

disallow forwarding to certain domains?

Discussion in 'General Discussion' started by erinspice, Feb 19, 2008.

  1. erinspice

    erinspice Well-Known Member

    Joined:
    Feb 12, 2006
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    Anybody know of a way to disallow mail forwarding to certain domains? I want to allow users to send mail through webmail and authenticated SMTP, but I don't want my server forwarding mail to some ISPs like AOL and Comcast. I don't want to have to keep editing the valiases files either. I want it to just silently discard email to those domains if it's forwarded. Any ideas?
     
  2. jsnape

    jsnape Well-Known Member

    Joined:
    Mar 11, 2002
    Messages:
    174
    Likes Received:
    0
    Trophy Points:
    16
    While not very elegant, I just issue a command to all servers once in a while, usually after AOL blocks a server:

    replace @aol.com @NO_AOL_FORWARDING_AVAILABLE -- /etc/valiases/*
     
Loading...

Share This Page