From 88e0fc8562dbf4ae7a9b4954a218450972172184 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sat, 5 Apr 2008 22:40:08 +0200 Subject: [PATCH] Stops the Google Apps spam on OTRS, and spams validation@ instead. Signed-off-by: Vincent Zanotti --- configs/mails.conf | 1 + templates/googleapps/create.mail.tpl | 2 +- templates/googleapps/unsuspend.mail.tpl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/mails.conf b/configs/mails.conf index 061588e..da58acc 100644 --- a/configs/mails.conf +++ b/configs/mails.conf @@ -50,3 +50,4 @@ from="Carnet Polytechnicien " [googleapps] from="Polytechnique.org" +cc=validation+googleapps@polytechnique.org diff --git a/templates/googleapps/create.mail.tpl b/templates/googleapps/create.mail.tpl index fac8a07..9c73203 100644 --- a/templates/googleapps/create.mail.tpl +++ b/templates/googleapps/create.mail.tpl @@ -24,7 +24,7 @@ {if $mail_part eq 'head'} {from full=#from#} {to addr=$email} -{cc full=#from#} +{cc full=#cc#} {subject text="[Polytechnique.org] Création de ton compte Google Apps"} {elseif $mail_part eq 'wiki'} {if $sexe}Chère{else}Cher{/if} {$prenom}, diff --git a/templates/googleapps/unsuspend.mail.tpl b/templates/googleapps/unsuspend.mail.tpl index 5e43939..f5cfa0d 100644 --- a/templates/googleapps/unsuspend.mail.tpl +++ b/templates/googleapps/unsuspend.mail.tpl @@ -24,7 +24,7 @@ {if $mail_part eq 'head'} {from full=#from#} {to addr=$email} -{cc full=#from#} +{cc full=#cc#} {subject text="[Polytechnique.org] Réactivation de ton compte Google Apps"} {elseif $mail_part eq 'wiki'} {if $sexe}Chère{else}Cher{/if} {$prenom}, -- 2.1.4