sendmail: how to wildcard hostnames in virtusertable or genericstable?
I work for a big company and we have many host that follow a naming convention.
What we do now, is handle each email for the server based on its function
@dns001.bigcompany.com dns-admin
@dns002.bigcompany.com dns-admin
@dns003.bigcompany.com dns-admin
@dns004.bigcompany.com dns-admin
@mail001.bigcompany.com mail-admin
@mail002.bigcompany.com mail-admin
.
.
@mail321.bigcompany.com mail-admin
@logger001.bigcompany.com log-admin
...and so forth
where: dns-admin, mail-admin, log-admin are /etc/mail/aliases
We're running 8.14.4 on our mail relay hub (redhad 6) that gets email from 100's of these boxes and currently we just have to add/delete lines to the /etc/mail files as hosts are (mostly) added and deleted
We just want something simple like:
@dns*.bigcompany.com dns-admin
@mail*.bigcompany.com mail-admin
@logger*.bigcompany.com log-admin
thanks!
Last edited by duanekimball; 06-01-2018 at 09:55 AM.
Reason: thanks! in wrong spot ;p
|