LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 08-11-2008, 02:24 AM   #1
mfrafique
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

smarthost:
driver = manualroute
domains = test.com
transport = remote_smtp
route_data = "mail.test.com"

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
smarthost5:
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}lsearch{/etc/exim/mailertable}


'mailertable' file:



test.com: mail.test.com

And found following error:

2008-08-08 14:28:24 H=bay0-omc3-s2.bay0.hotmail.com [65.54.246.202] sender verif y defer for <test@hotmail.com>: failed to expand "${lookup{$domain}lsearch{ /etc/exim/mailertable}": missing or misplaced { or }
2008-08-08 14:28:24 H=bay0-omc3-s2.bay0.hotmail.com [65.54.246.202] F=<mfrafique @hotmail.com> temporarily rejected RCPT <test123@test.com>: Could not complete fy defer for <mfrafique@hotmail.com>: 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, 11:19 AM   #2
stuart_cherrington
Member
 
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}}

HTH

Stuart.
 
  


Reply


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 09:34 AM
SendMail, PostFix or Exim jpostma Ubuntu 2 12-12-2007 01:21 AM
What is Sendmail and Exim vikasumit Linux - Software 4 05-15-2006 08:56 AM
Replacing Sendmail with Exim jademan83 *BSD 0 06-13-2005 05:10 PM
replacing sendmail with exim pbaumgar Linux - Software 1 08-15-2003 04:37 AM


All times are GMT -5. The time now is 04:09 PM.

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