Node:exim, Previous:sendmail, Up:MTA



Using mail.local with exim.

Using mail.local with exim is quite straightforward. The following example illustrates the definition of appropriate transport and director in exim.conf:

# transport
mail_local_pipe:
  driver = pipe
  command = /usr/local/libexec/mail.local -s %h/.filter.scm \
              -q /etc/mail/userquota $local_part
  return_path_add
  delivery_date_add
  envelope_to_add

# director
mail_local:
  driver = localuser
  transport = mail_local_pipe