echo | mutt -a attachfile.txt som...@address.com -s "any subject"
When the mail is recieved from me it has the name of my mail server eg.
m...@mail.server.com . However this is not the address that I really am. I'm
no expert in mail but my company has set up some sort of alias so we are
known as m...@companyname.com. If mail is sent to m...@mail.server.com it gets
to me but it could confuse customers. Is there a setting or different
command line that will change the from line to the right return address.
Thank you
Steve
[7willie]
either you use my_hdr From: in mutt, or (better) you have your
outgoing mailserver canonicalize your addresses.
--
l'IP fixe c'est plus écologique
I dont have a .muttrc file .
Can you tell me where I get one. Does it automatically get set up by mutt ?
As I said before I dont use mutt for reading mail and dont want to change
any setting in pine or mail.
I once used the mutt command and it said " /home/steve/Mail does not exist.
Create it? ([y]/n:
I said NO because I didnt want it to change any mail settings for anything.
Is this when it creates the .muttrc file and is it going to changes things
that you know of???
Thank you.
"Erwan David" <er...@rail.eu.org> wrote in message
news:85el4rh...@bretagne.rail.eu.org...
You can Specify a configuration command using `-e' option.
SEE ALSO
mutt(1)
I have created a .muttrc and added "my_hdr From: Stacy <st...@abc.com>"
This seems to work great. However just for thouroghness I tried
unsuccesfully the -e option but I cant seem to get it to work. I have
searched the net but cant find any example of this.
Just for my own learning and possibly others how does the -e option work. I
try the following,
echo |mutt -a out some...@somewhere.com -e my_hdr From:st...@abc.com
and all I get back is Error in command line: invalid header field
What am I missing?
Thank you
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
% echo | mutt -a out some...@somewhere.com -e 'my_hdr From:st...@abc.com'
-----BEGIN PGP SIGNATURE-----
iD8DBQE+hUn0Zsrx6aBPZiwRApSbAJ96/QiiYpX22+qWo1Kh7zk1XVpDmgCfdKNT
EdSaET6fxKlQvuTMV+9z0Ts=
=LhFG
-----END PGP SIGNATURE-----
but this defeats the purpose of "reverse_name".
so set your From: line by setting "realname" and "from":
set realname="Stacy Lastname" from=st...@abc.com
use your Lastname, too. only spammers use
a firstname - like "Lolita" and "SupaBabe".
as your realname probably won't change much,
adjusting the address (eg for mailing lists)
is as easy as using some hook (send-hook,
usually) to change the value of "from":
send-hook listaddress "set from=stacy-m...@abc.com"
> However just for thouroghness I tried
> unsuccesfully the -e option but
> I cant seem to get it to work.
well - don't use it then.
> What am I missing?
TOFU is bad!
Sven
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting. [TOFU := text oben,
Q: What is the most annoying thing on usenet? followup unten]
Thank you all !!!
Works like a charm !!