summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.mutt14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.mutt b/README.mutt
index 51eb3c6..bb01f64 100644
--- a/README.mutt
+++ b/README.mutt
@@ -5,19 +5,21 @@ To use ESMTP with mutt add the following line
to your ~/.muttrc and create a ~/.esmtprc (see the included sample.esmtprc
for an example.)
-For debugging purposes you may prefer using the follwing shell script.
+ESMTP supports SENDMAIL envelope sender '-f' flag, so don't forget to add
- #!/bin/sh
+ set envelope_from=yes
- LOGFILE=/tmp/esmtp.log
+as well.
- echo $0 $@ > $LOGFILE
+For debugging purposes you may prefer using the follwing shell script which logs ESMTP to
+ #!/bin/sh
+ LOGFILE=/tmp/esmtp.log
+ echo $0 $@ > $LOGFILE
/path/to/esmtp -v $@ >> $LOGFILE
-
exit $?
-Save it as esmtp.sh and put in your ~/.muttrc
+Save it as esmtp.sh, make it executable, and put in your ~/.muttrc
set sendmail="/path/to/esmtp.sh"