Can send-hook set from take precedence over reverse_name?
Dear mutt users, I have set reverse_name I also have some send-hooks like this: send-hook ~t domain.com 'set from=My Name addr...@domain.com' Currently, if I reply to some...@domain.com, the From in the reply gets set to whatever some...@domain.com sent it to, not to the line specified in the send-hook. I.e., reverse_name takes precedence. This happens no matter which of reverse_name or send-hook I put first in my muttrc. I would like the send-hooks to take precedence over reverse_name. Is this possible? Marianne -- Marianne Promberger http://promberger.info GnuPG/PGP public key ID 80AD9916 __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Re: Can send-hook set from take precedence over reverse_name?
* Marianne Promberger marianne.promber...@gmail.com [2009-10-01 09:36 +0100]: [...] send-hook ~t domain.com 'set from=My Name addr...@domain.com' [...] I would like the send-hooks to take precedence over reverse_name. Is this possible? According to the manual, both my_hdr and $reverse_name override $from. So looks you would have to use my_hdr in your send-hook. send-hook ~t domain.com 'my_hdr From: My Name addr...@domain.com'
send-hook set from
I have the following in my .muttrc: send-hook '~t plogic.com' 'set signature=~/.signature.work from="Adam Lazur [EMAIL PROTECTED]"' Which I think is telling mutt that want it to use my plogic.com address and work signature when emailing people at plogic.com. However, it doesn't work that way. It will change the signature, but from doesn't get changed. The odd thing is, if I test email to plogic.com twice in a row, from _will_ change after the first time. Is there an issue with setting the from variable with a send-hook ? Oh, btw, I'm using mutt 1.1.11 (haven't gotten around to 1.1.12 yet) .adam -- [ Adam Lazur | Computer Engr Ugrad | Lehigh Univ. | _ __ ] [icq 3354423 | http://www.lehigh.edu/~ajl4|__( | /_ ] "A wise man reads the man page. A fool must be beaten with a club."
Re: send-hook set from
On Thu, Apr 27, 2000 at 05:43:47AM -0400, Adam Lazur wrote: send-hook '~t plogic.com' 'set signature=~/.signature.work from="Adam Lazur [EMAIL PROTECTED]"' send-hook '~t plogic.com' 'set signature="~/.signature.work" ;\ my_hdr From: "Adam Lazur" [EMAIL PROTECTED]' -- Martin Maok[EMAIL PROTECTED] iso-8859-2 \\ http://kocour.ms.mff.cuni.cz/~macok/ http://underground.cz/ // \\\ -= t.r.u.s.t n.0 o.n.e =-///
Re: send-hook set from
Adam Lazur [EMAIL PROTECTED] wrote on Thu, 27 Apr 2000: The odd thing is, if I test email to plogic.com twice in a row, from _will_ change after the first time. Is there an issue with setting the from variable with a send-hook ? Indeed, there is. You can set it but it won't affect the current message, only messages afterwards. Use my_hdr From: (as suggested by someone else already). You will probably want to also have a unmy_hdr From: in a default send-hook. Another thing is that $from is only the address, you still need to set the name portion with $realname. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / The Bureau of Incomplete Statistics claims that 2 out of 3