Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Format of GENERICS_DOMAIN_FILE

126 views
Skip to first unread message

Sebastian Krieger

unread,
Apr 15, 2010, 1:19:09 AM4/15/10
to
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

Grant Taylor

unread,
Apr 15, 2010, 1:29:42 AM4/15/10
to
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. . . .

Sebastian Krieger

unread,
Apr 15, 2010, 3:37:36 AM4/15/10
to

Hi Grant,
the feature I searched for...

Thanks a lot!

Sebastian


Grant Taylor

unread,
Apr 15, 2010, 2:07:49 PM4/15/10
to
On 04/15/10 02:37, Sebastian Krieger wrote:
> Hi Grant,

Hi.

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

You are welcome.

Grant. . . .

0 new messages