Re: robots [ was Re: Alternative Identities ]:wq

2008-08-15 Thread Michelle Konzack
Am 2008-07-17 23:50:15, schrieb Ken Moffat:
 On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
   
   I have the following in my .muttrc:
   
  Question for people who post here more frequently than I do - is it
 normal to get a challenge/response mail from [EMAIL PROTECTED] when
 posting here ?

Create a filter which send it back to ANY employees of this service but
do not forget to set Return-Path: .

This helped me with over 200 ISPs worldwide.  uol.co.br was one of the
first who has gotten over 140.000 messages from me since there CR system
has bombed users of Debian Mailinglists with several 1000 CRs.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Alternative Identities

2008-08-02 Thread mimosinnet
El dimecres, 30 de juliol del 2008 a les 14:21, Kyle Wheeler va escriure:

 On Wednesday, July 30 at 08:55 PM, quoth [EMAIL PROTECTED]:
 This code in muttrc successfully loads the imap account definition (I 
 have tryed with both accounts):
 
 # Default mailbox
 source ~/.mutt/Comptes/joanet
 
 If I issue the command c (change-folder) ?, I get the desired list of 
 the imap folders of the defined account.
 
 I was expecting I could source the other imap account definition, and 
 mutt would be in the other account. If I enter mutt with one account 
 and I source the other account:
 :source ~/.mutt/Comptes/uab
 
 when issuing command c (change-folder) ?, mutt is waiting to get the 
 list of folders or shows the folders of the account it was first 
 sourced. It seems that sourcing the other account does not change the 
 default imap folder.
 
 More accurately, sourcing the other account does not affect/change 
 the CURRENT imap connection. Issuing change-folder is done (by 
 default) within the current connection.
 
 Or, put another way, simply changing the value of $folder DOES NOT 
 cause mutt to open a new connection. NOR does issuing change-folder.

Thanks very much for the explanation. It clarifies very much the issue
for me. The key question is then, changing the imap connection.  

 Is there another option I should set to be able to change imap 
 accounts when inside mutt?
 
 In order to finish the change, you have to tell mutt to change the 
 current connection. For example, you could add the following to the 
 end of the account file you're sourcing:
 
  push change-folder=enter
 
 That would tell mutt to actually connect to the other server (or, if 
 already connected, to make that connection the current connection).

Somehow, I am unable to change the current imap connection. I have tried the 
push command at the end of my 'source' file without success.

I had previosly adapted what was suggested in the mutt wiki 
(http://wiki.mutt.org/?MuttGuide/UseIMAPadapted):

account-hook . 'unset preconnect imap_user imap_pass imap_authenticators'
account-hookimap://localhost'source ~/.mutt/Comptes/joanet_account' 
account-hookimap://[EMAIL PROTECTED] 'source ~/.mutt/Comptes/uab_account'
folder-hook imap://localhost'source ~/.mutt/Comptes/joanet_folder'
folder-hook imap://[EMAIL PROTECTED]'source ~/.mutt/Comptes/uab_folder'

In ~/.mutt/Comptes/uab_account I have:
set spoolfile=imap://[EMAIL PROTECTED]
set imap_user=user
set imap_pass=password
set imap_authenticators=login

In ~/.mutt/Comptes/uab_folder I have:
set folder=imap://[EMAIL PROTECTED]:143

When I change folder with 'c' (change folder) '?' (list of folders) 'tab' 
(list of accounts) and selecte the imap://[EMAIL PROTECTED], mutt shows it is 
connecting to this imap acount and shows it in the status bar (it shows the 
folder imap://[EMAIL PROTECTED]).

If I issue the command: :set ?folder, I get:
folder=imap://localhost/

Neither repeating manually the change-folder nor setting the variable with 
:set folder=imap://[EMAIL PROTECTED] allows to see the list of folders of the 
new imap connection (I am unable to change my current imap connection).

After your explanation, it is clear to me that I was unable to change
the imap connection. Is there any other form of changing between two imap 
connection when
inside of mutt?

After playing for a while, I believe I will stay with what Cristobal and Dale 
have suggested in this thread:

1.- To create a muttrc definition for each account that sources the
rest of the general muttrc.
2.- To start mutt with mutt -F 'muttrc account definition'

After trying, I believe this may be the easiest approach while, at the same
time, offering a common configuration for all the accounts. 

Thanks everybody for your help!!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211


Re: Alternative Identities

2008-07-30 Thread mimosinnet
El dijous, 17 de juliol del 2008 a les 20:38, Jorge Luis va escriure:

 On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
  # macros to invoke a profile
  macro   index   F10:source ~/.mutt/profile.default\n # Load 
  default profile
  macro   pager   F10:source ~/.mutt/profile.default\n # Load 
  default profile
  macro   index   F11:source ~/.mutt/profile.lfs\n # Load profile: 
  LFS
  macro   pager   F11:source ~/.mutt/profile.lfs\n # Load profile: 
  LFS
  
 
 I'm using this system now to good effect.  There's one minor improvement
 I'd like to make, but I'm not sure how to do it.  Is there some way to
 cause these macros to load the respective mboxes upon execution?  As
 they stand, I have to call up the mbox listing manually after sourcing
 the macros.

I am using the same approach and I have been playing with multiple imap 
accounts to understand how it behavews. I cannot fully understand how mutt 
changes imap folders (Mutt 1.5.16):

I have some files with my account definition, with the following information:

$ cat ~/.mutt/Comptes/joanet
set folder=imap://localhost
set imap_user=username
set imap_pass=password
set imap_authenticators=login

$ cat ~/.mutt/Comptes/uab
set folder=imap://imap.uab.es:143
set imap_user=username
set imap_pass=password
set imap_authenticators=login

This code in muttrc successfully loads the imap account definition (I have 
tryed with both accounts):

# Default mailbox
source ~/.mutt/Comptes/joanet

If I issue the command c (change-folder) ?, I get the desired list of the imap 
folders of the defined account.

I was expecting I could source the other imap account definition, and mutt 
would be in the other account. If I enter mutt with one account and I source 
the other account:
:source ~/.mutt/Comptes/uab

when issuing command c (change-folder) ?, mutt is waiting to get the list of 
folders or shows the folders of the account it was first sourced. It seems that 
sourcing the other account does not change the default imap folder.

I have tried different options (like unsettinng imap_user imap_pass and tunnel 
before account definition) with similar results.

Is there another option I should set to be able to change imap accounts when 
inside mutt?

Thanks for the attention!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211


Re: Alternative Identities

2008-07-30 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday, July 30 at 08:55 PM, quoth [EMAIL PROTECTED]:
This code in muttrc successfully loads the imap account definition (I 
have tryed with both accounts):

# Default mailbox
source ~/.mutt/Comptes/joanet

If I issue the command c (change-folder) ?, I get the desired list of 
the imap folders of the defined account.

I was expecting I could source the other imap account definition, and 
mutt would be in the other account. If I enter mutt with one account 
and I source the other account:
:source ~/.mutt/Comptes/uab

when issuing command c (change-folder) ?, mutt is waiting to get the 
list of folders or shows the folders of the account it was first 
sourced. It seems that sourcing the other account does not change the 
default imap folder.

More accurately, sourcing the other account does not affect/change 
the CURRENT imap connection. Issuing change-folder is done (by 
default) within the current connection.

Or, put another way, simply changing the value of $folder DOES NOT 
cause mutt to open a new connection. NOR does issuing change-folder.

Is there another option I should set to be able to change imap 
accounts when inside mutt?

In order to finish the change, you have to tell mutt to change the 
current connection. For example, you could add the following to the 
end of the account file you're sourcing:

 push change-folder=enter

That would tell mutt to actually connect to the other server (or, if 
already connected, to make that connection the current connection).

~Kyle
- -- 
A government which robs Peter to pay Paul can always depend on the 
support of Paul.
 -- George Bernard Shaw
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkiQv1IACgkQBkIOoMqOI17d4wCgn4YytBlNb87mM5JerO/Ef+8e
sd8AoI2crUblChw7Ayq9uzhQ31FGKrBS
=S7CZ
-END PGP SIGNATURE-


Re: Alternative Identities

2008-07-30 Thread Jorge Luis
On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote:
 I am using the same approach and I have been playing with multiple
 imap accounts to understand how it behavews. I cannot fully understand
 how mutt changes imap folders (Mutt 1.5.16):
 
 I have some files with my account definition, with the following information:
 
 $ cat ~/.mutt/Comptes/joanet
 set folder=imap://localhost
 set imap_user=username
 set imap_pass=password
 set imap_authenticators=login
 
 $ cat ~/.mutt/Comptes/uab
 set folder=imap://imap.uab.es:143
 set imap_user=username
 set imap_pass=password
 set imap_authenticators=login
 
 This code in muttrc successfully loads the imap account definition (I
 have tryed with both accounts):
 
 # Default mailbox
 source ~/.mutt/Comptes/joanet
 
 If I issue the command c (change-folder) ?, I get the desired list of
 the imap folders of the defined account.
 
 I was expecting I could source the other imap account definition, and
 mutt would be in the other account. If I enter mutt with one account
 and I source the other account:
 :source ~/.mutt/Comptes/uab
 
 when issuing command c (change-folder) ?, mutt is waiting to get the
 list of folders or shows the folders of the account it was first
 sourced. It seems that sourcing the other account does not change the
 default imap folder.
 
 I have tried different options (like unsettinng imap_user imap_pass
 and tunnel before account definition) with similar results.
 
 Is there another option I should set to be able to change imap
 accounts when inside mutt?
 

You might try setting mbox and spoolfile along with the other variables
when changing accounts.  I find that I still need to call up my mailbox
manually, but at least it defaults to the mailbox corresponding to the
account that I've chosen.

JL

-- 
Jorge Luis [EMAIL PROTECTED]

Live like the bourgeoisie; think like a demigod.  - Flaubert


Re: robots [ was Re: Alternative Identities ]:wq

2008-07-29 Thread Michele Martone
Er, I fell in this trap too.

It seems like my yesterday messages were blocked (graylisted) in some
way by that robot, and today, after following a link (now inactive) [1]
from a trashmail, my messages were let in.

This is not fair at all.

Due to the transitory nature of this annoyance, I posted the annoying
message I received (if I had not followed its instructions, seems like
my mailbox had been graylisted to this mailing list ) on

   http://paste.lisp.org/display/64384

I cleaned up some headers leaving evidence of the unfair subscriber.

On [EMAIL PROTECTED]:44, David Champion wrote:
   Question for people who post here more frequently than I do - is it
  normal to get a challenge/response mail from [EMAIL PROTECTED] when
  posting here ?
 
 It's typical (I get one every time I post), but it's not normal (in the
 sense that it shouldn't happen).  Challenge/response should never be
 used for mail that you receive as a list member; it's really, really
 irritating to other list members.  It's understandable (if somewhat
 annoying) as a posting filter on a list -- just not as a receiving
 filter on your personal subscription.
 
 I'd like to see the subscriber in question removed from the list --
 evidently he's not getting list mail anyway.
 
 -- 
  -D.[EMAIL PROTECTED]NSITUniversity of Chicago


Re: Alternative Identities

2008-07-27 Thread mimosinnet
El dissabte, 26 de juliol del 2008 a les 07:44, Cameron Simpson va escriure:

 On 17Jul2008 20:38, Jorge Luis [EMAIL PROTECTED] wrote:
 | On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
 |  # macros to invoke a profile
 |  macro   index   F10:source ~/.mutt/profile.default\n # Load 
 default profile
 |  macro   pager   F10:source ~/.mutt/profile.default\n # Load 
 default profile
 |  macro   index   F11:source ~/.mutt/profile.lfs\n # Load profile: 
 LFS
 |  macro   pager   F11:source ~/.mutt/profile.lfs\n # Load profile: 
 LFS
 | 
 | I'm using this system now to good effect.  There's one minor improvement
 | I'd like to make, but I'm not sure how to do it.  Is there some way to
 | cause these macros to load the respective mboxes upon execution?  As
 | they stand, I have to call up the mbox listing manually after sourcing
 | the macros.
 
 You can't just make the macros longer? Eg (untested):
 
   macro   index   F10:source ~/.mutt/profile.default\nc # Load 
 default profile
 
 (Note the c inserted at the end of the macro.)

I am having the same issue that Jorge Luis is having: 
 Also, when I switch formats
 the spoolfile and mbox don't change.  That is, when I type c in the
 index and then ! I don't get the right mailbox.

I have tried adding the 'c' key, as suggested in this post, getting the
usual 'change mailbox' prompt. 

I define this type macro to change mail accounts:
macro index,pager escF1 :source ~/.mutt/Comptes/joanet\n IMAP Joanet

And I have this in my ~/.mutt/Comptes/joanet

$ cat joanet
set folder=imap://localhost
set imap_user=username
set imap_pass=password
set imap_authenticators=login

Cheers!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211


Re: Alternative Identities

2008-07-27 Thread mimosinnet
El dissabte, 26 de juliol del 2008 a les 20:37, Jorge Luis va escriure:

 On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
- macros as stated, _but_ to get a menu you make a directory with a
  muttrc per account, named after the account (eg muttrc files
  named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
  have your macro read:
  
macro index :source ~/rc/mutt/accts/tab
  
  which triggers the file pathname completion, neatly presenting
  you with a list of account names!

I have tried the command above, and I do not seem to be having
pathname completion when defining. I have tried to issue the command manually:
:source ~/.mutt/Comptes
I do not get a list of folders pressing the tab. Pathname completion
works in other contexts, like changing to a different mailbox (the 'c'
key). 

Cheers!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211


Re: Alternative Identities

2008-07-27 Thread Dale Harris
On Sat, Jul 26, 2008 at 08:37:35PM -0400, Jorge Luis wrote:
 
 There's actually a Debian package that does precisely that.  It's called
 muttprofile.
 
   JL
 

Ah, good to know. Thanks!


--
Dale Harris   
[EMAIL PROTECTED]
[EMAIL PROTECTED]
/.-)


Re: Alternative Identities

2008-07-27 Thread Dale Harris
On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
 which triggers the file pathname completion, neatly presenting
 you with a list of account names!
 
 How's that sound?

Sounds like it would probably work.


--
Dale Harris   
[EMAIL PROTECTED]
[EMAIL PROTECTED]
/.-)


Re: Alternative Identities

2008-07-27 Thread Cameron Simpson
On 27Jul2008 10:52, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
| El dissabte, 26 de juliol del 2008 a les 20:37, Jorge Luis va escriure:
| 
|  On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
| - macros as stated, _but_ to get a menu you make a directory with a
|   muttrc per account, named after the account (eg muttrc files
|   named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
|   have your macro read:
|   
| macro index :source ~/rc/mutt/accts/tab
|   
|   which triggers the file pathname completion, neatly presenting
|   you with a list of account names!
| 
| I have tried the command above, and I do not seem to be having
| pathname completion when defining. I have tried to issue the command manually:
|   :source ~/.mutt/Comptes
| I do not get a list of folders pressing the tab. Pathname completion
| works in other contexts, like changing to a different mailbox (the 'c'
| key). 

Even with a trailing slash? Thus:

  :source ~/.mutt/Comptes/tab
  ^-- type a TAB here
 ^-- trailing slash

(presuming Comptes to be a directry containing muttrc files).

Cheers,
-- 
Cameron Simpson [EMAIL PROTECTED] DoD#743
http://www.cskk.ezoshosting.com/cs/

Bye and bye, God caught his eye, - Epitaph for a waiter by David McCord


Re: Alternative Identities

2008-07-27 Thread mimosinnet
El dilluns, 28 de juliol del 2008 a les 08:46, Cameron Simpson va escriure:

 On 27Jul2008 10:52, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 | El dissabte, 26 de juliol del 2008 a les 20:37, Jorge Luis va escriure:
 | 
 |  On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
 | - macros as stated, _but_ to get a menu you make a directory with a
 |   muttrc per account, named after the account (eg muttrc files
 |   named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
 |   have your macro read:
 |   
 | macro index :source ~/rc/mutt/accts/tab
 |   
 |   which triggers the file pathname completion, neatly presenting
 |   you with a list of account names!
 | 
 | I have tried the command above, and I do not seem to be having
 | pathname completion when defining. I have tried to issue the command 
 manually:
 | :source ~/.mutt/Comptes
 | I do not get a list of folders pressing the tab. Pathname completion
 | works in other contexts, like changing to a different mailbox (the 'c'
 | key). 
 
 Even with a trailing slash? Thus:
 
   :source ~/.mutt/Comptes/tab
   ^-- type a TAB here
  ^-- trailing slash
 
 (presuming Comptes to be a directry containing muttrc files).

Even with the trailing slash. Could that be some kind of configuration
option?

Cheers!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211


Re: Alternative Identities

2008-07-27 Thread Cameron Simpson
On 28Jul2008 01:48, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
| El dilluns, 28 de juliol del 2008 a les 08:46, Cameron Simpson va escriure:
|  On 27Jul2008 10:52, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
|  | El dissabte, 26 de juliol del 2008 a les 20:37, Jorge Luis va escriure:
|  |  On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
|  | - macros as stated, _but_ to get a menu you make a directory with 
a
|  |   muttrc per account, named after the account (eg muttrc files
|  |   named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
|  |   have your macro read:
|  |   
|  | macro index :source ~/rc/mutt/accts/tab
|  |   
|  |   which triggers the file pathname completion, neatly presenting
|  |   you with a list of account names!
|  | 
|  | I have tried the command above, and I do not seem to be having
|  | pathname completion when defining. I have tried to issue the command 
manually:
|  |   :source ~/.mutt/Comptes
|  | I do not get a list of folders pressing the tab. Pathname completion
|  | works in other contexts, like changing to a different mailbox (the 'c'
|  | key). 
|  
|  Even with a trailing slash? Thus:
|:source ~/.mutt/Comptes/tab
|^-- type a TAB here
|   ^-- trailing slash
|  (presuming Comptes to be a directry containing muttrc files).
| 
| Even with the trailing slash. Could that be some kind of configuration
| option?

Hmm. I doesn't work for me either, and I was _sure_ I had tested it slightly
before posting.

Does anyone else know about file completion in the :source command?
-- 
Cameron Simpson [EMAIL PROTECTED] DoD#743
http://www.cskk.ezoshosting.com/cs/

Microsoft is not the ANSWER.
  Microsoft is the QUESTION,
and the ANSWER is NO!   - [EMAIL PROTECTED]


Re: Alternative Identities

2008-07-26 Thread Cameron Simpson
On 25Jul2008 20:49, Dale Harris [EMAIL PROTECTED] wrote:
| On Fri, Jul 25, 2008 at 06:32:51PM -0400, =?ISO-8859-1?Q?Crist=F3bal_Palmer_ 
wrote:
|  
|  My very-lazy-sysadmin solution, in honor of Sysadmin Appreciation Day[0].
|  
|  1) fire up gnu screen(1)
|  2) mutt -F /path/to/some/muttrc
|  3) ^ac to open a new screen window
|  4) mutt -F /other/account/muttrc
|  5) profit
|  
| 
| Yep, that's basically what I do now.  ;)  It'd still be nice to easily access 
multiple 
| account from one instance of mutt. 

Well, a couple of tiny wrapped scripts get you two different mutts
easily. I know that's not quite what you're after. So read on...

But you want to switch. Two approaches suggest themselves to me here:

  - a message-hook to re-source a muttrc on reading a message,
if you can switch accounts on that basis (eg based on the to/cc of
the message)

  - macros as stated, _but_ to get a menu you make a directory with a
muttrc per account, named after the account (eg muttrc files
named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
have your macro read:

  macro index :source ~/rc/mutt/accts/tab

which triggers the file pathname completion, neatly presenting
you with a list of account names!

How's that sound?
-- 
Cameron Simpson [EMAIL PROTECTED] DoD#743
http://www.cskk.ezoshosting.com/cs/

The best way to rob a bank is to own one.   - Roberto Calvi


Re: Alternative Identities

2008-07-26 Thread Jorge Luis
On Sat, Jul 26, 2008 at 07:40:38PM +1000, Cameron Simpson wrote:
   - macros as stated, _but_ to get a menu you make a directory with a
 muttrc per account, named after the account (eg muttrc files
 named [EMAIL PROTECTED], [EMAIL PROTECTED] etc) and then
 have your macro read:
 
   macro index :source ~/rc/mutt/accts/tab
 
 which triggers the file pathname completion, neatly presenting
 you with a list of account names!
 -- 
 Cameron Simpson [EMAIL PROTECTED] DoD#743
 http://www.cskk.ezoshosting.com/cs/
 
 The best way to rob a bank is to own one.   - Roberto Calvi

There's actually a Debian package that does precisely that.  It's called
muttprofile.

JL

-- 
Jorge Luis [EMAIL PROTECTED]

Which is the greater crime?  To rob a bank or to own one?

- Bertold Brecht


Re: robots [ was Re: Alternative Identities ]:wq

2008-07-25 Thread David Champion
  Question for people who post here more frequently than I do - is it
 normal to get a challenge/response mail from [EMAIL PROTECTED] when
 posting here ?

It's typical (I get one every time I post), but it's not normal (in the
sense that it shouldn't happen).  Challenge/response should never be
used for mail that you receive as a list member; it's really, really
irritating to other list members.  It's understandable (if somewhat
annoying) as a posting filter on a list -- just not as a receiving
filter on your personal subscription.

I'd like to see the subscriber in question removed from the list --
evidently he's not getting list mail anyway.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago


Re: Alternative Identities

2008-07-25 Thread Cameron Simpson
On 17Jul2008 20:38, Jorge Luis [EMAIL PROTECTED] wrote:
| On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
|  # macros to invoke a profile
|  macro   index   F10:source ~/.mutt/profile.default\n # Load 
default profile
|  macro   pager   F10:source ~/.mutt/profile.default\n # Load 
default profile
|  macro   index   F11:source ~/.mutt/profile.lfs\n # Load profile: 
LFS
|  macro   pager   F11:source ~/.mutt/profile.lfs\n # Load profile: 
LFS
| 
| I'm using this system now to good effect.  There's one minor improvement
| I'd like to make, but I'm not sure how to do it.  Is there some way to
| cause these macros to load the respective mboxes upon execution?  As
| they stand, I have to call up the mbox listing manually after sourcing
| the macros.

You can't just make the macros longer? Eg (untested):

  macro   index   F10:source ~/.mutt/profile.default\nc # Load default 
profile

(Note the c inserted at the end of the macro.)
-- 
Cameron Simpson [EMAIL PROTECTED] DoD#743
http://www.cskk.ezoshosting.com/cs/


Re: Alternative Identities

2008-07-25 Thread Dale Harris
On Sat, Jul 26, 2008 at 07:44:18AM +1000, Cameron Simpson wrote:
 
 You can't just make the macros longer? Eg (untested):
 
   macro   index   F10:source ~/.mutt/profile.default\nc # Load 
 default profile
 
 (Note the c inserted at the end of the macro.)
 -- 
 Cameron Simpson [EMAIL PROTECTED] DoD#743
 http://www.cskk.ezoshosting.com/cs/


Frankly (being an armchair coder here), mutt I think needs to be
re-engineered how it handles multiple accounts, it becoming a real PITA.
There should be separate menu for this and a clean way to have it
configured.  This is the one thing that might finally drive me away from
mutt if it isn't fixed. 

Just my 2 cents...

-- 
Dale Harris   
[EMAIL PROTECTED]
[EMAIL PROTECTED]
/.-)


Re: Alternative Identities

2008-07-25 Thread Cristóbal Palmer
On Fri, Jul 25, 2008 at 05:59:25PM -0400, Dale Harris wrote: 
 
 Frankly (being an armchair coder here), mutt I think needs to be
 re-engineered how it handles multiple accounts, it becoming a real PITA.
 There should be separate menu for this and a clean way to have it
 configured.  This is the one thing that might finally drive me away from
 mutt if it isn't fixed. 
 
 Just my 2 cents...

My very-lazy-sysadmin solution, in honor of Sysadmin Appreciation Day[0].

1) fire up gnu screen(1)
2) mutt -F /path/to/some/muttrc
3) ^ac to open a new screen window
4) mutt -F /other/account/muttrc
5) profit

Cheers,
-- 
Cristóbal Palmer
ibiblio.org systems administrator

[0] http://www.sysadminday.com/


Re: Alternative Identities

2008-07-25 Thread Dale Harris
On Fri, Jul 25, 2008 at 06:32:51PM -0400, =?ISO-8859-1?Q?Crist=F3bal_Palmer_ 
wrote:
 
 My very-lazy-sysadmin solution, in honor of Sysadmin Appreciation Day[0].
 
 1) fire up gnu screen(1)
 2) mutt -F /path/to/some/muttrc
 3) ^ac to open a new screen window
 4) mutt -F /other/account/muttrc
 5) profit
 

Yep, that's basically what I do now.  ;)  It'd still be nice to easily access 
multiple 
account from one instance of mutt. 

Dale



Alternative Identities

2008-07-17 Thread Jorge Luis
I'm trying to set up mutt so that I can use it with two different email
accounts.  Right now I'm using screen and two instances of mutt, but I'm
looking for a more elegant solution.  I'm on the trail of one now, but
it has some bugs.

I have the following in my .muttrc:

set status_format=[EMAIL PROTECTED]: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o?
Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Pos
t:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%-(%P)---

macro index \e1 :set [EMAIL PROTECTED]:set
signature=~/.sigs/personal_signature\n:set
status_format=\[EMAIL PROTECTED]: %f 
[Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t?
Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%-
(%P)---\\n Switch to [EMAIL PROTECTED]

macro index \e2 :set [EMAIL PROTECTED]:set
signature=~/.sigs/fac_signature\n:set status_format=\[EMAIL PROTECTED]
ss.edu: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F?
Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---
(%s/%S)-%-(%P)---\\n Switch to [EMAIL PROTECTED]

macro index I c=mbox\n Switch to mbox

folder-hook =mbox 'macro index I c=umass_mbox\n Switch to
umass_mbox'

folder-hook =umass_mbox 'macro index I c=mbox\n Switch to mbox'

folder-hook =mbox 'push \e1'

folder-hook =umass_mbox 'push \e2'

I'm trying to get the from address to update when I write an email while
I'm in one or the other of the formats, but it doesn't seem to be
working.  Can anyone help me debug this?  Also, when I switch formats
the spoolfile and mbox don't change.  That is, when I type c in the
index and then ! I don't get the right mailbox.

Thanks for any help.

JL

-- 
Jorge Luis [EMAIL PROTECTED]



Re: Alternative Identities

2008-07-17 Thread Ken Moffat
On Thu, Jul 17, 2008 at 12:27:46PM -0400, Jorge Luis wrote:
 I'm trying to set up mutt so that I can use it with two different email
 accounts.  Right now I'm using screen and two instances of mutt, but I'm
 looking for a more elegant solution.  I'm on the trail of one now, but
 it has some bugs.
 
 I have the following in my .muttrc:
 
 set status_format=[EMAIL PROTECTED]: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o?
 Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Pos
 t:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%-(%P)---
 
[...]
 I have two accounts, using a slightly different approach I found
somewhere - in a mailbox, I use F10 or F11 to switch profiles
(default and lfs).

 In .muttrc I have the following (not sure that the index macros
actually work) -

# profiles for multiple identities
# default so that I always start there
source ~/.mutt/profile.default

# macros to invoke a profile
macro   index   F10:source ~/.mutt/profile.default\n # Load default 
profile
macro   pager   F10:source ~/.mutt/profile.default\n # Load default 
profile
macro   index   F11:source ~/.mutt/profile.lfs\n # Load profile: LFS
macro   pager   F11:source ~/.mutt/profile.lfs\n # Load profile: LFS

 And then in the profiles I set From and put the profile name on the
status line, so in ~/.mutt/profile.default I have

# Customized headers
unmy_hdr *  # remove all extra headers first.

my_hdr From: Ken Moffat [EMAIL PROTECTED]

# Include the profile name in the status line (one long line)
set status_format=-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? 
Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %?l? 
%l?]---(%s/%S)-default-%-(%P)---

 And the other profile changes the From: and the profile name in the
status from 'default'.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce


robots [ was Re: Alternative Identities ]:wq

2008-07-17 Thread Ken Moffat
On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
  
  I have the following in my .muttrc:
  
 Question for people who post here more frequently than I do - is it
normal to get a challenge/response mail from [EMAIL PROTECTED] when
posting here ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce


Re: robots [ was Re: Alternative Identities ]:wq

2008-07-17 Thread Patrick Shanahan
* Ken Moffat [EMAIL PROTECTED] [07-17-08 18:50]:
 On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
  Question for people who post here more frequently than I do - is it
 normal to get a challenge/response mail from [EMAIL PROTECTED] when
 posting here ?


I haven't, but I wouldn't respond to it anyway and would probably
report it as spam.

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Alternative Identities

2008-07-17 Thread Jorge Luis
On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
 # macros to invoke a profile
 macro   index   F10:source ~/.mutt/profile.default\n # Load default 
 profile
 macro   pager   F10:source ~/.mutt/profile.default\n # Load default 
 profile
 macro   index   F11:source ~/.mutt/profile.lfs\n # Load profile: LFS
 macro   pager   F11:source ~/.mutt/profile.lfs\n # Load profile: LFS
 

I'm using this system now to good effect.  There's one minor improvement
I'd like to make, but I'm not sure how to do it.  Is there some way to
cause these macros to load the respective mboxes upon execution?  As
they stand, I have to call up the mbox listing manually after sourcing
the macros.

Thanks,

JL

-- 
Jorge Luis [EMAIL PROTECTED]