The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with exim and allow relay for a single IP

Discussion in 'General Discussion' started by BrooksBridges, Sep 3, 2006.

  1. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I've searched, but not come up with a clear answer for this. I have a cPanel server that needs to be able to relay mail for another server on the same VLAN that *cannot* perform SMTP Auth. It's for a raid array management utility, and there's no chance of getting the company to fix it (believe me, it took me 2 weeks of daily calls and emails just to get a working version of the admin tool).

    I need to know how to add a single IP address that exim will allow to relay mail without authentication, as this is somewhat critical in case a disk errors in this array. I've read the threads about /etc/relayhosts, yet I'm relatively certain that file would be overwritten and/or the IP removed after some time.

    Is there a permenant method for this?

    Thanks
    -Brooks
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a file named

    /etc/alwaysrelay

    and add your ip's to it

    restart exim
     
  3. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    hmm, are you certain of this? I'm not finding any reference to that file in exim.conf.

    edit: never mind, I found it in antirelayd

    Thanks!
     
    #3 BrooksBridges, Sep 3, 2006
    Last edited: Sep 3, 2006
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    yes done it many times
     
Loading...

Share This Page