crans_bcfg2/Python/etc/postfix/canonical
Daniel STAN 8b84936241 [postfix/canonical] @localhost -> @crans.org
Ignore-this: 7843b71ed62ae7d8cfa145d8d6c65465
Et puis un petit commentaire au passage de fichier tracké par bcfg2 au
passage

darcs-hash:20121104024115-28565-51bb6797d4d43869d46a421011c1a163401edb4f.gz
2012-11-04 03:41:15 +01:00

14 lines
412 B
Python

# -*- mode: python; coding: utf-8 -*-
include("ip")
print "# Fichier Gere par Bcfg2, tout changement local sera ecrase !"
if has("bug-tracker"):
# On ne sait jamais
@/^(.*)@bugs.crans.org$/ ${1}@bugs.crans.org
print "/^(.*)@localhost(\.crans\.org)?$/ ${1}@crans.org"
print "/^(.*)@%s$/ ${1}@crans.org" % admhostname
if not has("adm-only"):
print "/^(.*)@%s$/ ${1}@crans.org" % pubhostname