I have got stuck with auto reply and the accept route for a closed 
mailing list.

my list transport works fine but will only be run when the user is 
authorised to post to the list.  I want to create a "catch" router than 
sends back a message to posters who are not allowed to post to the list 
a standard reply.  I have set up a router following the list router and 
an associtated transport as follows:

lists_catch:
  driver = accept
  transport=lists_autoreply
  domains=+list_domains
  require_files= /etc/mail/special-lists/autoreply/$local_part
  condition = $authenticated_id

lists_autoreply:
  driver=autoreply
  from = [email protected]
  subject = "Your message to $local_p...@$domain"
  file= /etc/mail/special-lists/autoreply/$local_part

The router correctly  the message to the transport and the transport 
generates the message but the autoreply fials with the following entry 
in the log.

2009-11-10 11:10:42 1N7ocU-00020d-4T Error while reading message with no 
usable sender address (R=1N7ocU-00020a-3R): no recipient addresses

I am fathomed by this, surely the address should come from the message 
that auto reply is sent.  The debug log is below;

11:10:42  7727 exec /usr/local/exim/bin/exim -d=0xfffdffff -t -oem -oi 
-f <> -E1N7ocU-00020a-3R
11:10:42  7727 Exim version 4.67 uid=93 gid=93 pid=7727 D=fffdffff
11:10:42  7727 changed uid/gid: forcing real = effective
11:10:42  7727   uid=0 gid=93 pid=7727
11:10:42  7727   auxiliary group list: <none>
11:10:42  7727 seeking password data for user "root": cache not available
11:10:42  7727 getpwnam() succeeded uid=0 gid=0
11:10:42  7727 configuration file is /usr/local/exim/configure
11:10:42  7727 log selectors = 00000ffc 00212001
11:10:42  7727 cwd=/ 8 args: /usr/local/exim/bin/exim -d=0xfffdffff -t 
-oem -oi -f <> -E1N7ocU-00020a-3R
11:10:42  7727 trusted user
11:10:42  7727 admin user
11:10:42  7727 changed uid/gid: privilege not needed
11:10:42  7727   uid=93 gid=93 pid=7727
11:10:42  7727   auxiliary group list: 93
11:10:42  7727 originator: uid=93 gid=93 login=exim name=
11:10:42  7727 sender address =
11:10:42  7727 set_process_info:  7727 accepting a local non-SMTP 
message from <>
11:10:42  7727 Sender:
11:10:42  7727 search_tidyup called
11:10:42  7727 >>Headers received:
11:10:42  7727 From: [email protected]
11:10:42  7727 Subject: Your message to [email protected]
11:10:42  7727 In-Reply-To: <[email protected]>
11:10:42  7727 References: <[email protected]>
11:10:42  7727 Auto-Submitted: auto-replied
11:10:42  7727
11:10:42  7727 rewrite_one_header: type=F:
11:10:42  7727   From: [email protected]
11:10:42  7727 search_tidyup called
11:10:42  7727 >>Headers after rewriting and local additions:
11:10:42  7727 F From: [email protected]
11:10:42  7727   Subject: Your message to [email protected]
11:10:42  7727   In-Reply-To: <[email protected]>
11:10:42  7727   References: <[email protected]>
11:10:42  7727   Auto-Submitted: auto-replied
11:10:42  7727 I Message-Id: <[email protected]>
11:10:42  7727   Date: Tue, 10 Nov 2009 11:10:42 +0000
11:10:42  7727
11:10:42  7727 Data file written for message 1N7ocU-00020d-4T
11:10:42  7727 *** No recipients
11:10:42  7727 LOG: MAIN
11:10:42  7727   Error while reading message with no usable sender 
address (R=1N7ocU-00020a-3R): no recipient addresses
11:10:42  7727 search_tidyup called
11:10:42  7727 >>>>>>>>>>>>>>>> Exim pid=7727 terminating with rc=2 
 >>>>>>>>>>>>>>>>


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to