[Exim] getting list of files from directory

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc MERLIN
Date:  
À: exim-users
Sujet: [Exim] getting list of files from directory
I setup virtual domains as outlined in the exim docs:

local_domains = "lsearch;/etc/mail/virtualdomainlist:(...)"

virtual:
driver = aliasfile
domains = lsearch;/etc/mail/virtualdomainlist
no_more
file = /etc/mail/virtualdomains/$domain
search_type = lsearch


Instead of simply listing domains in virtualdomainlist, I'd like exim to do
an ls of /etc/mail/virtualdomains and use the filenames as list of domains.
Is that possible without using perl?

Thanks,
Marc
--
Microsoft is to software what McDonalds is to gourmet cooking

Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f@??? for PGP key and other contact information