Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

relay_from_hosts in exim-4.40

Posted in All on September 25th, 2004 · No Comments

Just in case you will bump into the same problem or if I will forget how to solve it…

If you want to use a file with a list of IP addresses that are allowed to relay mail through your server, you need to use net-iplsearch instead of plain lsearch. Plain lsearch will not work and you’ll get all those ‘relay denied’ errors.

hostlist relay_from_hosts = net-iplsearch;/etc/exim/relay_from_hosts

Specify IP addresses (and network masks if you wish) one per line (or with other separators that Exim understands).

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Note: This post is over 4 years old. You may want to check later in this blog to see if there is new information relevant to your comment.