[Exim] autoreply: "relaying is not allowed" error

Pàgina inicial
Delete this message
Reply to this message
Autor: James Ladan
Data:  
A: Exim Users
Assumpte: [Exim] autoreply: "relaying is not allowed" error
I'm trying to set up an autoreply message to let people know what a domain I
have set up is now obsolete. It all seems to be working fine, except for
one problem -- I get a "relaying mail to X is not allowed" error when Exim
tries to send the message. (The log entires for this are listed below.)

My sever is on a DSL connection with a non-static IP, and all such IPs for
my ISP are on RBL. To get around this, I have exim send mail through my
ISP's SMTP server, using the folowing entry in my routers configuration:

send_to_gateway:
driver = domainlist
transport = remote_smtp
route_list = "* smtp1.sympatico.ca byname"

________________________________________________________________________
As for the autoreply message configuration, the director is:

obsolete:
driver = smartuser
condition = ${if eq{$sender_address}{}{no}{yes}}
domains = ladan.2y.net
transport = obsolete_reply

________________________________________________________________________
...and the transport is:

obsolete_reply:
driver = autoreply
from = postmaster@???
reply_to = postmaster@???
to = $sender_address
bcc = postmaster@???
subject = "DELIVERY ERROR: use ladan.ca, not ladan.2y.net"
file = /usr/exim/obsolete.ladan.2y.net
return_message
user = exim

________________________________________________________________________
[delivery log from /var/log/exim.main]

2001-10-11 15:51:31 15rlrf-0001sD-00
<= jladan@??? H=jester.ti.com [192.94.94.1] P=esmtp S=1310
id=LGELKNMMNDPLBKCJFHFNOEODCAAA.jladan@??? from <jladan@???> for
gp@???

2001-10-11 15:51:32 15rlrg-0001sK-00 <= <> R=15rlrf-0001sD-00 U=exim P=local
S=2040 from <> for jladan@??? postmaster@???

2001-10-11 15:51:32 15rlrf-0001sD-00 => gp <gp@???> D=obsolete
T=obsolete_reply

2001-10-11 15:51:32 15rlrf-0001sD-00 Completed

2001-10-11 15:51:32 15rlrg-0001sK-00 => gp (root@???)
<postmaster@???> D=localuser T=local_delivery

2001-10-11 15:51:32 15rlrg-0001sK-00 ** jladan@??? R=send_to_gateway
T=remote_smtp: SMTP error from remote mailer after RCPT TO:<jladan@???>:
host smtp1.sympatico.ca [209.226.175.81]: 550 relaying mail to ti.com is not
allowed

2001-10-11 15:51:32 15rlrg-0001sK-00 Frozen (delivery error message)
________________________________________________________________________
[END delivery log from /var/log/exim.main]

If anyone knows how I should modify the configuration to not trigger this
anti-relaying mechanism, I'd really appreciate some advice...

Thanks,
James.
________________________________________________________________________
                                             James Ladan <jladan@???>