Hi Steve
Thanks for your reply. I have some follow-up questions. I'm not experienced
in mail delivery rules...
I'd be happy for pointers to documentation.
There are plugins already present to do local maildir delivery,
and forward via SMTP. So I'd suggest you just augment those
separately.
(ie. Update the "queue/maildir" plugin to write to the proper
location, and record a status somewhere so that the message
delivery works. Then update the smtp forward plugin to only
forward if it should - and reject otherwise.)
What is the best way to deal with mail to missing users in local domains.
Silently ignore it?
What is the connection between the relay and the queue plugins? Do the
former set some kind of flag to the latter? Or will the smtp plugin have to
check relaying again?