Sending email from dedicated IP on a shared server

petaglx

Member
Aug 3, 2011
16
0
51
Hello Experts.

I have an account on my cPanel server to which is assigned a dedicated IP address. I want to force all emails which are sent via SMTP, to go out through that dedicated IP address. How can I accomplish this? I have already checked WHM->Tweak Settings but no option is available for this. Please help me to setup this feature. Aditional I would kinly request cPanel developers to add this feature to later releases of cPanel.

Best Regards.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,236
463
Hello :)

You can enable the following option in "WHM >> Service Configuration >> Exim Configuration Manager" under the "Domains and IPs" tab:

"Send mail from account’s dedicated IP address"

Per the option description, this will 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.

Thank you.
 

petaglx

Member
Aug 3, 2011
16
0
51
Thank you very much! What will happen for accounts using server's or reseller's shared IP? Will their mails be sent from their shared IP?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Yes, if an account doesn't have a dedicated IP, it would send using the shared IP.
 

electric

Well-Known Member
Nov 5, 2001
789
10
318
Per the option description, this will 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.
Is this something we need to do manually for every account in the server that has a dedicated Ip address? Is there any way to automate this?