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.

Howto accept mail from a trusted host ?

Discussion in 'E-mail Discussions' started by shricon, Dec 20, 2006.

  1. shricon

    shricon Registered

    Joined:
    Dec 20, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    I am new to exim and need to configure exim in WHM/Cpanel in such a way it will accept inboud mail from a trusted mailserver (which acts as a filtering preprocessor).

    I've added the following line in the first block of the exim advanced editor in WHM

    hostlist host_accept_relay = 217.195.231.69 : localhost

    Which I think should allow the trusted mailserver (217.195.231.69) to deliver mail to local users without requiring authorisation. But still I get a 550 relaying denied error from exim.

    I am using WHM 10.8.0.

    Local user accounts are set up and can send mail to any address. Only I can't get any inbound mail.

    What am I doing wrong ?

    Thanks,

    Vivek
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    remove that from the exim conf

    add the ip to the file /etc/alwaysrelay (if it doesnt exist add it)

    one IP per line
     
  3. shricon

    shricon Registered

    Joined:
    Dec 20, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Worked like a charm

    Worked like a charm,

    Thanks!
     
  4. shricon

    shricon Registered

    Joined:
    Dec 20, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Jumped to soon

    I am affraid I am still having trouble with mail bouncing between the two servers now and giving the following if I try to resend from queue :

    Too many "Received" headers - suspected mail loop

    Any way I can make exim just accept and deliver the mail if it receives it.

    Why is exim trying to deliver it back to the server which is trusted and where it came from ?
     
  5. jimb

    jimb Member

    Joined:
    Sep 12, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I'm having this exact problem, and its driving me up the wall.:mad: Anyone got any ideas? :confused:
     
Loading...

Share This Page