Send email from the command line (Konsole)
David Hart
ubuntu at tonix.org
Sat Nov 4 07:19:37 UTC 2006
On Sat, Nov 04, 2006 at 01:47:31PM +1000, Nikolai wrote:
> Marius Gedminas wrote:
>
> > $ echo "Here's the file I promised to send you" | mutt -s "Subject" \
> > -a attachment.zip recipient at example.com
>
>
> This is just great. Small problem, however. After sending email this
> way, the From field has username at machine, is there any way to configure
> mutt or postfix to insert my proper email address to the From field?
The easiest way is to add the following to ~/.muttrc
set from=user at yourdomain.tld
set use_from=yes
More info at http://www.mutt.org/doc/devel/manual.html#from
--
David Hart <ubuntu at tonix.org>
More information about the ubuntu-users
mailing list