Schiemer, Markus wrote: > How can I manage the delivery of mails based upon the existence (OS/imap) of > the user? > [...]
On Linux, this works (it's not from me, but Andrzej Filip). The bottom of my
mc file reads:
Klocaluser hash /etc/mail/localuser
LOCAL_RULESETS
SLocal_localaddr
R$* $: < $(localuser $1 $: $) > $1
R<$-:$+> $* $# $1 $@ $2 $: $3
R<$-> $* $# $1 $: $2
In /etc/mail/localusers, I have one line per Cyrus recipient:
jdoe
cyrus:localhost
Cheers
Olaf
