Re: loading aliases in background??

2007-10-26 Thread Dilip M
On 10/26/07, Christian Kuka <[EMAIL PROTECTED]> wrote:
> You can also use lbdb (littlebrother database)
> set query_command="lbdbq '%s'"
>
> and in lbdbrc:
> METHODS="m_passwd m_inmail m_gpg m_muttalias m_abook"
>
> MUTT_DIRECTORY="$HOME/.mutt"
> MUTTALIAS_FILE="aliases"
>
> (or some more backends)

Cool! I configured abook and now grep'ing emails/phone is just a
second ! Man..I'm addicted to this mutt, abook :)

Joke: I press 'g' to reply all in this email ;)


-- 
#Dilip


Re: encrypt to self with gpgme?

2007-10-26 Thread Alexander Dahl
Hi Christoph, 

> I never understood how it comes that gpgme encrypts only FCC with my
> key. Since gnupg is a crypto suite, not a mail user agent, I'd be surprised if
> it has a notion of "FCC", but what do I know... I was never persistent enough
> to dig through the code. 

In fact my fcc is not encrypted with my key, FCC goes to =Sent which is in
fact an IMAP folder in IMAP root:

set record = +Sent

But:

[-- Fehler: Entschlüsselung fehlgeschlagen: Enschlüsselung fehlgeschlagen
--]

> To come to my point: I simply don't know if it also affects the output of the
> gpg command line interface.

You said gpgsm.conf, that's not ~/.gnupg/gpg.conf -- does that mean, there
is another config for gpgme and the config for gpg is not the only one?

> I think you submit feature requests at http://dev.mutt.org/trac/>.

Will do this later, too busy these days. :-(

Greets
Alex

-- 
* http://www.lespocky.de ***
GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0


pgpkfFmqXxVev.pgp
Description: PGP signature


Re: encrypt to self with gpgme?

2007-10-26 Thread Christoph Ludwig
Hi Alex,

On Fri, Oct 26, 2007 at 12:55:07PM +0200, Alexander Dahl wrote:
> You said gpgsm.conf, that's not ~/.gnupg/gpg.conf -- does that mean, there
> is another config for gpgme and the config for gpg is not the only one?

yes, each part of gnupg has its own config file. (That's true for gnuppg 2.x,
at least.) For gpgsm, e.g., have a look at
http://www.gnupg.org/documentation/manuals./gnupg/GPGSM-Configuration.html>.
 

Regards

Christoph


-- 
FH Worms - University of Applied Sciences
Fachbereich Informatik / Telekommunikation
Erenburgerstr. 19, 67549 Worms, Germany


mutt with gmails imap support not fully working

2007-10-26 Thread Nick Anderson
I have mutt connecting to gmails imap service. I can view
messages in the inbox, however I cannot seem to change to
any other folder. I tried switching to a few folders with
debug on, the results are attached.

-- 
Nick Anderson
Mutt 1.5.16 started at Fri Oct 26 08:40:14 2007
.
Debugging at level 5.

Connected to imap.gmail.com:993 on fd=5
imap_cmd_step: grew buffer to 512 bytes
5< * OK Gimap ready for requests from 24.143.41.9 p60if1177783hsa
IMAP queue drained
5> a CAPABILITY
5< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XYZZY
Handling CAPABILITY
5< a OK Thats all she wrote! p60if1177783hsa
IMAP queue drained
imap_authenticate: Using any available method.
local ip: 172.16.0.100;60843, remote ip:64.233.179.109;993
External SSF: 192
External authentication name: 3?��
SASL: No worthy mechs found
imap_auth_sasl: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XYZZY unavailable
5> a0001 LOGIN "[EMAIL PROTECTED]" "password"
5< a0001 OK [EMAIL PROTECTED] authenticated (Success)
IMAP queue drained
Communication encrypted at 192 bits
5> a0002 CAPABILITY
a0003 LIST "" ""
5< * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID
Handling CAPABILITY
5< a0002 OK Success
5< * LIST (\Noselect) "/" "/"
5< a0003 OK Success
IMAP queue drained
5> a0004 SELECT "INBOX"
mboxcache: hcache uidvalidity 2, uidnext 299
5< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)
Getting mailbox FLAGS
5< * OK [PERMANENTFLAGS (\Flagged \Draft \Deleted \Seen \*)]
Getting mailbox PERMANENTFLAGS
5< * OK [UIDVALIDITY 2]
Getting mailbox UIDVALIDITY
5< * 6 EXISTS
Handling EXISTS
cmd_handle_untagged: New mail in INBOX - 6 messages total.
5< * 0 RECENT
5< * OK [UNSEEN 2]
5< * OK [UIDNEXT 300]
Getting mailbox UIDNEXT
5< a0004 OK [READ-WRITE] INBOX selected. (Success)
IMAP queue drained
Mailbox flags: [\Flagged] [\Draft] [\Deleted] [\Seen] [\*] 
../../imap/message.c:104: mutt_mktemp returns "/tmp/mutt-neuron-1000-22458-0".
5> a0005 UID FETCH 1:298 (UID FLAGS)
5< * 1 FETCH (UID 72 FLAGS (\Seen))
Handling FETCH
FETCH response ignored for this message
5< * 2 FETCH (UID 74 FLAGS (\Seen))
Handling FETCH
FETCH response ignored for this message
5< * 3 FETCH (UID 100 FLAGS (\Seen))
Handling FETCH
FETCH response ignored for this message
5< * 4 FETCH (UID 124 FLAGS (Old))
Handling FETCH
FETCH response ignored for this message
5< * 5 FETCH (UID 128 FLAGS (\Seen))
Handling FETCH
FETCH response ignored for this message
5< a0005 OK Success
IMAP queue drained
5> a0006 FETCH 6:6 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION 
IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
5< * 6 FETCH (UID 299 RFC822.SIZE 2385 INTERNALDATE "26-Oct-2007 09:49:57 
+" FLAGS () BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID 
REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES 
LIST-POST X-LABEL)] {382}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 382 bytes
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 26 Oct 2007 02:49:57 -0700
Reply-To: Google Calendar <[EMAIL PROTECTED]>
Subject: You have no events scheduled today.
From: Google Calendar <[EMAIL PROTECTED]>
Content-Type: multipart/mixed; boundary=00c09f923be3043d6246018ba8ab328c

5< )
parse_parameters: `boundary=00c09f923be3043d6246018ba8ab328c'
parse_parameter: `boundary' = `00c09f923be3043d6246018ba8ab328c'
5< a0006 OK Success
IMAP queue drained
imap_open_mailbox: msgcount is 6
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: yes, [EMAIL PROTECTED] = [EMAIL PROTECTED]
mutt_addr_is_user: no, all failed.
mutt_index_menu[633]: Got op 127
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_index_menu[633]: Got op 99
imap_browse: Quoting mailbox scan:  -> "%"
5> a0007 LIST "" "%"
5< * LIST () "/" "INBOX"
5< * LIST (\Noselect) "/" "[Gmail]"
5< * LIST () "/" "test"
5< a0007 OK Success
IMAP queue drained
imap_browse: mbox: [Gmail]
5> a0008 LIST "" "[Gmail]"
5< * LIST (\Noselect) "/" "[Gmail]"
5< a0008 OK Success
IMAP queue drained
imap_browse: Quoting mailbox scan: [Gmail]/ -

Re: encrypt to self with gpgme?

2007-10-26 Thread Alexander Dahl
> I think you submit feature requests at http://dev.mutt.org/trac/>.

Done: http://dev.mutt.org/trac/ticket/2973

Greets
Alex

-- 
Freiheit statt Angst -- Für die Grundrechte!
Bundesweite, dezentrale Demos
06.11. in Magdeburg Haltestelle Goldschmiedebrücke 16:00 bis 19:00 Uhr
- Bringt Laternen, Kerzen und Grundgesetze mit! -
Letzte Chance vor der Verabschiedung durch den Bundestag:
http://www.freiheitstattangst.de



signature.asc
Description: OpenPGP digital signature


Re: encrypt to self with gpgme?

2007-10-26 Thread Rocco Rutte

Hi,

* Christoph Ludwig [07-10-25 12:26:04 +0200] wrote:

On Wed, Oct 24, 2007 at 09:08:52PM +0200, Alexander Dahl wrote:



Is there at least anyone but me who uses gpgme instead of classic method
with this error-prone commandline config? ;)


Mutt comes with pgp and gpg samples that simply work out of the box... 
:)



actually, you configure it in the gnupg config files rather than .muttrc
(don't ask me why). Add to gpgsm.conf a line



 encrypt-to 0x



whith the dots replaced by the fingerprint of your key.


Well, this is one way. The other is to change the sample config for 
gnupg to include -R  so that you have it on a per-application 
basis.


With mutt, of course you even change these settings as usual via hooks 
to include -R or not (using handy $my_ variables this is easy).


Rocco


Re: Asian fonts / xterm with Mutt

2007-10-26 Thread Derek Martin
On Tue, Oct 23, 2007 at 09:29:23AM -0600, Joseph wrote:
> Thanks for the input Derek,
> 
> On 10/23/07 01:12, Derek Martin wrote:
 
> I have the same settings in my "locale" 

Good.

> >Using this, I can type Korean, Japanese, and Chinese (though I know
> >very little Japanese, and almost no Chinese at all):
> >
> >いただきます!  (Itadakimasu!)
> 
> This must be Chinese, I see them all except the last character is square.

It's Japanese, Hiragana to be specific.  The last character is an
exclamation point, or if you meant the one before that, it's the
Hiragana syllable "su".  It's odd that either of those would not
display properly, if you have Japanese fonts installed.  But nothing
surprises me.

> >잘 먹으세요!(Jal Mogeuseyo!)
> 
> This Korean one displays correctly as well.
> 
> >
> >你好!  (Ni hao!)
> 
> If this is Japanese, it doesn't show at all.  They are all squares, I know 
> I don't have any Japanese fonts.

It's Mandarin actually, the standard greeting "ni hao" (roughly "how
are you?").

> >I can tell you, there are two particular fonts I have that display
> >these characters, and I can tell you the font resources I use to get
> >xterm to use them:
> >
> >XTerm*font: -misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*
> >XTerm*font5: -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1
> 
> Do you have ".Xauthority" file in your home directory?

Er, yes... but I'm not sure what that has to do with it.  .Xauthority
is a file which the X server checks to see if you have permission
(cookies) to access the display.  I guess you might mean .Xdefaults
or .Xresources instead, and yes I have that file too (both of them,
though they're essentially redundant), which contains the resources
above.  

Depending on how you start your X session, you might need to force the
X server to load your resources file using xrdb -merge (in, say,
.xsession or whatever).

> So, I think, all this Asian fonts are just mutter of correct font
> being installed on the system.  They display correctly even in my
> Nano editor.

Mostly, yes.  And having the right locale.  But it does depend a bit
on what terminal program you're using, and how your fonts are
configured.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpSRdlGAtl9g.pgp
Description: PGP signature


Re: encrypt to self with gpgme?

2007-10-26 Thread Christoph Ludwig
On Fri, Oct 26, 2007 at 05:25:30PM +0200, Rocco Rutte wrote:
> * Christoph Ludwig [07-10-25 12:26:04 +0200] wrote:
> >On Wed, Oct 24, 2007 at 09:08:52PM +0200, Alexander Dahl wrote:
> 
> >>Is there at least anyone but me who uses gpgme instead of classic method
> >>with this error-prone commandline config? ;)
> 
> Mutt comes with pgp and gpg samples that simply work out of the box... 
> :)
> 
> >actually, you configure it in the gnupg config files rather than .muttrc
> >(don't ask me why). Add to gpgsm.conf a line
> 
> > encrypt-to 0x
> 
> >whith the dots replaced by the fingerprint of your key.
> 
> Well, this is one way. The other is to change the sample config for 
> gnupg to include -R  so that you have it on a per-application 
> basis.
> 
> With mutt, of course you even change these settings as usual via hooks 
> to include -R or not (using handy $my_ variables this is easy).

which configuration samples do you refer to? The one I found is in
contrib/gpg.rc. If I am not mistaken, then this sample shows how to
configure the classic gpg backend. However, the OP explicitly asked for a
solution using the gpgme backend.

Regards

Christoph

-- 
FH Worms - University of Applied Sciences
Fachbereich Informatik / Telekommunikation
Erenburgerstr. 19, 67549 Worms, Germany


Re: Asian fonts / xterm with Mutt

2007-10-26 Thread Joseph

On 10/26/07 12:43, Derek Martin wrote:

Do you have ".Xauthority" file in your home directory?


Er, yes... but I'm not sure what that has to do with it.  .Xauthority
is a file which the X server checks to see if you have permission
(cookies) to access the display.  I guess you might mean .Xdefaults
or .Xresources instead, and yes I have that file too (both of them,
though they're essentially redundant), which contains the resources
above.  


Yes, you are right, I meant .Xdefaults
here is something I just put together:
-.Xdefaults-
Urxvt.scrollBar: true
URxvt.scrollstyle:  plain
URxvt.secondaryScroll:  true
Urxvt.reverseWrap: true


URxvt.cursorColor:  #dc74d1
URxvt.pointerColor: #dc74d1
URxvt.background:   #0e0e0e
URxvt.foreground:   #4ad5e1
URxvt.color0:   #00
URxvt.color8:   #8b8f93
URxvt.color1:   #dc74d1
URxvt.color9:   #dc74d1
URxvt.color2:   #0eb8c7
URxvt.color10:  #0eb8c7
URxvt.color3:   #dfe37e
URxvt.color11:  #dfe37e
URxvt.color5:   #9e88f0
URxvt.color13:  #9e88f0
URxvt.color6:   #73f7ff
URxvt.color14:  #73f7ff
URxvt.color7:   #e1
URxvt.color15:  #e1

URxvt.geometry: 124x45
URxvt.loginShell:   false
URxvt.meta: ignore
URxvt.utmpInhibit:  true

URxvt.saveLines:1500

URxvt.insecure: true

URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=16
URxvt*boldFont: xft:Bitstream Vera Sans Mono:pixelsize=16

URxvt.perl-ext-common: default,tabbed
--end .Xdefaults---


Mostly, yes.  And having the right locale.  But it does depend a bit
on what terminal program you're using, and how your fonts are
configured.


I've noticed that that "urxvt" terminal works much better than xterm for Asian fonts especially. No special 
configuration needed it just works.


urxvt works OK locally but accessing another box over ssh and doing some root work I have experiencing some 
strange warnings eg:

# dispatch-conf
WARNING: terminal is not fully functional

I've never seen it before.

--
#Joseph
GPG KeyID: ED0E1FB7


sending all postponed emails at once

2007-10-26 Thread Joseph

Is there a way to postpone / delay sending emails till the connection is 
established?

I was thinking of using mutt with that new OpenMoko phone which is due in 
December :-/
so I was thinking if there is a way of sending postponed emails all at once. 

I know mutt has a way to postpone emails but they are not sent out until I re-call them one by one, am I 
correct?

I want to send all postponed email once the connection with Internet is 
established by dial-up and/or wifi

--
#Joseph
GPG KeyID: ED0E1FB7


Re: sending all postponed emails at once

2007-10-26 Thread Cameron Simpson
On 26Oct2007 14:52, Joseph <[EMAIL PROTECTED]> wrote:
> Is there a way to postpone / delay sending emails till the connection is 
> established?
> I was thinking of using mutt with that new OpenMoko phone which is due in 
> December :-/
> so I was thinking if there is a way of sending postponed emails all at 
> once. 
> I know mutt has a way to postpone emails but they are not sent out until I 
> re-call them one by one, am I correct?
> I want to send all postponed email once the connection with Internet is 
> established by dial-up and/or wifi

You could run a real mail system on the phone (postfix, qmail etc).
I find postfix a little more friendly than qmail for configuration,
but qmail is probably smaller.
Use that for your mail dispatch instead of SMTP to some ISP.
This has the advantage that it will happily queue on the phone
and deliver when possible.

Mutt itself does not have this kind of queuing, which properly
belongs in the mail system. 

Configuring the mail system to deliver may be a little problematic
(though all the problems apply just as well to anything you'd try to make
mutt or another mail reader do anyway).

If you can relay on delivering via "mail" or "smtp" on whatevery wifi
LAN you connect to, you could do that. You need to trust such things of
course.

You could configure it for direct/native SMTP delivery.
You may hit black hole listings when doing this for a roaming device; several
places refuse SMTP from "dynamic" IP ranges - ranges known to be issued to
roaming or home networks.

You could have an ssh tunnel with a port forward for SMTP, to a known host
you control which has a working email system. Have a tiny shell script with
the ssh incantation to start the tunnel. Run "postfix flush" when the tunnel
is up, possibly from the same script.

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

It has been observed that one's nose is never so happy as when it is thrust
into the affairs of another, from which some physiologists have drawn the
inference that the nose is devoid of the sense of smell.
Ambrose Bierce (1842-1914), U.S. author. The Devil's Dictionary (1881-1906).