Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    18

    Default For customers w/static IP, have Exim/SMTP use that IP for sending

    It would be nice if it was configurable or just automatic that if a customer has a static IP, that IP would be used for sending out e-mail.

    A common case we see where using just the main IP of the server for delivery is if there is a local spam break out. Say a user's e-mail account gets compromised and it is used to send 10s of thousands of spams. Currently, this results in the entire server getting black listed.

    If it was configurable, or just 'automatic' for customers with static IPs to have their mail delivered off their IP, then the impact of this kind of thing would be more limited and in particular, customers who pay extra to have a static IP would not be affected by a spam outbreak from one of the domains of the majority of customers who use shared IP.

    Possibly this is just no doable with Exim?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    I believe what you seek can be found on the Exim Configuration Editor page, under the Domains and IPs section.

  3. #3
    Member
    Join Date
    Jan 2006
    Posts
    18

    Default

    Sure enough, it is there, thanks! Not sure why I never noticed it before.

  4. #4
    Member
    Join Date
    Jan 2006
    Posts
    18

    Default

    It looks like cPanel does not automatically populate /etc/mailips and /etc/mail_reverse_dns. Is there a reason this is not done (to avoid nasty side effects or something) ?

    I'm a bit leery of using this the way it is. If we have to manually update those files because we'll end up with stale information floating around when accounts are terminated.

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by openaccess View Post
    It looks like cPanel does not automatically populate /etc/mailips and /etc/mail_reverse_dns. Is there a reason this is not done (to avoid nasty side effects or something) ?

    I'm a bit leery of using this the way it is. If we have to manually update those files because we'll end up with stale information floating around when accounts are terminated.
    To automatically populate the files mailips, mailhelo, and mail_reverse_dns, please ensure to use the "Automatic" option as detailed below:

    Menu path, WHM: Main >> Service Configuration >> Exim Configuration Editor >> Standard Options >> Domains and IPs
    * Automatically send outgoing mail from the account's IP address instead of the main IP address.

    Documentation:
    EximConfig < AllDocumentation/WHMDocs < TWiki
    DomainsIps < AllDocumentation/WHMDocs < TWiki

  6. #6
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    If we check this

    Automatically send outgoing mail from the account's IP address instead of the main IP address.

    Why isnt cpanel automatically creates the appropriate entry in the following file so we DO NOT have to manually edit them? That is too much of a hassle for customers

    files im referring to is
    * /etc/mailhelo — Exim's HELO command's configuration file.
    * /etc/mailips — The file that specifies from which IP addresses mail should be sent.

    from : Changing the Sending IP for Outbound Email in Exim

  7. #7
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by sharmaine001 View Post
    If we check this

    Automatically send outgoing mail from the account's IP address instead of the main IP address.

    Why isnt cpanel automatically creates the appropriate entry in the following file so we DO NOT have to manually edit them? That is too much of a hassle for customers

    files im referring to is
    * /etc/mailhelo — Exim's HELO command's configuration file.
    * /etc/mailips — The file that specifies from which IP addresses mail should be sent.

    from : Changing the Sending IP for Outbound Email in Exim
    The automatic option should maintain the two aforementioned files without manual intervention; if you're experiencing difficulty with this option please submit a support request so that we may assist with investigating the issue. When available, please let me know the ticket ID number so that we may follow-up internally.

Similar Threads & Tags
Similar threads

  1. exim + Static IP ADdress
    By mfahey in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-28-2009, 04:25 PM
  2. Sending email to customers from command line
    By Datacenter1.com in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-30-2009, 01:26 PM
  3. cPanel not sending new account data to customers
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-18-2008, 08:35 PM
  4. Bug in Exim SMTP sending spam with mail.microsoft.com
    By wimp in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-21-2003, 10:25 AM
  5. Problem sending email to new customers john@hisdomain.com wh
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-17-2002, 06:57 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube