Configuring exim4 for local network

This is a discussion on Configuring exim4 for local network within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; I have a linux server running exim4 and is on a network of PC's running email clients. When trying ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-07-2007
Bruce
 
Posts: n/a
Default Configuring exim4 for local network

I have a linux server running exim4 and is on a network of PC's running
email clients. When trying to send a message I'm getting the error
"relay not permitted". I understand why this happens but I can't find a
setting that works. The documentation has been informative but not
helpful to fix the problem. I'm sure this a very common setup and I'm
missing something. I have discovered that setting dc_relay_domains='*'
does make it work but I'm sure that isn't advisable. The network is
behind a router with the typical 192.168.0.* addressing. What is the
recomended setup for this arrangement? Any help would be appreciated.

Reply With Quote
  #2 (permalink)  
Old 01-08-2007
René Berber
 
Posts: n/a
Default Re: Configuring exim4 for local network



On Jan 7, 8:23 am, "Bruce" wrote:

> I have a linux server running exim4 and is on a network of PC's running
> email clients. When trying to send a message I'm getting the error
> "relay not permitted". I understand why this happens but I can't find a
> setting that works. The documentation has been informative but not
> helpful to fix the problem. I'm sure this a very common setup and I'm
> missing something. I have discovered that setting dc_relay_domains='*'
> does make it work but I'm sure that isn't advisable. The network is
> behind a router with the typical 192.168.0.* addressing. What is the
> recomended setup for this arrangement? Any help would be appreciated.


For relaying control you just need (with sample values):

hostlist relay_from_hosts = 127.0.0.1:192.168.10.0/24

To actually deliver the messages, you don't say if you want to use a
"smart host" or just deliver, the later is the default configuration,
the former is done with something like:

smart_route:
driver = manualroute
transport = remote_smtp
route_list = * your-isp-smtp.server.com

that part goes in the routers section, Exim will try all the routes in
order.

HTH
--
René Berber

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0