Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2015, 11:57 AM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is this possible to do?

If you have two hosting servers, can you set up your vB forum on one of them and set up mailing on the other one?

So your forum files and database is hosted on server A. But all mailing (sending activation emails, password reset emails, sending mails to members from vB admincp etc.) all gets handled by server B.

Reason to do this is because my forum tends to get a lot of DDoS attacks so I want to do my best to hide the IP of server A and in order to do that I have to cut off all mailing from server A.

So can this be done what I described above?
Reply With Quote
  #2  
Old 03-16-2015, 12:45 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure thing, just change the SMTP configuration in vBulletin to point to GoDaddy.
I do the same to hide the origin IP in the email headers.
Reply With Quote
  #3  
Old 03-16-2015, 01:00 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Sure thing, just change the SMTP configuration in vBulletin to point to GoDaddy.
I do the same to hide the origin IP in the email headers.
Please explain in a little detail.
GoDaddy has nothing to do with my site. Or are you asking me to do this to just hide the origin IP and use the same server for mailing to? Or did you mean I should point the STMP configuration in the vB to point to the second server that I want to use for mailing?
Reply With Quote
  #4  
Old 03-16-2015, 01:09 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My bad regarding the GoDaddy thing, I still had the thread title of an other thread in mind.

You indeed change the SMTP configuration in vBulletin settings to point to the second server. At the second server you have to configure the SMTP server to exclude the origin IP headers.
Reply With Quote
  #5  
Old 03-16-2015, 01:17 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
My bad regarding the GoDaddy thing, I still had the thread title of an other thread in mind.

You indeed change the SMTP configuration in vBulletin settings to point to the second server. At the second server you have to configure the SMTP server to exclude the origin IP headers.
"You indeed change the SMTP configuration in vBulletin settings to point to the second server."
In order to make the mailing work.

"At the second server you have to configure the SMTP server to exclude the origin IP headers."
In order to hide the IPs.

Correct?

If this is correct, I don't need to do the second. Second server is well protected. I just do not want the IPs of first server getting out.

Do I need to do anything on the second server to in order to make the mailing work? Or simply get the SMTP details of the second server and put it in the vB settings? I have cPanel on the second server if that matters.
Reply With Quote
  #6  
Old 03-16-2015, 01:48 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, correct.

As far as I know the origin IP headers are enabled by default in the email headers which means that if you want to send an email from server A through server B, server B will include the IP of server A in the email headers. You should just do a test email to confirm this and configure the settings of your mail server on server B if it's the case.

You need valid SMTP credentials configured in the vBulletin settings of server A, that's all you need.
Reply With Quote
  #7  
Old 03-16-2015, 07:14 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Yes, correct.

As far as I know the origin IP headers are enabled by default in the email headers which means that if you want to send an email from server A through server B, server B will include the IP of server A in the email headers. You should just do a test email to confirm this and configure the settings of your mail server on server B if it's the case.

You need valid SMTP credentials configured in the vBulletin settings of server A, that's all you need.
I tested this.

The email went through the other hosting's server. I checked the email headers when I received the email. Along with the IPs of other server B, I could find the IP of my server A as well.

What do you suggest me to do now to completely hide the IPs of server A?
Reply With Quote
  #8  
Old 03-17-2015, 09:01 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It depends what mail server you use.
For Postfix http://john.cuppi.net/removehide-x-o...x-mail-server/

Just Google "-your mail server- hide x-originating-ip header".
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06606 seconds
  • Memory Usage 2,227KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete