[exim] Relaying by email address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gareth.Segree
Dátum:  
Címzett: 'Exim-users'
Tárgy: [exim] Relaying by email address
I am in the middle of migrating to Domino from Exchange and I have the
following setup

Exchaneg (gleanerjm.com) +----------------+
DomSrv1 (gleanerjm.gleanerco.net.com) +------- [ Exim Box ] -----
Internet

My internet domain is gleanerjm.com and I want incoming mail to specific
email
addresses from gleanerjm.com to be relayed to gleanerjm.gleanerco.net.com
and the headers
rewritten to say gleanerjm.gleanerco.net.com

My /etc/mail/exim.conf has the following

domroute:
driver = manualroute
transport = remote_smtp
domains = gleanerjm.com
local_parts = /etc/mail/domino-users
route_data = domsrv1.gleanerjm.gleanerco.net

begin rewrite
# This line changes outgoing mail to mail.com)
*@gleanerjm.gleanerco.net "$local_part@???" bctfrF

# This line should change incoming mail to certain users to 
gleanerjm.gleanerco.net.com
*@gleanerjm.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


Gareth Segree
Technical Support Analyst
The Gleaner Company Limited
Tel: 9223400 (Ext 6345)