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.

Question about SpamAssassin whitelists

Discussion in 'E-mail Discussions' started by Kent Brockman, Oct 3, 2013.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello friends.

    Today I'm facing this requirement. For a given account, I need to whitelist ALL emails coming from Yahoo Mail servers. they have lots of IP addresses in different ranges. So I decided to use the whitelist_from feature within SpamAssassin screen in the end user cPanel. The issue is: I have to whitelist every Latam Yahoo domain:
    • yahoo.com
    • yahoo.es
    • yahoo.cl
    • yahoo.com.ar
    • yahoo.com.co
    • yahoo.com.mx
    • yahoo.com.pe
    • yahoo.com.ve

    Does it accept wildcards of type: *@yahoo.*

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Per the user_pref file for an account with SpamAssassin enabled:

    Code:
    # Whitelist and blacklist addresses are now file-glob-style patterns, so
    # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
    You are welcome to try using a wildcard for the TLD location after Yahoo. Let us know if it works.

    Thank you.
     
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well, I did the tests and the wildcards ONLY works for filters of type *@mydomain.com
    I tried *.yahoo* and it doesn't work.
    I'll have to declare the domains one by one.
     
Loading...

Share This Page