Mutt and IMAP, evo and icons (was: mail questions: mutt and KDE)

2008-01-24 Thread Baptiste Grenier
Le 24/01/08 à 03:06, Gary Kline téléscripta :
   People,

Hi,

 (...)
  I want to get mutt functional since most of my mailis ASCII or 8859-15.  For 
   friends who mail me URL's of pics, I use the GUI mail user agents.   Is 
 there 
   a way me me, on desktops (FBSD and Ubuntu) to send/receive via the 
 mailserver?
 (...)
   (I recently learned most of the other one, evo, and it does build, but 
 I'm 
   missing its icons...   I see tiny squares with red X's inside.  But 
 this is
   another issue. For now, I'd be happy with some clues about the Kmail 
 strangeness
   and the mutt+IMAP stuff.)

Foolowing the advices of Girogos, you should be able to use mutt with
imap, I do, and it works quite well, the thing that I miss is
the abilitty to view the number of new mail an imap folder has when
swithching between folders using 'c' . Does anybody be able to do this ?

Here are the relevant parts of my conf (I access a TLS/SSL protected dovecot
server):

# TLS
set ssl_starttls

# Don't wait to enter mailbox manually
unset imap_passive

# Management of multiple imap accounts
account-hook . 'unset imap_user; unset imap_pass'

# plop.org imaps
account-hook imaps://imap.plop.org/ 'set imap_user=baptiste 
imap_pass=XX'
account-hook imaps://imap.plop.org/ 'set spoolfile=imaps://imap.plop.org/INBOX'
account-hook imaps://imap.plop.org/ 'set folder=imaps://imap.plop.org/INBOX'
account-hook imaps://imap.plop.org/ 'set mbox=imaps://imap.plop.org/INBOX'
account-hook imaps://imap.plop.org/ 'set 
record=imaps://imap.plop.org/INBOX.Sent'
account-hook imaps://imap.plop.org/ 'set 
postponed=imaps://imap.plop.org/INBOX.Postponed'
account-hook imaps://imap.plop.org/ 'save-hook . +'

I start mutt like this:

mutt -f imaps://imap.plop.org

For the problem with the evolution icons, it's that you need to launch
gnome-settings-daemon (it needs a dbus session too).

In my xinitrc, I have this:

if which dbus-launch /dev/null  test -z $DBUS_SESSION_BUS_ADDRESS; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
/usr/local/libexec/gnome-settings-daemon 

   tia, guys,
   gary

HTH,
Baptiste

-- 
Baptiste Grenier | PGP: 0x069112E2
HealthGrid SysAdmin
http://healthgrid.org/


pgpoUg42Zjo9g.pgp
Description: PGP signature


mail questions: mutt and KDE

2008-01-23 Thread Gary Kline


People,

Here's hopping that I'm still subscribed to the kde list, and that 
somebody can 
answer these general mail-type questions.  Once I have Kmail working on 
my own
domain, I'll be able to use that as a lifeline.  Also, I would like 
some clues
of how to if IF I  can use mutt *with* IMAP.

Since my network re-org, THOUGHT.ORG is now behind a stand-alone 
firewall.
AFAIK, nothing/nobody, not even me, can crack my f'wall.  My 
server/desktop 
is not running 3 servers within one jail: DNS, web, and email.  Still 
using
sendmail as my MTA, the rest of it is evolution and/or kmail.  USing 
IMAP
from my two desktops to the mailserver.   I Do not understand much of 
this yet, 
do Please bear with me.

I want to get mutt functional since most of my mailis ASCII or 8859-15. 
 For 
friends who mail me URL's of pics, I use the GUI mail user agents.   Is 
there 
a way me me, on desktops (FBSD and Ubuntu) to send/receive via the 
mailserver?

The Kmail question is a bit on the strange side.  When I hit the 
reply icon,
a composer window pops up, but I cannot type in it!  There is no echo 
to stdout.
But the scroll-bar moves up so I'm guessing that **something** is being 
stuffed 
into the the composer buffer.  Have any of you guys seen this before?

(I recently learned most of the other one, evo, and it does build, but 
I'm 
missing its icons...   I see tiny squares with red X's inside.  But 
this is
another issue. For now, I'd be happy with some clues about the Kmail 
strangeness
and the mutt+IMAP stuff.)

tia, guys,

gary


-- 
Gary Kline  Seattle BSD Users' Group (seabug)  | [EMAIL PROTECTED]
Thought Unlimited Org's Alternate Email Site
http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using mutt to access imap folders (was: mail questions: mutt and KDE)

2008-01-23 Thread Giorgos Keramidas
freebsd-kde stripped from the recipient list.

Gary it's probably better to post *two* messages if you have two
unrelated questions.  This way the traffic in freebsd-kde will not get
'polluted' with all the replies about mutt, which isn't really related
to KDE on FreeBSD.

On 2008-01-23 18:24, Gary Kline [EMAIL PROTECTED] wrote:
 Here's hopping that I'm still subscribed to the kde list, and that
 somebody can answer these general mail-type questions.

You don't have to be subscribed to freebsd-kde to post.

 Also, I would like some clues of how to if IF I can use mutt *with*
 IMAP.

You can set ${MAIL} in your environment to an imap folder.  Then firing
up mutt will select the imap folder by default, and you will be prompted
for a password.

Try for example the following:

$ MAIL='imap://[EMAIL PROTECTED]/INBOX'

You can store the IMAP username and password in ~/.muttrc too, but then
you should pay careful attention to the permissions of the file (even in
an internal network, it never hurts to be a bit cautious).  The
following in your ~/.muttrc should do the trick:

set imap_user='gkeramidas'
set imap_pass='achmed!the!terrorist'

Then fire up mutt, and enjoy your new IMAP session.

One word of caution though.  Setting $MAIL to an IMAP folder path in
your default environment may upset programs which don't really speak
IMAP the way mutt does, i.e. the command-line mail(1) utility.

The manual of mutt, which is accessible by hitting F1 while inside
mutt, is also a valuable resource for this sort of questions.
Specifically, the following section includes a very good example of how
you can handle multiple IMAP accounts in a single mutt session:

| 13. Managing multiple IMAP/POP accounts (OPTIONAL)
|
| If you happen to have accounts on multiple IMAP and/or POP
| servers, you may find managing all the authentication settings
| inconvenient and error-prone. The account-hook command may
| help. This hook works like folder-hook but is invoked whenever
| you access a remote mailbox (including inside the folder
| browser), not just when you open the mailbox.
|
| Some examples:
|
| account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
| account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
| account-hook imap://host2/ 'set tunnel=ssh host2 /usr/libexec/imapd'

There are *many* other details in the manual about using mutt to access
IMAP folders.  You should definitely skim through the text at least
once in case you find some interesting option.

A text version of the full manual is available in /usr/local too:

/usr/local/share/doc/mutt/manual.txt

This is, actually, the file that you get to read when you hit F1
inside mutt.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]