[Exim] ldap and .forward files

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Oliver Seidel
Dátum:  
Címzett: exim-users
Tárgy: [Exim] ldap and .forward files
Hi,

I use exim with a lookup facility to identify the local user. First I
check the alias entries, then the uid entries and finally deliver
anything remaining to my dummy-user.

I have the standard "userforward" director and that appears to only
enable the processing of "forward files" for mail destinations where
"local_part=existing local user".

How would I go about enabling the forwarding for my alias users?

Thank you very much,

Oliver Seidel

---------------------------------------------------------------------------
ldap_aliases:
driver = aliasfile
search_type = ldap
query = "ldap://192.168.2.89:389/ou=People,dc=in%20medias%20res,dc=com?mailbox?one?(mailAlias=${local_
part})"
user = ${lookup ldap{ldap://192.168.2.89:389/ou=People,dc=in%20medias%20res,dc=com?uidnumber?one?(mail
Alias=${local_part})}{$value}fail}
group = users
file_transport = address_file
pipe_transport = address_pipe

ldap_uids:
driver = aliasfile
search_type = ldap
query = "ldap://192.168.2.89:389/uid=${local_part},ou=People,dc=in%20medias%20res,dc=com?mailbox?base?
"
user = ${lookup ldap{ldap://192.168.2.89:389/uid=${local_part},ou=People,dc=in%20medias%20res,dc=com?u
idnumber?base?}{$value}fail}
group = users
file_transport = address_file
pipe_transport = address_pipe

just_eat_it:
        driver = smartuser
        new_address = maildump@???
---------------------------------------------------------------------------