summaryrefslogtreecommitdiff
path: root/README.mutt
blob: 51eb3c66c64b5a8afec9c8575ac0b4448757a802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To use ESMTP with mutt add the following line

	set sendmail="/path/to/esmtp"

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. 

	#!/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

	set sendmail="/path/to/esmtp.sh"

instead.