Re: [Exim] Frustrated (still), unable to get vacation and ma…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Simon Alman
Päiväys:  
Vastaanottaja: John (TJ) Penton, exim-users
Aihe: Re: [Exim] Frustrated (still), unable to get vacation and mail
Hi, thanks for the response, and confirmation, that you have had exim
vacation working in version 4.05 - at least I now know that it is likely my
configuration and not exim that is at fault.

I tried what you said using your previous message as the test, the debug
output is shown below. I notice that the reply message is generated with
"Mail to: <default>" is this correct/should this be happening ?

In my previous message to the list I showed in the queue debug that a
response message was being generated by the .forward file for user
simon.alman in response to a message from test user haven. However the
response is then being held on the queue with the error:

" == ><haven@???> <simon.alman@???> R=userforward
T=address_reply defer (0): Failed to send message from address_reply
transport (1)"

I have provided copies of the relevant transports and routers (all fairly
standard stuff). Why is this happening ? The debug output doesn't appear to
be telling me much that is useful in troubleshooting the problem further.
Any further ideas/opinions would be gratefully appreciated.

Regards

Simon Alman


>The reason (I think) that no auto-reply is being generated is that the
>"personal" condition is not being met, since it implies "$h_from does not
>contain root@" (since you are running exim -bf as root, it has, I think
>assumed root is the sender and the From: address. Try adding a From: line
>into your test file. Or better still, save a real email and use that to
>test it.
>
>John
>
>--
>-it all comes from liking honey too much!-WTP



[root simon.alman]# /usr/exim/bin/exim -C /usr/exim/exim_outgoing.conf -d
-bf /home/simon.alman/.forward </home/simon.alman/message
Exim version 4.05 uid=0 gid=0 pid=19629 L=834cd8 D=fff7577f
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
changed uid/gid: -C, -D, -be or -bf forces real uid
uid=0 gid=0
auxiliary group list: 0 1 2 3 4 6 10
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
sender address = root@???
set_process_info: 19629 accepting a local non-SMTP message from
<root@???>
Sender: root@???
search_tidyup called
>>Headers received:

X-Envelope-To: <simon.alman@localhost>
Return-Path: <john@???>
Received: from localhost (IDENT:root@localhost [127.0.0.1])
         by localhost (8.10.2/8.10.2) with ESMTP id g94AJ4t04634
         for <simon.alman@localhost>; Fri, 4 Oct 2002 11:19:05 +0100
Envelope-to: simon.alman@???
Delivery-date: Fri, 04 Oct 2002 11:21:26 +0100
Received: from mail.blah.ltd.uk
         by localhost with POP3 (fetchmail-5.9.13)
         for simon.alman@localhost (multi-drop); Fri, 04 Oct 2002 11:19:05
+0100 (BST)
Received: from mta07-svc.ntlworld.com ([62.253.162.47])
         by mail.blah.ltd.uk with esmtp (Exim 3.36 #1)
         id 17xPaI-0006O6-00
         for simon.alman@???; Fri, 04 Oct 2002 11:21:26 +0100
Received: from sturdy.local ([213.107.105.128]) by mta07-svc.ntlworld.com
           (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
           id <20021004102121.JIEJ28004.mta07-svc.ntlworld.com@???>;
           Fri, 4 Oct 2002 11:21:21 +0100
Received: from knapdale.local ([192.168.0.15] helo=knapdale.forest)
         by sturdy.local with esmtp (Exim 4.05)
         id 17xOjl-0001Dc-00; Fri, 04 Oct 2002 10:27:09 +0100
Received: from knapdale.local ([192.168.1.15])
         by knapdale.forest with esmtp (Exim 4.10)
         id 17xSCJ-0000Lm-00; Fri, 04 Oct 2002 12:08:51 -0100
Date: Fri, 4 Oct 2002 12:08:49 -0100 (GMT+1)
From: "John (TJ) Penton" <john@???>
X-X-Sender: ajp38@???
To: Simon Alman <simon.alman@???>
cc: exim-users@???
Subject: Re: [Exim] Frustrated (still), unable to get vacation and mail
In-Reply-To: <5.1.1.6.0.20021004095401.00af9158@192.168.100.111>
Message-ID: <Pine.LNX.4.44.0210041149370.1218-100000@???>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-UIDL: kcD"!WcV"!*Lf"!0%d"!


address match: subject=root@??? pattern=*@salamander-organization.co.uk
tsorg.com in "salamander-organization.co.uk"? no (end of list)
root@??? in "*@salamander-organization.co.uk"? no (end of list)
rewritten sender = root@???
rewrite_one_header: type=F:
From: "John (TJ) Penton" <john@???>
rewrite_one_header: type=T:
To: Simon Alman <simon.alman@???>
rewrite_one_header: type=C:
cc: exim-users@???
search_tidyup called
>>Headers after local additions:

P Received: from root by Chameleon with local (Exim 4.05)
         id 17xPe8-00056b-00; Fri, 04 Oct 2002 11:25:24 +0100
   X-Envelope-To: <simon.alman@localhost>
* Return-Path: <john@???>
P Received: from localhost (IDENT:root@localhost [127.0.0.1])
         by localhost (8.10.2/8.10.2) with ESMTP id g94AJ4t04634
         for <simon.alman@localhost>; Fri, 4 Oct 2002 11:19:05 +0100
* Envelope-to: simon.alman@???
* Delivery-date: Fri, 04 Oct 2002 11:21:26 +0100
P Received: from mail.blah.ltd.uk
         by localhost with POP3 (fetchmail-5.9.13)
         for simon.alman@localhost (multi-drop); Fri, 04 Oct 2002 11:19:05
+0100 (BST)
P Received: from mta07-svc.ntlworld.com ([62.253.162.47])
         by mail.blah.ltd.uk with esmtp (Exim 3.36 #1)
         id 17xPaI-0006O6-00
         for simon.alman@???; Fri, 04 Oct 2002 11:21:26 +0100
P Received: from sturdy.local ([213.107.105.128]) by mta07-svc.ntlworld.com
           (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
           id <20021004102121.JIEJ28004.mta07-svc.ntlworld.com@???>;
           Fri, 4 Oct 2002 11:21:21 +0100
P Received: from knapdale.local ([192.168.0.15] helo=knapdale.forest)
         by sturdy.local with esmtp (Exim 4.05)
         id 17xOjl-0001Dc-00; Fri, 04 Oct 2002 10:27:09 +0100
P Received: from knapdale.local ([192.168.1.15])
         by knapdale.forest with esmtp (Exim 4.10)
         id 17xSCJ-0000Lm-00; Fri, 04 Oct 2002 12:08:51 -0100
   Date: Fri, 4 Oct 2002 12:08:49 -0100 (GMT+1)
F From: "John (TJ) Penton" <john@???>
   X-X-Sender: ajp38@???
T To: Simon Alman <simon.alman@???>
C cc: exim-users@???
   Subject: Re: [Exim] Frustrated (still), unable to get vacation and mail
   In-Reply-To: <5.1.1.6.0.20021004095401.00af9158@192.168.100.111>
I Message-ID: <Pine.LNX.4.44.0210041149370.1218-100000@???>
   MIME-Version: 1.0
   Content-Type: TEXT/PLAIN; charset=US-ASCII
   X-UIDL: kcD"!WcV"!*Lf"!0%d"!


Sender    = root@???
Recipient = root@???
Testing Exim filter file /home/simon.alman/.forward


Filter: start of processing
Condition is false: error_message
Sub-condition is false: $h_subject: contains Make money
Match expanded arguments:
   Subject = root@???
   Pattern = ^\d{8}@
Sub-condition is false: $sender_address matches \N^\d{8}@\N
Sub-condition is false: $h_subject: contains Make money or $sender_address
matches \N^\d{8}@\N
Sub-condition is false: $message_body contains this is spam
Condition is false: ($h_subject: contains Make money or $sender_address
matches \N^\d{8}@\N) or $message_body contains this is spam
Condition is true: personal
   Mail to: <default>
   subject: Re: Re: [Exim] Frustrated (still), unable to get vacation and mail
      file: /root/auto-reply/message
       log: /root/auto-reply/log
Filtering did not set up a significant delivery.
Normal delivery will occur.
Filter: end of processing
search_tidyup called

>>>>>>>>>>>>>>>>>> Exim pid=19629 terminating with rc=0 >>>>>>>>>>>>>>>>>>