SHA256
1
0
forked from pool/msmtp
msmtp/msmtp-runqueue.sh.patch

13 lines
467 B
Diff
Raw Normal View History

--- scripts/msmtpqueue/msmtp-runqueue.sh
+++ scripts/msmtpqueue/msmtp-runqueue.sh
@@ -36,8 +36,8 @@
# process all mails
for MAILFILE in *.mail; do
- echo "*** Sending $MAILFILE to `sed -e 's/^.*-- \(.*$\)/\1/' $MSMTPFILE` ..."
MSMTPFILE="`echo $MAILFILE | sed -e 's/mail/msmtp/'`"
+ echo "*** Sending $MAILFILE to `sed -e 's/^.*-- \(.*$\)/\1/' $MSMTPFILE` ..."
if [ ! -f "$MSMTPFILE" ]; then
echo "No corresponding file $MSMTPFILE found"
echo "FAILURE"