This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Try to change FROM: name Sender!! HELP
- From: Robert R Schneck <schneck at math dot berkeley dot edu>
- To: cygwin at cygwin dot com
- Date: Mon, 5 Apr 2004 15:20:32 +0000 (UTC)
- Subject: Re: Try to change FROM: name Sender!! HELP
- References: <407154AD.7@darumaorga.com.br>
Magno Weege de Oliveira <magno.oliveira@darumaorga.com.br> wrote:
> Hi, sory to send mail to this list, but I need I little explanation:
> Problem: I wanna to send a email but the Sender need to be
> example@domain.com
> and the Sender is U-host08/Administrator (for example)
> How can I change the Sender??
> p.s.: I'm using mutt and ssmtp to send mails.
> thanks a lot!
Do you mean the From: line or the Sender: line?
If it's the From: line, you may want to edit /etc/ssmtp/ssmtp.conf
and ensure that the line "FromLineOverride=YES" is uncommented.
This will ensure that whatever mutt thinks the From: line should be,
will be the From: line sent by ssmtp. Then it's up to you to
convince mutt to use a particular From: line.
The problem is that without "FromLineOverride=YES", ssmtp will construct
the From: line using your username on the Cygwin machine, and the
corresponding real name from /etc/passwd which defaults to
U-host08/Administrator. Almost certainly not what you want.
Further discussion on this list is doubtless off-topic, but in
this case I'll welcome you to send me private e-mail if you need
more help.
Robert
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/