commit 7e7c461909154bf51e4061fe651ccb09661f0405
parent ce66c4114367b657173337ef07ce497d76514b39
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 14 Dec 2019 10:24:35 +0100
sendmail absolute path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/poll.sh b/poll.sh
@@ -45,7 +45,7 @@ CDATEA=$(($CDATE + 300))
# in case it's not the first time we try to send the reminder
~/bin/prepare_email_forward "$EMAIL" "$EMAIL" "PING: $SUBJECT: $EXPL" "$MESSAGEID" "$FILE" "$EXPL" \
> "scheduled_reminders/$FILENAME"
- sendmail -t < "scheduled_reminders/$FILENAME"
+ /usr/sbin/sendmail -t < "scheduled_reminders/$FILENAME"
if [ $? -ne 0 ]
then
echo "sendmail failed for $FILENAME"