Koozali.org: home of the SME Server

how to Properly Configure 10whitelisthost file

Offline cyberwatcher

  • ***
  • 66
  • +0/-0
    • The Network Security Company
how to Properly Configure 10whitelisthost file
« on: June 22, 2015, 07:50:52 PM »
I am attempting to add as many gmail MX server IP's to the 10whitelisthost file. I have recently been missing email because of this. Also my friend is on vacation in mexico and she was able to send one email but another is getting:
I took her full email out -

2 10:16:52.133176500.s:@400000005587fbc208c1a554 22940 from email address : [<gmail.com>]
2015-06-22 10:16:52.133176500.s:@400000005587fbc20a52cca4 22940 denysoft mail from <gmail.com> (This mail is temporarily denied)
2015-06-22 11:57:52.109106500.s:@40000000558821362da5ad34 27407 dispatching MAIL FROM:<gmail.com> SIZE=38986
2015-06-22 11:57:52.109106500.s:@40000000558821362da8127c 27407 full from_parameter: FROM:<gmail.com> SIZE=38986
2015-06-22 11:57:52.109106500.s:@40000000558821362dab3efc 27407 from email address : [<@gmail.com>]
2015-06-22 11:57:52.109106500.s:@40000000558821362fc408f4 27407 denysoft mail from @gmail.com> (This mail is temporarily denied)

my 10whitelisthost file

can I comment out sections so I remember who the IP belongs to?
can I enter in subnet vs every IP?

Thanks guys.


209.85.218.57
209.85.192.187
209.85.160.183
208.85.160.178
209.85.216.176
209.85.216.182
209.85.216.192
209.85.192.48
209.85.220.177
64.18.0.0
64.233.160
66.102.0.0
66.249.80.0
72.14.192.0
74.125.0.0
173.194.0.0
207.126.144.0
209.85.128.0
216.58.192.0
216.239.32.0
69.63.179.25
69.63.178.128
69.63.184.0
66.220.144.128
66.220.155.0
69.171.232.128
66.220.157.0
69.171.244.0
#rproxy.gmail.com (common server pool, bad 451 handling?)
64.233.162
64.233.170
64.233.182
64.233.184
64.233.186.27
74.125.22.27
74.125.24.26
74.125.71.26
173.194.65.27



Offline ReetP

  • *
  • 3,950
  • +6/-0
Re: how to Properly Configure 10whitelisthost file
« Reply #1 on: June 24, 2015, 02:06:42 PM »
Should have had a search on whitelisthosts both here and on the Wiki :-)

As I am feeling in a generous mood I have done it for you....

http://wiki.contribs.org/Email#Email_WBL_server_manager_panel
http://wiki.contribs.org/Email_Whitelist-Blacklist_Control
http://forums.contribs.org/index.php/topic,51429.0.html

Last link is probably what you really want.

Not sure about commenting out - I would guess not but you can try a test and see if it back flips into the lava  :lol:

HTH

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline cyberwatcher

  • ***
  • 66
  • +0/-0
    • The Network Security Company
Re: how to Properly Configure 10whitelisthost file
« Reply #2 on: June 26, 2015, 05:05:01 PM »
Thank you for your reply :)

So I am thinking to install the wbl to the admin console and then just whitelistsoft based on an email address since I don't get that many blocks.

I don't normally modify my repositories and I am trying to follow the guides on how to enable the stephdl repos. http://wiki.contribs.org/Email_Whitelist-Blacklist_Control

Where is it that I copy and past this for the .repos?

I have attempted adding it in to the /etc/yum.repod.d as stepdl.repos however no dice. I am confused am I supposed to enter this as commands via bash shell or cut and paste?
http://wiki.contribs.org/Stephdl

I have tried the above creating a file stephdl.repos then updating yum but I don't think I am doing this correctly.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: how to Properly Configure 10whitelisthost file
« Reply #3 on: June 26, 2015, 05:10:20 PM »
you must follow instructions you find here:

http://wiki.contribs.org/Stephdl

it's just a cut & paste from a shell, that's all

don't work with repos.d dir

Offline cyberwatcher

  • ***
  • 66
  • +0/-0
    • The Network Security Company
Re: how to Properly Configure 10whitelisthost file
« Reply #4 on: June 26, 2015, 05:15:46 PM »
Should have had a search on whitelisthosts both here and on the Wiki :-)

As I am feeling in a generous mood I have done it for you....

http://wiki.contribs.org/Email#Email_WBL_server_manager_panel
http://wiki.contribs.org/Email_Whitelist-Blacklist_Control
http://forums.contribs.org/index.php/topic,51429.0.html

Last link is probably what you really want.

Not sure about commenting out - I would guess not but you can try a test and see if it back flips into the lava  :lol:

HTH

B. Rgds
John

nevermind I simply cut and pasted the new repo info to the bask and ran the yum modify and I am good now. thanks.

Offline cyberwatcher

  • ***
  • 66
  • +0/-0
    • The Network Security Company
Re: how to Properly Configure 10whitelisthost file
« Reply #5 on: June 26, 2015, 05:16:36 PM »
nevermind I simply cut and pasted the new repo info to the bask and ran the yum modify and I am good now. thanks.

Yes Thanks it worked :)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: how to Properly Configure 10whitelisthost file
« Reply #6 on: June 26, 2015, 05:18:10 PM »
Yes Thanks it worked :)

I know for sure it would do :-)