On Oct 26, 2004 at 15:07, Martin Koenig martin.koenig@toplink-plannet.de wrote: [...]
I don't understand this either. To deny relaying look at From:. If it has a local domain in it and if you can trust what's in From (e.g. challenge it & check_from()) relay it, if not drop it. You should do this only for the initial message in the dialog (has_to_tag() is false).
The server is a relaying server only, it has no knowledge of what domains are "local" for the actual end user or not.
What is the module that provides has_to_tag()?
uri (and it's has_totag()).
Andrei