Send email from the command line (Konsole)

David Hart ubuntu at
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 recipient at
> 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

David Hart <ubuntu at>

More information about the ubuntu-users mailing list