Re: [exim] LDAP / Virtual Domains

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: James Davis
Fecha:  
A: Hans-Juergen Beie
Cc: exim-users
Asunto: Re: [exim] LDAP / Virtual Domains
Are you using the vacation message feature? I created

gosa_vacation:
        debug_print = "R: gosa_vacation for $local_part@$domain"
        driver = accept
        domains = dsearch;/etc/exim4/virtual
        unseen
        condition = ${lookup ldap
{ldap://localhost/dc=jolt,dc=co,dc=uk?uid?sub?(&(gosaMailDeliveryMode=*V*)(mail=$local_part@$domain))}}
        transport = vacation_reply


and

vacation_reply:
        driver = autoreply
        to = $sender_address
        subject = "Autoreply: Vacation Message for ${local_part}@${domain}"
        text = "Vacation Message"
        return_message
        user = mail


But I can't seem to work out a way to quote the results of

ldap://localhost/dc=jolt,dc=co,dc=uk?gosaVacationMessage?sub?(mail=$local_part@$domain)

in the text option. :(

James

--
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/