Re: [exim] howto set macros depending on ldap request

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: 'Exim-users'
Aihe: Re: [exim] howto set macros depending on ldap request
Jonas Meurer wrote:

> so what's the best way to deliver the maildir path fetched from ldap
> from my router to the transport?


I really don't understand all this debian gizmos, but address_data is
made just for that:

your_router:
[conditions...]
address_data = ${lookup...}
transport = your_transport
...

your_transport:
driver = appendfile
directory = /var/spool/vmail/$address_data
...