From 88a840690b67d6483fa1031b58ff523f74ff3606 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Thu, 29 Sep 2011 22:39:44 +0000 Subject: [PATCH] create-mailbox.php: - use smtp_get_admin_email() instead of the admin's username as sender for the welcome mail This fixes http://sourceforge.net/tracker/?func=detail&aid=2958684&group_id=191583&atid=937964 reported by mrfrenzy on IRC git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1197 a1433add-5e2c-0410-b055-b7f2511e0802 --- create-mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-mailbox.php b/create-mailbox.php index 3110af4d..ccccaaad 100644 --- a/create-mailbox.php +++ b/create-mailbox.php @@ -215,7 +215,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") if ($fMail == "on") { $fTo = $fUsername; - $fFrom = $SESSID_USERNAME; + $fFrom = smtp_get_admin_email(); $fSubject = $PALANG['pSendmail_subject_text']; $fBody = $CONF['welcome_text'];