Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 08-11-2008, 01:24 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Need to migrate from Sendmail to Exim

Hi Guys

We need to shift users(relay users) from sendmail to exim,problem is we have mailertable in sendmail for smart route and in exim we have in exim.conf

driver = manualroute
domains =
transport = remote_smtp
route_data = ""

we have another way found(but not confirmed) which is smarthost define in exim.conf and make a different file for domians,given is smarthost format and file format(mailertable in exim)

'exim.conf' entry
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}lsearch{/etc/exim/mailertable}

'mailertable' file:

And found following error:

2008-08-08 14:28:24 [] sender verif y defer for <>: failed to expand "${lookup{$domain}lsearch{ /etc/exim/mailertable}": missing or misplaced { or }
2008-08-08 14:28:24 [] F=<mfrafique> temporarily rejected RCPT <>: Could not complete fy defer for <>: failed to expand "${lookup{$domain}lsearch

Could anyone guide me in this regard how we can define multiple domians for relay in exim.
Old 08-12-2008, 10:19 AM   #2
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
looks like a typo

Your line

route_data = ${lookup{$domain}lsearch{/etc/exim/mailertable}

is missing a '}'

I think it should be

route_data = ${lookup{$domain}lsearch{/etc/exim/mailertable}}




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating from Sendmail to Exim talat Linux - Server 0 07-15-2008 08:34 AM
SendMail, PostFix or Exim jpostma Ubuntu 2 12-12-2007 12:21 AM
What is Sendmail and Exim vikasumit Linux - Software 4 05-15-2006 07:56 AM
Replacing Sendmail with Exim jademan83 *BSD 0 06-13-2005 04:10 PM
replacing sendmail with exim pbaumgar Linux - Software 1 08-15-2003 03:37 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration