Skip to main content

Server Main IP Problems

Comments

11 comments

  • kernow
    You can change the IP that exim sends out email, info here: [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/EximDifferentIps]Changing the Sending IP for Outbound Email in Exim Remember to set up rDNS for the new IP with your DC.
    0
  • cgimickalo
    Is it possible through the Exim configuration Editor to designate 1 domain to send out their emails with it's own IP address instead of the server's main IP, then leaving all other domains on server to use the default server IP then ? Mike
    0
  • kernow
    Yes, you can get exim to do that in WHM>>>>>Exim configuration Manager. The option is somewhere near the bottom of page.
    0
  • cgimickalo
    thanks for you help, found the configuration change. When you enable this option to use domain's unique assigned IP's does it automatically add them to the /etc/mail_reverse_dns file or do I need to add each domain's IP: domainname manually to the file that has their own IP address ? Thanks, Mike
    0
  • cPanelMichael
    Hello :) By default, Exim will send mail from the server's primary IP address. There is also an option in the Basic Exim Configuration Editor to send mail from IP addresses delegated to accounts with dedicated IPs. You only need to edit the file you referenced if you wish to manage the outgoing IP addresses manually. This is documented at: Changing the Sending IP for Outbound Email in Exim Thank you.
    0
  • cgimickalo
    Yes I've read that document but just wanted to clarify one point regarding that setting. In the Exim Configuration Manager there is that setting: Domains and IPs Send mail from account"s dedicated IP address [?] Automatically send outgoing mail from the account"s IP address instead of the main IP address. Warning: If you turn this setting on, make sure that reverse DNS entries match the ones in /etc/mail_reverse_dns.
    Currently it is disabled. Now if I enable this option does it automatically update the /etc/mail_reverse_dns file with the IP and domain name for each of the domains with their own assigned IP instead of using the main server IP? Or do I need to manually update the "mail_reverse_dns" my self? Also, the domains that use the shared main server IP to send emails, will that remain the same with this option enabled then ? Thanks, Mike
    0
  • cPanelMichael
    Hello :) Yes, the "/etc/mail_reverse_dns" file will populate automatically when enabling "Send mail from account"s dedicated IP address". You will simply need to ensure the actual RDNS entries are added by contacting your data center and requesting they add them. Domain names assigned to a shared IP address will continue to send email from the shared IP. Thank you.
    0
  • cgimickalo
    Thank you this is exactly what I needed to verify. I have already check that the reverse DNS for the assigned IP's are ok. Mike
    0
  • cgimickalo
    I have 1 more question about this Exim setup now. I enabled so outgoing emails are sent with the domains IP's seems to be working now. My question is if I add another account with their own IP address, instead of the shared IP, will their new IP be added to the mailips, mailhelo and mail_reverse_dns files automatically or do I need to add them manually to these files? Thanks, Mike
    0
  • cPanelMichael
    It will populate to that file automatically. You will only ever have to manually edit those files if you enable the following options: Reference /etc/mailhelo for outgoing SMTP HELO Reference /etc/mailips for outgoing SMTP connections Thank you.
    0
  • cgimickalo
    Ok great. As always thanks for the prompt assistance & help :) Mike
    0

Please sign in to leave a comment.