set SMTP server for mutt -- RE: send e-mail without use sendmail
Matt Domsch
Matt_Domsch at dell.com
Fri Nov 2 02:31:04 UTC 2007
On Thu, Nov 01, 2007 at 03:19:09PM +1100, Lux Zhang wrote:
> Hi,
> my ISP request "From" and smtp server be set in order to send out email.
> my question is that
> how to set the "from'header and 'SMTP' server for mutt?
Two parts. In ~/.muttrc, put:
set from="Lux Zhang <yuanlux at gmail.com>"
And mutt really does require you to be running some form of Mail
Transport Agent, such as sendmail, locally. A minimal sendmail, with
a smarthost defined to point at your ISP's smtp server, is all you
need.
On sendmail, the easist way to do this is to set an outgoing server in
/etc/mail/mailertable with a line such as:
. smtp:[smtp-server.your-isp.com]
and restart sendmail.
Thanks,
Matt
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
More information about the users
mailing list