[Exim] No transport set by director

Página Inicial
Delete this message
Reply to this message
Autor: Marc MERLIN
Data:  
Para: exim-users
Assunto: [Exim] No transport set by director
Yeah, another question already, sorry :-)

So I have a filter that saves filtered messages to /var/tmp/savemesg.
When a message matches, exim fails with:
Filter: end of processing
LOG: 1 MAIN
original recipients ignored (message_filter)
message_filter added /var/tmp/savemesg
Delivery address list:
/var/tmp/savemesg
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: /var/tmp/savemesg
unique = /var/tmp/savemesg:message filter
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local addresses:
    /var/tmp/savemesg
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
  Deferred addresses:
search_tidyup called

>>>>>> Local deliveries >>>>>>

post-process /var/tmp/savemesg
LOG: 0 MAIN PANIC
== /var/tmp/savemesg <message filter> transporting defer (-1): No transport set
by director
search_tidyup called


I do have an address_file transport. Am I missing a special director for
my filters to be able to use it?
I also looked at my old mail server (exim 2.02), and while it doesn't
seem to have any additional directors, my filter was able to save to
/var/tmp/savemesg

Here are my directors:
> real_local:
> prefix = real-
> driver = localuser
> transport = local_delivery
>
> system_aliases:                                      
>   driver = aliasfile                                             
>   file_transport = address_file
>   pipe_transport = address_pipe
>   file = /etc/aliases
>   search_type = lsearch
>   # If an alias file can't be loaded, we defer, not freeze -- Marc
>   freeze_missing_include = false

>
> procmail:
> driver = localuser
> transport = procmail_pipe
> require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
> no_verify
>
> userforward:
> driver = forwardfile
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
> no_verify
> check_ancestor
> # Not specifying the directory forces exim to do a stat on $home first, and
> # defer if NFS is hosed
> file = .forward
> modemask = 002
> filter
>
> localuser:
> driver = localuser
> transport = local_delivery
>
>end


and my transports:
> local_delivery:
> driver = appendfile
> group = mail
> mode = 0660
> mode_fail_narrower = false
> envelope_to_add = true
> return_path_add = true
> delivery_date_add = true
> use_fcntl_lock = true
> use_lockfile = true
> file = /var/spool/mail/${local_part}
>
> address_pipe:
> driver = pipe
> log_defer_output = true
> log_fail_output = true
> path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"
> return_output = true
> allow_commands = /usr/bin/vacation
>
> address_file:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
>
> address_directory:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
> no_from_hack
> prefix = ""
> suffix = ""
>
> address_reply:
> driver = autoreply
>
> procmail_pipe:
> driver = pipe
> command = "/usr/bin/procmail -d ${local_part}"
> return_path_add = true
> delivery_date_add = true
> envelope_to_add = true
> check_string = "From "
> escape_string = ">From "
> user = $local_part
> group = mail
>
> remote_smtp:
> driver = smtp
>
> end


Help :-)

Thanks,
Marc
--
Microsoft is to software what McDonalds is to gourmet cooking

Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f@??? for PGP key and other contact information