diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-14 17:06:04 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-14 17:06:04 +0000 |
commit | 40d68dece9244af9d71849b21b13df705d264c8f (patch) | |
tree | d47057e63d57e7a6478ac64ae8b62398b09f0810 /gnu | |
parent | cf0af1ca4e7437bbb565c489e85be7bda4dae4b1 (diff) |
Add example genericstable
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc b/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc index 4070183838d..64612ec69f0 100644 --- a/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc +++ b/gnu/usr.sbin/sendmail/cf/cf/openbsd-proto.mc @@ -6,7 +6,7 @@ divert(-1) # Note that lines beginning with "dnl" below are comments. divert(0)dnl -VERSIONID(`@(#)openbsd-proto.mc $Revision: 1.9 $')dnl +VERSIONID(`@(#)openbsd-proto.mc $Revision: 1.10 $')dnl OSTYPE(openbsd)dnl dnl dnl If you have a non-static IP address you may wish to forward outgoing mail @@ -59,6 +59,20 @@ dnl Used to do N -> N address mapping. dnl FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')dnl dnl +dnl Rewrite (unqualified) outgoing email addresses using the +dnl mapping listed in /etc/mail/genericstable +dnl +FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl +dnl +dnl Normally only local addresses are rewritten. By using +dnl generics_entire_domain and either GENERICS_DOMAIN +dnl or GENERICS_DOMAIN_FILE addresses from hosts in the +dnl specified domain(s) will be rewritten too. +dnl +dnl FEATURE(generics_entire_domain)dnl +dnl GENERICS_DOMAIN(`othercompany.com')dnl +dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl +dnl dnl Include the local host domain even on locally delivered mail dnl (which would otherwise contain only the username). FEATURE(always_add_domain)dnl |