On Tue Sep 23, 2008 at 10:51:43 +0200, Kaare Rasmussen wrote:
> Thanks for your reply. I have some follow-up questions. I'm not
> experienced in mail delivery rules...
If you know how to tell whether the user is local or not
then you're familiar enough.
> I'd be happy for pointers to documentation.
This is probably a good overview of the stages:
http://wiki.qpsmtpd.org/api:plugin_hooks?s=hook helo
> What is the best way to deal with mail to missing users in local domains.
> Silently ignore it?
No, reject 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?
Look at the code. I'd guess that the relay will set a transaction
note which may be examined. That's probably the cleanest way.
Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/