[Exim] Newbie Brain Failure - or - A bug ?????

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Sheen, Tony
日付:  
To: 'exim-users@exim.org'
題目: [Exim] Newbie Brain Failure - or - A bug ?????
Hi,

First off, sorry for such a long first message!

However, being new to Exim 4.04 (I'm still evaluating it), I tried to create
a router than simply bounced a message back to everyone who sent to a
specific domain. In case you are wondering, I do have a valid reason for
doing it!

So, based on the examples in the manual, I created a router as follows:

  route_foo_net:
    driver = redirect
    allow_filter = true
    user = exim
    domains = foo.net
    file = /etc/mail/exim/foo.filter
    reply_transport = remote_smtp_reply


Which uses the following transport:

  remote_smtp_reply:
    driver = smtp
    port = 25
    hosts = foo.co.uk


The foo.filter file contains:

#Exim filter

  mail
    to "$sender_address"
    from "postmaster@???"
    text "Thank you for the message"
    subject "Re: Your Message"


All well and good I thought - BUT - I whenever I send to "foo.net", I get
the following error message from my (real) SendMail SMTP host:

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  mail to tony.sheen@???
    generated by tonys@???
    SMTP error from remote mailer after RCPT TO:<>tony.sheen@???>:
    host vardar.wcom.co.uk [170.127.79.101]: 553 5.0.0
<>tony.sheen@???>... Unbalanced '>'


------ This is a copy of the message, including all the headers. ------

Return-path: <tony.sheen@???>
Received: from leste ([170.127.79.97] helo=soo.com)
    by leste with smtp (Exim 4.04)
    id 17AcMc-00074C-00
    for tonys@???; Wed, 22 May 2002 21:06:04 +0100
Subject: Test 21
From: tony.sheen@???
To: tonys@???
Message-Id: <E17AcMc-00074C-00@leste>
Date: Wed, 22 May 2002 21:06:04 +0100


test 21

<END>

The same extra '>' character appears in the debug trace from Exim itself
(see below) and there is no sign of "postmaster@???" MAIL FROM address !

So what am doing wrong??? Or is it a bug ? :-(


--<snip>--
>>>>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>>>

--------> >tony.sheen@??? <--------
locking /var/spool/mqueue/exim/db/retry.lockfile
locked /var/spool/mqueue/exim/db/retry.lockfile
opened hints database /var/spool/mqueue/exim/db/retry: flags=0
dbfn_read: key=T:>tony.sheen@???:tonys@???
no retry record exists
search_tidyup called
changed uid/gid: local delivery to >tony.sheen@???
<>tony.sheen@???> transport=remote_smtp_reply
uid=5009 gid=520
auxiliary group list: <none>
home=NULL current=/
set_process_info: 27285 delivering 17AcMc-00074C-00 to
>tony.sheen@??? using remote_smtp_reply

remote_smtp_reply transport entered
>tony.sheen@???

using the transport's hosts: vardar.wcom.co.uk
getting address for vardar.wcom.co.uk
DNS lookup of vardar.wcom.co.uk (A) succeeded
fully qualified name = vardar.wcom.co.uk
vardar.wcom.co.uk 170.127.79.101 mx=-1 sort=-32
foo.net in queue_smtp_domains? no (option unset)
checking status of vardar.wcom.co.uk
locking /var/spool/mqueue/exim/db/retry.lockfile
locked /var/spool/mqueue/exim/db/retry.lockfile
opened hints database /var/spool/mqueue/exim/db/retry: flags=0
dbfn_read: key=T:vardar.wcom.co.uk:170.127.79.101
dbfn_read: key=T:vardar.wcom.co.uk:170.127.79.101:17AcMc-00074C-00
no host retry record
no message retry record
vardar.wcom.co.uk [170.127.79.101] status = usable
170.127.79.101 in serialize_hosts? no (option unset)
delivering 17AcMc-00074C-00 to vardar.wcom.co.uk [170.127.79.101]
(>tony.sheen@???)
set_process_info: 27285 delivering 17AcMc-00074C-00 to vardar.wcom.co.uk
[170.127.79.101] (>tony.sheen@???)
Connecting to vardar.wcom.co.uk [170.127.79.101]:25 ... connected
read response data: size=76
SMTP<< 220 Ready. ESMTP waiting for mail on Wed, 22 May 2002 21:06:03
+0100 (BST)
SMTP>> EHLO leste

read response data: size=190
  SMTP<< 250-vardar.wcom.co.uk Hello leste [170.127.79.97], pleased to meet
you
         250-ENHANCEDSTATUSCODES
         250-PIPELINING
         250-8BITMIME
         250-SIZE 50000000
         250-DSN
         250-ETRN
         250-DELIVERBY
         250 HELP
170.127.79.101 in hosts_require_auth? no (option unset)

SMTP>> MAIL FROM:<tony.sheen@???>

read response data: size=45
SMTP<< 250 2.1.0 <tony.sheen@???>... Sender ok
SMTP>> RCPT TO:<>tony.sheen@???>

read response data: size=51
SMTP<< 553 5.0.0 <>tony.sheen@???>... Unbalanced '>'
ok=1 send_quit=1 send_rset=1 continue_more=0 yield=0 first_address=0
transport_check_waiting entered
sequence=1 local_max=500 global_max=-1
locking /var/spool/mqueue/exim/db/wait-remote_smtp_reply.lockfile
locked /var/spool/mqueue/exim/db/wait-remote_smtp_reply.lockfile
opened hints database /var/spool/mqueue/exim/db/wait-remote_smtp_reply:
flags=102
dbfn_read: key=vardar.wcom.co.uk
no messages waiting for vardar.wcom.co.uk
SMTP>> QUIT

set_process_info: 27285 delivering 17AcMc-00074C-00: just tried
vardar.wcom.co.uk [170.127.79.101] for >tony.sheen@???: result OK
Leaving remote_smtp_reply transport
search_tidyup called
remote_smtp_reply transport returned FAIL for >tony.sheen@???
post-process >tony.sheen@??? (7)
LOG: MAIN
** >tony.sheen@??? <tonys@???> R=route_mki_net
T=remote_smtp_reply: SMTP error from remote mailer after RCPT
TO:<>tony.sheen@???>: host vardar.wcom.co.uk [170.127.79.101]: 553
5.0.0 <>tony.sheen@???>... Unbalanced '>'

--<snip>--

Tony Sheen
WorldCom International PostMaster
Messaging Team Leader