hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : message headers and IP
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

message headers and IP

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2007, 11:27 AM
mwheelan mwheelan is offline
Newbie
 
Join Date: Jun 2007
Posts: 13

message headers and IP


Hello

I have a dedicated server and I am using the SMTP of one of my domain names to send mail. The IP of this domain name ends in .25 and the server hostname IP ends in .24. The emails that are received list the server hostname and IP in the message headers instead of the IP of the domain name that is sending the email. Is there something that can be done about this? I read that a message could be mistaken as spam if it doesn't originate
from the exact IP of the domain in the 'from' field.

thanks for your advice

Reply With Quote


Sponsored Links
  #2  
Old 06-14-2007, 06:10 AM
TechBrein TechBrein is offline
Web Hosting Guru
 
Join Date: Jul 2006
Location: On top of the Servers
Posts: 316
mwheelan,

This can be done by modifying the smtp_banner directive in exim.conf. Do the following:

1. create a file, say /etc/smtp_domains and add the following lines:

primary_shared_ip: server_name
sec_ded_ip: domain_name

eg:-
66.67.68.69: servername.com
66.67.68.70: customerdomain.com

2. Edit the smtp_banner section in exim.conf and change it to the following:

smtp_banner = "${lookup {$interface_address} lsearch {/etc/smtp_domains} } ESMTP Exim ${version_number} \
\#${compile_number} ${tod_full} \n\
We do not authorize the use of this system to transport unsolicited, \n\
and/or bulk e-mail."

3. Restart exim and done.

Do a 'telnet customerdomain.com 25' now and see if you are getting the domain name instead of the server name in the SMTP banner.

__________________
|| High Performance Server Management & Outstanding Technical Support
|| Server Optimization ::
Disaster Recovery :: Web Application Development
||
Setup Enterprise Servers:: Server Security :: Server Administration On Demand


Reply With Quote
  #3  
Old 06-14-2007, 09:53 AM
mwheelan mwheelan is offline
Newbie
 
Join Date: Jun 2007
Posts: 13
Hi and thanks for your detailed explanation

before I go ahead and try this would this also work for qmail ?

Furthermore, just to clear things up about my first message the emails that are sent from my server (and subsequently opened by subscribers) list the server hostname and IP in the message headers instead of the IP of the domain name that is sending the email.

Reply With Quote
Sponsored Links
  #4  
Old 06-14-2007, 10:32 AM
TechBrein TechBrein is offline
Web Hosting Guru
 
Join Date: Jul 2006
Location: On top of the Servers
Posts: 316
Sorry, the above setup is meant for only exim servers and won't work on any other mail servers. And yes, this will work as you wanted on exim servers.

__________________
|| High Performance Server Management & Outstanding Technical Support
|| Server Optimization ::
Disaster Recovery :: Web Application Development
||
Setup Enterprise Servers:: Server Security :: Server Administration On Demand


Reply With Quote
  #5  
Old 06-15-2007, 03:06 AM
mwheelan mwheelan is offline
Newbie
 
Join Date: Jun 2007
Posts: 13
Thanks again, any ideas on how this can be accomplished with qmail?

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Web Host SoftLayer Launches Message Queue Service for Scalable Software System Communication Web Hosting News 2012-09-13 17:26:30
Web Hosting Talk Message Board Back Online Following DDoS Attack Web Hosting News 2012-09-12 11:59:42
Irish Web Host LetsHost Sending Billing Reminders to Customers via Text Message Web Hosting News 2012-03-13 17:00:48
Web Host Intermedia Offers My Services Control Panel Mobile App Web Hosting News 2011-10-21 15:49:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?