Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I have exim running on port 8900 and another mail server running on port 25. This mail server will be used to relay outgoing emails to exim. But somehow I am getting this error from exim 550, 'relay not permitted' when relaying email to exim. Is there any way I can configure exim to permit relaying?

All iedas are highly appreciated.

share|improve this question
up vote 1 down vote accepted

Add this to your config:

hostlist   relay_from_hosts = 127.0.0.1 : 10.0.0.1/24

This will allow relaying from localhost and 10.0.0.1/24. Change 10.0.0.1/24 to whatever host/mask combination suits your network.

share|improve this answer
    
Is 10.0.0.1/24 the local interface ip? – Joshua Partogi Oct 17 '10 at 8:31
    
The list following the equals sign is a colon-delimited list of networks (in CIDR notation) that you want to allow relaying from. – EEAA Oct 17 '10 at 16:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.