Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mutt turns me nutt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Wed Dec 25, 2002 1:26 pm    Post subject: mutt turns me nutt Reply with quote

ok... I don't know why, mutt hates me... and I start to hate it myself too.

All I want is to have same settings depending on the account/folder I am

so here it goes:
Code:

mailboxes = imap://luser1@host imap://luser2@host

account-hook '.'      'unset imap_user; unset imap_pass; unmy_hdr From; unset from'

account-hook '//luser1@' 'set imap_user="luser1"; set imap_pass="pass1";   my_hdr  From: Luser1 <luser1@domain.tld>; set from="Luser1 <luser1@domain.tld>"'
account-hook '//luser2@' 'set imap_user="luser2"; set imap_pass="pass2";   my_hdr  From: Luser2 <luser2@domain.tld>; set from="luser2 <luser2@domain.tld>"'


the funny thing is when I change folders the logins succeed (so I assume the settings take effect) bu the From stays the old....

thanks
Back to top
View user's profile Send private message
kisielk
n00b
n00b


Joined: 08 Jan 2003
Posts: 3
Location: Vancouver, BC

PostPosted: Wed Jan 08, 2003 5:13 am    Post subject: Reply with quote

I have been having the exact same problem today, furthermore with some testing I have discovered that this is not limited to account-hooks. Attempting to set from or my_hdr From: in any part of the muttrc doesn't appear to have any effect at all on the From: header. I have no idea why this strange behaviour is occuring..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum