Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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? –  jpartogi 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
add comment

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.