|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
||||
|
** 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 |
|
|||
|
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 |
|
|||
|
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 |
|
||||
|
Quote:
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.
__________________
My Server Expert: Server support, security, and management! |
|
|||
|
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 |
|
||||
|
Quote:
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:
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.
__________________
My Server Expert: Server support, security, and management! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |