[exim] Using exim3 with procmail and virtual users

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mario Domgörgen
Date:  
À: exim-users
Sujet: [exim] Using exim3 with procmail and virtual users
Moin!

Is it possible to use procmail with virtual users under exim3?

The relevant parts of my exim.conf:

procmail_pipe_virtual:
driver = pipe
command = "/usr/bin/procmail"
suffix = ""
return_output = false

procmail_virtual:
  driver = smartuser       
  transport = procmail_pipe_virtual
  home_directory = ${extract{5}{:}{${lookup{${local_part}@${domain}}\
                         lsearch{/etc/dovecot.passwd}{$value}fail}}}
  user = ${extract{2}{:}{${lookup{${local_part}@${domain}}\
                          lsearch{/etc/dovecot.passwd}{$value}fail}}}
  group = ${extract{3}{:}{${lookup{${local_part}@${domain}}\
                          lsearch{/etc/dovecot.passwd}{$value}fail}}}
  require_files = +/var/mail/${domain}/${local_part}:\
                  +/var/mail/${domain}/${local_part}/.procmailrc:\
                  +/usr/bin/procmail
  no_verify


I testet the lookups and they return the right values. My procmailrcs are
all set to 600. To debug the whole thing i added "VERBOSE = on" and set the
logfile to /tmp/procmail-log

Thanks in advance for your help!

Greetings, Mario

--
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++