Re: [exim] Relaying by email address

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim users
Subject: Re: [exim] Relaying by email address
On 16/08/05, Gareth.Segree@??? <Gareth.Segree@???> wrote:
> My /etc/mail/exim.conf has the following
>
> domroute:
> driver = manualroute
> transport = remote_smtp
> domains = mail1.com
> local_parts = /etc/mail/domino-users
> route_data = server.mail2.com
>
> begin rewrite
> # This line changes outgoing mail to mail.com)
> *@mail2.com "$local_part@???" bctfrF
>
> # This line should change incoming mail to certain users to mail2.com
> *@mail1.com ${lookup{$local_part}lsearch{/etc/mail/domino-users}\
>                {$value}fail}$local_part@??? bctfrF

>
> /etc/mail/domino-users
> firstname.lastname
>
>
> But the mail keep bouncing between my exim box and the domino server yet I
> can telnet from the exim box and do a manual session and it successfully
> sends the mail.
>
> See the message below. The only thing that changed was the message id
>
> 2005-08-16 12:16:52 1E553T-0004sQ-EC <= gareth_a_segree@???
> H=domsrv1.gleanerjm.gleanerco.net [10.0.94.79] P=esmtp S=19473
> d=20050816171439.42495.qmail@???
> 2005-08-16 12:16:52 1E553T-0004sQ-EC => gareth.segree@???
> <Gareth.Segree@???> R=domroute T=remote_smtp
> H=domsrv1.gleanerjm.gleanerco.net [10.0.94.79]
> 2005-08-16 12:16:52 1E553T-0004sQ-EC Completed
> 2005-08-16 12:17:17 1E553s-0002Az-NU <= gareth_a_segree@???
> H=domsrv1.gleanerjm.gleanerco.net [10.0.94.79] P=esmtp S=21310
> id=20050816171439.42495.qmail@???
> 2005-08-16 12:17:17 1E553s-0002Az-NU => gareth.segree@???
> <Gareth.Segree@???> R=domroute T=remote_smtp
> H=domsrv1.gleanerjm.gleanerco.net [10.0.94.79]
> 2005-08-16 12:17:17 1E553s-0002Az-NU Completed
>
> How can I fix this


Try posting your question again without obfuscating the domain names
in the config snippet. How can we tell what you've got wrong when you
change it before you post it?

There's at least one obvious snafu, but it's not possible to tell
whether its a genuine error or a typo in your transcription.

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???