Take the 2-minute tour ×
Server Fault is a question and answer site for 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

1 Answer 1

up vote 1 down vote accepted

Add this to your config:

hostlist   relay_from_hosts = :

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

share|improve this answer
Is 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

Your Answer


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.