From 2f0a78d07d92ba2f397a852de6bcc9db8817bfb9 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 16 Jan 2007 17:21:50 +0000 Subject: [PATCH] - Add apache to list of users that can send mail as others without a warning, so that the API can send out mail. --- plc.d/mail | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.43.0