From: Mark Huang Date: Tue, 16 Jan 2007 17:21:50 +0000 (+0000) Subject: - Add apache to list of users that can send mail as others without a X-Git-Tag: planetlab-4_0-rc1~55 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=2f0a78d07d92ba2f397a852de6bcc9db8817bfb9 - Add apache to list of users that can send mail as others without a warning, so that the API can send out mail. --- diff --git a/plc.d/mail b/plc.d/mail index 65b0723..fe31b25 100755 --- a/plc.d/mail +++ b/plc.d/mail @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: mail,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: mail,v 1.3 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -26,6 +26,10 @@ case "$1" in MESSAGE=$"Starting mail server" dialog "$MESSAGE" + # Add apache to list of users that can send mail as others + # without a warning, so that the API can send out mail. + echo "apache" >/etc/mail/trusted-users + service sendmail start check