crans_bcfg2/Python/etc/postfix/aliases
Michel Blockelet 1d56308ff7 [postfix/aliases] root: root@crans.org sauf sur zamok
Sinon zamok delivre les mails dans /home/mail/root/ ...

darcs-hash:20100528083730-ddb99-aadbec012513da5f11f11abe7a6af7ac13916f23.gz
2010-05-28 10:37:30 +02:00

93 lines
3.1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

header()
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 0644
@# Fichier d'alias pour postfix
@#
@# Le format de ce fichier, est ultra-simple :
@# a gauche des ":", les alias "entrees".
@# a droite, les destinataires reels, separes par des virgules...
@# ce fichier est fait pour les alias internes au crans
@# Une fois ce fichier modifié, il faut lancer `postalias aliases`
@# dans /etc/postfix (ce qui devrait être fait par bcfg2)
@# Attention, il faut mettre les logins pas les alias!!!
@
# Alias communs
@# Pour tout les trucs super verbeux on envoi les mails a root uniquement
for dest in ["abuse", "amavis", "backup", "bind", "bin", "clamav", "daemon",
"ftpadm", "ftpmaster", "ftp-mirror", "ftp", "games", "gnats",
"irc", "list", "logcheck", "lp", "mail", "majordom", "man", "msql",
"munin", "news", "operator", "postgres", "proxy", "sync","sys",
"usenet", "uucp", "webmaster", "www-clubs", "www-data", "www-perso"]:
print "%s: root" % dest
if not has("users"):
@root: root@crans.org
@
@# Following alias is required by the new mail protocol, RFC 822
@postmaster: root
@# Alias for mailer daemon
@mailer-daemon: postmaster
@
@# Les trucs dont on s'en fiche
@nobody: /dev/null
@bulk: /dev/null
@
if has("mail-mx"):
@# +------------+
@# | Alias root |
@# +------------+
@# Pour recevoir les mails envoyes a root, il faut s'ajouter ici a la
@# ligne suivante
@root: root, stransky, pauget, glondu, bobot, dimino, dandrimont, blockelet, durand-gasselin, huber, lagorce, maioli, bruot, iffrig, cauderlier
@
@# +--------+
@# | Autres |
@# +--------+
@# Mail envoye par backuppc lors d'un probleme
@backuppc: roots@lists.crans.org
@# pour JBen :S
@jean.lintingre: jean.lintingre@orange.fr
@
if has("mail-mx") or has("corbeau"):
@# Post anonyme sur le newsgroup crans.radio-ragots
@le.corbeau: corbeau
@corbeau: "| /usr/scripts/corbeau"
@
if has("tracker"):
@tracker: "| /usr/local/bin/redmine_handle_mail.py"
@
if has("mail-mx"):
@# +------------------------------+
@# | Anciens comptes avec forward |
@# +------------------------------+
@manchots:chepelov@rmcnet.fr thomas.dienne@fnac.net caumont@club-internet.fr
@# destruction 1999-06-08
@arnaud:arnould@lmt.ens-cachan.fr
@arnould:arnould@lmt.ens-cachan.fr
@#destruction 20060529
@fraisse:fraisse@astro.princeton.edu
@afraisse:fraisse@astro.princeton.edu
@Aurelien.Fraisse:fraisse@astro.princeton.edu
@# destruction 20061027
@javourez:javourez@supaero.fr
@Jerome.Javourez:javourez@supaero.fr
@lynn:javourez@supaero.fr
@Mathilde.Bouvel:mathilde.bouvel@laposte.net
@# destruction 20080428
@salvetti:djoume@taket.org
@# destruction 20081005
@bouillaguet: charles.bouillaguet@ens.fr
@Charles.Bouillaguet: charles.bouillaguet@ens.fr
@# destruction 20090328
@naville: magali.naville@gmail.com
@Magali.Naville: magali.naville@gmail.com
@# destruction 20091208; Bruno Foucras
@rigolo: bruno.foucras@laposte.net