forked from pool/msmtp
13 lines
467 B
Diff
13 lines
467 B
Diff
--- 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"
|