Hans-Juergen Beie wrote:
> You will need some data structures, first. And that's what GOsa is good
> for, among many other things.
Thanks. I already had some structures but I took a look at GOsa and
liked the look of it. I've now got GOsa configured with Cyrus IMAP and
it all works nicely. I now need to figure out how to get exim to send
mail to the correct users. ;-)
I have users, for example
dn: cn=James Davis,ou=people,ou=Operations,ou=Jolt,dc=jolt,dc=co,dc=uk
with the attributes
uid: james
mail: james@???
gosaMailAlternateAddress: postmaster@???
gosaMailAlternateAddress: james@???
What I'd like to do is on receipt of a message, exim search through the
mail and gosaMailAlternateAddress attributes within dc=jolt,dc=co,dc=uk
for a matching entry for the recepient for that message. Exim then
delivers it to the account specified with the uid through the following
transport
cyrus_delivery:
driver = lmtp
socket = /var/run/cyrus/socket/lmtp
batch_max = 20
user = mail
Any ideas how I need to tweak my configuration to achieve this? I've
looked around for examples but nothing seems to be written quite at my
level :-) Currently I'm serving virtual domains using
domainlist local_domains = @:localhost:dsearch;/etc/exim4/virtual
and
vdom_aliases:
driver = redirect
allow_defer
allow_fail
domains = dsearch;/etc/exim4/virtual
data =
${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain}}}
retry_use_local_part
pipe_transport = address_pipe
file_transport = address_file
#no_more
Regards,
James
--
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/