#1 (permalink)  
Old 06-23-2009, 02:32 AM
Registered User
 
Join Date: Jun 2009
Posts: 12
compliancelc is on a distinguished road
Multiple IPs/Mail servers

Hi there,

I have a VPS server with 10 IPs.

I have allocated each IP to 10 different domains/accounts

When sending email from any account, in the email headers it shows that email is always sent from the main IP/hostname.

How can I set it up so that each domain/IP combination acts as its own mailserver so each IP/hostname shows in the headers as being the IP that sent the email? This being the IP that I have allocated to it through WHM.

Also is it possible to do the same thing with the SPF and Domain Keys?

Cheers!

Dave

Last edited by compliancelc; 06-23-2009 at 08:44 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-23-2009, 09:07 AM
Registered User
 
Join Date: Jun 2009
Posts: 12
compliancelc is on a distinguished road
Multiple IPs/Mail servers

Hi there,

I have a VPS server with 10 IPs.

I have allocated each IP to 10 different domains/accounts

When sending email from any account, in the email headers it shows that email is always sent from the main IP/hostname.

How can I set it up so that each domain/IP combination acts as its own mailserver so each IP/hostname shows in the headers as being the IP that sent the email? This being the IP that I have allocated to it through WHM.

Also is it possible to do the same thing with the SPF and Domain Keys?

Cheers!

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-23-2009, 09:15 AM
Registered User
 
Join Date: Mar 2003
Location: Washington DC
Posts: 598
eth00
WHM -> exim configuration editor -> then enable:
Automatically send outgoing mail from the account's IP address instead of the main IP address. Warning: If you turn this setting on you should make sure reverse DNS entries match the ones in /etc/mail_reverse_dns.

SPF just depends on the records you create. Domainkeys will also be fine if you are using the normal install for that
__________________
John W
Security and general linux how-to's
w w w . t o t a l s e r v e r s o l u t i o n s . c o m
Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization, Consulting
English And Spanish Support!
We do it all @ TotalServerSolutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-23-2009, 10:54 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
** Merged Duplicate Threads **
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-23-2009, 06:36 PM
Registered User
 
Join Date: Jun 2009
Posts: 12
compliancelc is on a distinguished road
great thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-04-2009, 05:24 AM
Registered User
 
Join Date: Jul 2009
Posts: 4
scissorman is on a distinguished road
WHM -> exim configuration editor -> then enable:
Automatically send outgoing mail from the account's IP address instead of the main IP address. Warning: If you turn this setting on you should make sure reverse DNS entries match the ones in /etc/mail_reverse_dns.

Hi i am having the same problem i have set the above but i can’t seem to be able edit /etc/mail_reverse_dns.
I have a root account xx.xxx.xxx.150
And another account mail xx.xxx.xxx.153
Both accounts are used to run mailers but both accounts send mail from xx.xxx.xxx.150
And i can’t get it to work
I am reasonably new to WHM so be gentle
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-06-2009, 09:10 AM
Registered User
 
Join Date: Jul 2009
Posts: 4
scissorman is on a distinguished road
as posted above

I am looking for a solution so that emails are sent from there correct Ip address
any help in this matter please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-06-2009, 11:47 AM
Registered User
 
Join Date: Mar 2003
Location: Washington DC
Posts: 598
eth00
That is what the solution above was posted for, did you even try it out? If so is it not working?
__________________
John W
Security and general linux how-to's
w w w . t o t a l s e r v e r s o l u t i o n s . c o m
Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization, Consulting
English And Spanish Support!
We do it all @ TotalServerSolutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-06-2009, 12:32 PM
Registered User
 
Join Date: Jul 2009
Posts: 4
scissorman is on a distinguished road
I have tryed the above but with that setting the mail headers all come from xx.xxx.xxx.150

although the domain ip is xx.xxx.xxx.153
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-06-2009, 01:53 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
Exclamation

Quote:
Originally Posted by scissorman View Post
I have a root account xx.xxx.xxx.150
And another account mail xx.xxx.xxx.153
Both accounts are used to run mailers but both accounts send mail from xx.xxx.xxx.150
What you say doesn't make any sense ....

Is 153 and 150 on the same server machine?

If so, you root login at "150" is the login you use for configuring things
and would work at any IP on the machine unless configured otherwise.

Root is the master administrator login for the entire server.

You need to enable IP sending from account IPs, have your individual
accounts setup as dedicated IP accounts, add the references to
/etc/mail_reverse_dns so that your physical server machine knows
which domains to map to which sending IP addresses, and then
you need to contact your server provider (or whoever controls the
IP - do an ARIN lookup on your IP) and have them add a reverse (PTR)
record for each IP mapping back to those same domains.

Everything but the last part is done on your own server with root.
The last part is done in the controlling DNS of the IP licensee which
is almost always the upstream provider who provided you the server.

PS: Don't forget the local zones on your server for the dedicated IP domains
must also point to the dedicated IP address and not the shared IP address
for the server for the mail exchange for the domain in your DNS resolution
of those domain names as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 07-06-2009, 02:53 PM
Registered User
 
Join Date: Jul 2009
Posts: 4
scissorman is on a distinguished road
Hi thanks for your response
Yes both are on the same server 150 is the root and 153 is a client

The domain names as such are not on my server but pointed at the IP
I have made the changes suggested
Is this the correct format for
/etc/mail_reverse_dns

xx.xxx.xxx.150: host-xx-xxx-xxx-150.rsclientdns.com
xx.xxx.xxx.153: host-xx-xxx-xxx-153.rsclientdns.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-07-2009, 12:32 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
Lightbulb

Quote:
Originally Posted by scissorman View Post
The domain names as such are not on my server but pointed at the IP
That could be a major problem depending on what you meant by that
statement exactly. You don't necessary have to have the zones for
the domains directly hosted by your server but for what you are doing,
you must have an "A" record in each domain leading the IPs of each hosting
account respectively and the mail server address that will be used for each
domain plus an "MX" record that also leads you back to the domain host of
each of those mail server records.

Quote:
I have made the changes suggested
Is this the correct format for
/etc/mail_reverse_dns

xx.xxx.xxx.150: host-xx-xxx-xxx-150.rsclientdns.com
xx.xxx.xxx.153: host-xx-xxx-xxx-153.rsclientdns.com
Yes except you don't put the reverse DNS that is currently shown
for the IP here but the domain that is using the IP and you contact
your upstream provider and have them create an identical PTR record
in the resolution of the IP address.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple IPs per domain Celtic Mad cPanel and WHM Discussions 13 06-17-2009 08:13 PM
Multiple Shared IPs *without having to use multiple reseller accounts? thedevilman cPanel and WHM Discussions 3 10-20-2008 09:43 PM
Need multiple mail-servers for one domain, how with cPanel? Skal Tura cPanel and WHM Discussions 0 08-22-2005 02:16 PM
Multiple Shared IPs? plake cPanel and WHM Discussions 0 01-09-2004 12:24 PM
Multiple Shared IPs Possible? ecoutez cPanel and WHM Discussions 8 11-18-2002 02:55 PM


All times are GMT -5. The time now is 04:04 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc