From: Sebastian Krieger on
Hi,

I setup my sendmail for rewrite the from-field for my local users to
existing mailaddresses with der genericstable feature.

The Domains wich should be rewritten are in the /etc/mail/generics-
domains file.
My question:

For every host we configured sendmail on, we should administer the
generics-domains file because of the individual part behind the @ -
Sign <hostname>.<local>.<domain>.

Is there a way to define in the generics domain file something like
*.<local>.<domain> maybe with regular expressions or so?

Thanks!
Sebastian
From: Grant Taylor on
Sebastian Krieger wrote:
> Is there a way to define in the generics domain file something like
> *.<local>.<domain> maybe with regular expressions or so?

FEATURE(`generics_entire_domain')

Per the cf/README file:

generics_entire_domain
If the genericstable is enabled and GENERICS_DOMAIN or
GENERICS_DOMAIN_FILE is used, this feature will cause
addresses to be searched in the map if their domain
parts are subdomains of elements in class {G}.



Grant. . . .
From: Sebastian Krieger on
On 15 Apr., 07:29, Grant Taylor <gtay...(a)riverviewtech.net> wrote:
> Sebastian Krieger wrote:
> > Is there a way to define in the generics domain file something like
> > *.<local>.<domain> maybe with regular expressions or so?
>
> FEATURE(`generics_entire_domain')
>
> Per the cf/README file:
>
>     generics_entire_domain
>        If the genericstable is enabled and GENERICS_DOMAIN or
>        GENERICS_DOMAIN_FILE is used, this feature will cause
>        addresses to be searched in the map if their domain
>        parts are subdomains of elements in class {G}.
>
> Grant. . . .

Hi Grant,
the feature I searched for...

Thanks a lot!

Sebastian


From: Grant Taylor on
On 04/15/10 02:37, Sebastian Krieger wrote:
> Hi Grant,

Hi.

> the feature I searched for...
>
> Thanks a lot!

You are welcome.



Grant. . . .