It was pointed out to me offline that the referenced FAQ entry is only
for outgoing mail. Perhaps there should be a matching one for incoming
mail.  Enclosed are the relevant bits of exim-4 configuration file to run
TMDA for everybody who has an appropriate configuration in their home
directory. Sorry, I lost the credits for whose list posting I borrowed
these from.  Feel free to berate me privately if you are that person :-).

But maybe I am still missing the advantage of a seperate daemon.


exim configuration follows.


This should be nearly the first router (for me it comes after system 
aliases, and an "eximfilter" router I use to sort out mailing lists
before they reach tmda)

# This router catches all local deliveries *before* forward and local mail
# routers and sends to TMDA. Once messages is released by TMDA it is 
# added to users maildir directory by TMDA/Exim.

tmdaprocess:
  driver = accept
  check_local_user
  no_verify
  no_expn
  local_part_suffix = -*
  local_part_suffix_optional
  transport = tmda_pipe
  condition = ${if exists{$home/.tmda/config} {yes} {no} }


and later in the file in the transports section.


# This is the command pipe transport for TMDA used instead of address pipe 
# transport

tmda_pipe:
  driver = pipe
  command = /usr/local/bin/python /usr/local/bin/tmda-filter
  return_path_add
  delivery_date_add
  envelope_to_add
  user = $local_part
  group = mail
  environment = EXTENSION=${substr_1:$local_part_suffix}:\
                [EMAIL PROTECTED]


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to