Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question about SpamAssassin whitelists

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

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,181
    Likes Received:
    7
    Trophy Points:
    168
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,277
    Likes Received:
    1,846
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,181
    Likes Received:
    7
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice