Re: [Exim] exim, cyrus and virtual domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tom Lazar
Dátum:  
Címzett: Andreas J Mueller
CC: exim-users
Tárgy: Re: [Exim] exim, cyrus and virtual domains
hi andy,

thanks for your input, here's mine ;)
On Tuesday, August 26, 2003, at 11:16 Uhr, Andreas J Mueller wrote:

> You have qualify_preserve_domain set on your virtusertable router.
> That way, unqualified local parts will be qualified with the original
> domain (that's ohne-microsoft.de in the above example), and then
> processed further.


meanwhile i've come up with what i consider to be an unclean hack: it
works, but i'd much like to have it done properly. perhaps you can
comment on that?

heres the exim/configure:

[snip]

begin routers

# This router matches messages addressed to
xxx@???
# which are created by the address_to_mailbox router down below
cyrus_deliver:
driver = accept
domains = cyrus-local-delivery.tomster.org
transport = local_delivery_cyrus

[snip]

# this router matches username@??? to
mailbox_name@???
# thus passing in effect the proper mailbox name to the cyrus_deliver
router
address_to_mailbox:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part@$domain} lsearch*@
{/usr/local/etc/exim/virtusertable-withasterisk}}@cyrus-local-
delivery.tomster.org
user = mailnull

and the transport:

local_delivery_cyrus:
driver = pipe
command = "/usr/local/cyrus/bin/deliver $local_part"
group = mail
user = cyrus
return_output
log_output
message_prefix =
message_suffix =

of course, cyrus-local-delivery.tomster.org is in the local_domains
list.

what do you think? is this acceptable or 'dirty'? or is there a
possibility to go from 'address_to_mailbox' to cyrus directly?

thanks,

tom
--
tom lazar <tom@???>