INN virtualhost in readers.conf

David Hláčik david at hlacik.eu
Sat Jun 21 19:49:24 UTC 2008


Thanks for help,

just adding "domain" to my access group was enough.

Regards,

D.

On Sat, Jun 21, 2008 at 4:40 PM, Julien ÉLIE <julien at trigofacile.com> wrote:

> Hi David,
>
>  but is there any solution to set it directly in inn.conf? i mean
>> message-id
>> to show domain i provide instead of those get using FQDN ?
>>
>
> I do not think it is possible.
> You should set pathhost: for your feeds with innd.
> As for nnrpd, the second part of the Message-ID is generated with that:
>
>   if ((domain != NULL && innconf->domain == NULL) ||
>   (domain != NULL && innconf->domain != NULL
>        && strcmp(domain, innconf->domain) != 0)) {
>   p = domain;
>   } else {
>   if ((p = GetFQDN(domain)) == NULL)
>       return NULL;
>   }
>
> so if you do not put domain: in readers.conf, it will not work ("domain" is
> PERMaccessconf->domain here, that is to say the domain: parameter in
> readers.conf
> if not overriden by domain: in inn.conf but in that case, it must be
> different).
>
>
>  I want to use it globaly on INN not only for specific access groups in
>> readers.conf
>>
>
> It is not difficult to add a domain: parameter in readers.conf :-)
>
> Otherwise, you can just patch your own lib/genid.c to do that.  Also easy,
> according to the excerpt above.
>
> --
> Julien ÉLIE
>
> « Quand on aime on ne compte pas...
>  Ça tombe bien, je suis mauvaise en calcul ! »
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/inn-workers/attachments/20080621/8cabdca1/attachment.html>


More information about the inn-workers mailing list