X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=blobdiff_plain;f=plc.d%2Fmail;h=fe31b25016d54eb0221c837afb28a3120f94a898;hp=65b0723c8e01764f1ab1e2bc12c62aeff22214a6;hb=2f0a78d07d92ba2f397a852de6bcc9db8817bfb9;hpb=b8ada6d36e6e6359b8af7c951d10df89fa3c4514 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