Mutt and courier-imap
Hello all, I'm using Mutt locally with Maildir folders, and now I would like to run courier-imap on top of this. So I want to: (1) use ssh+mutt and (2) use thunderbird+imap(s) to access my mail, both using the same Maildir tree. Is this possible? I.e., mutt and courier are using (R/W access) the same physical mail store. Any pointers would be appreciated. I guess an alternative would be to have Mutt use IMAP on the localhost? Thanks a lot, John pgpcHHPzI61RF.pgp Description: PGP signature
Re: Mutt and courier-imap
On Tue, Feb 27, 2007 at 10:37:23AM +0100, John wrote: > > So I want to: (1) use ssh+mutt and (2) use thunderbird+imap(s) to access > my mail, both using the same Maildir tree. > > Is this possible? I.e., mutt and courier are using (R/W access) > the same physical mail store. I'm doing this and have no problems with that. Peter
jump to a message given by filename
Hello all, I would like to use mutt with an external search tool (like beagle) to search for mails in my local maildirs. More precisely, I would like to open the file cur/1168331824.2665_3.pc:2,S in the =thisone maildir folder in mutt to read that email and possibly answer it. (and, of course, mutt should apply the =thisone folder-specific hooks). How can I specify this in the command line? mutt -f =thisone/cur/116 does not work. Thanks for any help in advance. Regards, A. _ Válogasson friss álláshirdetéseink közül! http://allas.origo.hu/
Re: jump to a message given by filename
* Nagyon Almos <[EMAIL PROTECTED]> [02-27-07 07:48]: > I would like to use mutt with an external search tool (like beagle) > to search for mails in my local maildirs. > More precisely, I would like to open the file > cur/1168331824.2665_3.pc:2,S in the =thisone maildir folder in mutt > to read that email and possibly answer it. (and, of course, mutt > should apply the =thisone folder-specific hooks). > >How can I specify this in the command line? > mutt -f =thisone/cur/116 does not work. have a look at mairix, http://www.rc0.org.uk/mairix -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/
Re: jump to a message given by filename
> have a look at mairix, http://www.rc0.org.uk/mairix Thanks for the tip, but I already know the filename (from beagle or mc or anything else). Or simply extract the message-id and search for it with -e? Is there a nicer solution? Regards, A. _ Válogasson friss álláshirdetéseink közül! http://allas.origo.hu/
Re: Not seeing new mail at all - BSD system
On Tue, Feb 06, 2007 at 02:37:53PM +, [EMAIL PROTECTED] wrote: > On Tue, Feb 06, 2007 at 02:11:48PM +, [EMAIL PROTECTED] wrote: > > I am migrating my main mail reading activity from a Linux system (this > > one) to a BSD one. > > However mutt is not telling me at all when new mail arrives. Is there > > anything odd/special about BSD systems regarding mutt being able to > > see new mail? Did you change $spoolfile to point to the new mailbox location? Other than that, nothing special. Are your mailboxes located on an NFS share, or something else that could muck with timestamps? > Further to this, when I navigate to the directory where the new mail > has arrived and open the mbox file then mutt *does* flag the new mail > as new. Did you call "mailboxes" with all the new mailbox paths? -- Good code works. Great code can't fail. -><- http://www.subspacefield.org/~travis/> For a good time on my UBE blacklist, email [EMAIL PROTECTED] pgphH45xoUHLT.pgp Description: PGP signature
Re: jump to a message given by filename
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 27 at 02:54 PM, quoth Nagyon Almos: >> have a look at mairix, http://www.rc0.org.uk/mairix > > Thanks for the tip, but I already know the filename > (from beagle or mc or anything else). > > Or simply extract the message-id and search for it > with -e? > Is there a nicer solution? I think the -e, as cumbersome as that is, is probably your best bet. The thing with mutt is that it supports all kinds of different mail storage types, so the authors are usually unwilling to add features that only work for some (i.e. say we had --read-mail-in-file as an option, how would that work with, say, an mbox?). That said, and assuming you have something like the mess822 package installed, what you want could be a pretty simple script like so: #!/bin/bash filename="$1" messageid=`822field Message-ID < $filename` messageid="${messageid//\$/\$}" mailbox="${filename%/*/*}" mutt -e 'push "~i '$messageid'"' \ -f "$mailbox" ~Kyle - -- Men, as an organization, are getting more women than any other group working anywhere in the world. Wherever women are, we have men looking into it. -- Jerry Seinfeld -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFF5E1wBkIOoMqOI14RAu31AJsEyeEOJQW3JOhTJAGxZXhm0rzeWQCgsEhf MFlmK1E/3GHgPD+2DJtT4m4= =R9UF -END PGP SIGNATURE-
Re: Mutt and courier-imap
On Tue, Feb 27, 2007 at 01:44:02PM +0100, Peter Wiersig wrote: > On Tue, Feb 27, 2007 at 10:37:23AM +0100, John wrote: > > > > So I want to: (1) use ssh+mutt and (2) use thunderbird+imap(s) to access > > my mail, both using the same Maildir tree. > > > > Is this possible? I.e., mutt and courier are using (R/W access) > > the same physical mail store. > > I'm doing this and have no problems with that. I too have used this setup. I used Mutt, connecting via imaps to localhost; Evolution via imaps on Solaris Express, Mail on Mac OS X and I also used sqwebmaild to provide a web interface. I had no issues with this setup either. I also used procmail to sort the mail into various Maildir folers. Cheers, Steve
Re: total size of mailbox
Patrick Shanahan wrote: * Bharath Bhushan <[EMAIL PROTECTED]> [02-26-07 20:44]: Is there a way to see the total size of a mailbox in mutt? Googling did not help. The closest was "total size of all messages visible". du --help du -hs Oops, incomplete question. I have a remote IMAP mailbox. I have configured mutt to access the IMAP folders directly (no fetchmail stuff). -- Bharath
Re: jump to a message given by filename
> > I think the -e, as cumbersome as that is, is probably your best bet. > The thing with mutt is that it supports all kinds of different mail > storage types, so the authors are usually unwilling to add features > that only work for some (i.e. say we had --read-mail-in-file as an > option, how would that work with, say, an mbox?). Yes, you are right, this is perfetcly understandable. > > That said, and assuming you have something like the mess822 package > installed, what you want could be a pretty simple script like so: > [...] Thank you very much for this script. (Hence I dont have to dig into those manuals...; Unfortunately the 822field can not be found in Edgy Eft; I suppose grep -i ^message-id: |head -n 1 works too.) Best regards, A. _ Válogasson friss álláshirdetéseink közül! http://allas.origo.hu/
Re: jump to a message given by filename
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 27 at 06:41 PM, quoth Nagyon Almos: > Thank you very much for this script. (Hence I dont have to dig into > those manuals...; Unfortunately the 822field can not be found in > Edgy Eft; I suppose grep -i ^message-id: |head -n 1 works too.) A better idea: awk '{if(tolower($0)~/^message-id: /){print $2;exit}}' It's a better idea only because this way you don't need two programs to do the work of one. :) A simpler, but slightly less generic one would be: awk '/^[Mm]essage-[Ii][Dd]: /{print $2; exit}' ~Kyle - -- Just because you do not take an interest in politics doesn't mean politics won't take an interest in you. -- Pericles (430 BC) -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFF5HwwBkIOoMqOI14RAidNAJ41nOmcZ3iFslYmIYn8xrBznvnwxwCfSeDv lJ3bzlh/8mV3ptKlXXL0yJM= =kMEt -END PGP SIGNATURE-
Re: Mutt and courier-imap
On Tue, Feb 27, 2007 at 10:37:23AM +0100, John wrote: > I'm using Mutt locally with Maildir folders, and now I would like to run > courier-imap on top of this. > > So I want to: (1) use ssh+mutt and (2) use thunderbird+imap(s) to access > my mail, both using the same Maildir tree. > > Is this possible? I.e., mutt and courier are using (R/W access) the same > physical mail store. > > Any pointers would be appreciated. I guess an alternative would be to > have Mutt use IMAP on the localhost? It's possible; you'll probably want to adjust the setting of $mask so you can see the - I used to use 'set mask="^\\."'. Someone did a patch for Courier's "Maildir++" scheme (which, AFAIK, isn't any kind of standard), but I don't think it's been maintained. w
Re: Mutt and courier-imap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 27 at 10:53 AM, quoth William Yardley: > It's possible; you'll probably want to adjust the setting of $mask > so you can see the - I used to use 'set mask="^\\."'. > > Someone did a patch for Courier's "Maildir++" scheme (which, AFAIK, > isn't any kind of standard), Well, it's about as "standard" as the Maildir standard (i.e. it's defined by a web page, and a couple people support it). The real juice of the Maildir++ standard isn't the subfolders either, but is the better way of generating filenames during delivery. (Maildir assumes that PIDs are unique within a single second, and Maildir++ does not). > but I don't think it's been maintained. I'm speaking out of ignorance here, but why would you need a patch for this? (Unless maybe it's making mutt use the new filename semantics?) I used to do the mutt+Courier thing, and it was pretty easy, I just had to get into the habit of hitting "=." in front of my folder names rather than just "=". ~Kyle - -- Democracy must be something more than two wolves and a sheep voting on what to have for dinner. -- James Bovard -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFF5IAABkIOoMqOI14RAgXMAJ9TVLB7y0bSdBADiRBsZGF4GOnRhwCgj6TD FnQoibvKBU6d0ot7aXabC/E= =mM4b -END PGP SIGNATURE-
Re: Mutt and courier-imap
On Tue, Feb 27, 2007 at 12:01:20PM -0700, Kyle Wheeler wrote: > On Tuesday, February 27 at 10:53 AM, quoth William Yardley: > > but I don't think it's been maintained. > > I'm speaking out of ignorance here, but why would you need a patch for > this? (Unless maybe it's making mutt use the new filename semantics?) > I used to do the mutt+Courier thing, and it was pretty easy, I just > had to get into the habit of hitting "=." in front of my folder names > rather than just "=". Yeah - it was just a cosmetic patch. I didn't actually try it myself, since I also wasn't really bugged by doing it as you describe; but it's not really that neat. I think it makes more sense for folders to show up as =foo/bar rather than =.foo.bar or whatever (of course you'd still be able to access the actual mailbox path by not prefixing with = or +). w
Re: jump to a message given by filename
> A better idea: > > awk '{if(tolower($0)~/^message-id: /){print $2;exit}}' > > It's a better idea only because this way you don't need two programs > to do the work of one. :) Thanks again, I always learn something new ;-) > > [...] Best regards, A. _ Válogasson friss álláshirdetéseink közül! http://allas.origo.hu/
Re: jump to a message given by filename
Re: Kyle Wheeler 2007-02-27 <[EMAIL PROTECTED]> > A simpler, but slightly less generic one would be: > > awk '/^[Mm]essage-[Ii][Dd]: /{print $2; exit}' formail -xMessage-Id Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/ signature.asc Description: Digital signature
Re: Does --with-libiconv-prefix work?
Hi, * John Salinas [07-02-22 12:07:03 -0600] wrote: I have run configure like this: ./configure --with-libiconv-prefix=/users/jsalinas/mutt-src/lib/ --with-curses=/users/jsalinas/mutt-src/usr --prefix=/users/jsalinas/mutt-src --enable-imap --enable-flock --disable-fcntl Please try again with just --with-libiconv-prefix=/users/jsalinas/mutt-src where includes are there under include/ and the libs in lib/. Yes, this works (the FreeBSD ports system has libiconv in /usr/local and uses --with-libiconv-prefix=/usr/local). bye, Rocco -- :wq!
mutt + smtp.gmail.com + ml
Hi list, I do know it's a Gmail thing, but it's annoying: every time I send a mail to a mailing list (using smtp.gmail.com), gmail "filters" it when the mailing list sends me a copy of my message. Is there a workaround for this? Cheers, -- Alessio 'mOLOk' Bolognino Arch Linux Trusted User http://www.archlinux.org
Re: mutt + smtp.gmail.com + ml
* Alessio 'mOLOk' Bolognino <[EMAIL PROTECTED]> [02-27-07 17:10]: > I do know it's a Gmail thing, but it's annoying: every time I send a > mail to a mailing list (using smtp.gmail.com), gmail "filters" it > when the mailing list sends me a copy of my message. Is there a > workaround for this? yes, relay your outbound mail via your provider, ie: smtp-server.indy.rr.com you can still use your gmail posting address. and yes, I'm sure as that is how I do it. -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/
Re: mutt + smtp.gmail.com + ml
On Tue, Feb 27 2007 17:15, Patrick Shanahan wrote: > * Alessio 'mOLOk' Bolognino <[EMAIL PROTECTED]> [02-27-07 17:10]: > > I do know it's a Gmail thing, but it's annoying: every time I send a > > mail to a mailing list (using smtp.gmail.com), gmail "filters" it > > when the mailing list sends me a copy of my message. Is there a > > workaround for this? I've also been interested in solving this, but never had the will to investigate. I think searching/posting on the Gmail-Users group could help. > yes, relay your outbound mail via your provider, ie: > smtp-server.indy.rr.com I guess he uses gmail because of its archive. Doing what you suggest would render it unusable as his replies wouldn't be saved. Cheers. -- redondos pgpthCE53N1zz.pgp Description: PGP signature
Re: mutt + smtp.gmail.com + ml
* Angel Olivera <[EMAIL PROTECTED]> [02-27-07 19:22]: > On Tue, Feb 27 2007 17:15, Patrick Shanahan wrote: [...] > > yes, relay your outbound mail via your provider, ie: > > smtp-server.indy.rr.com > > I guess he uses gmail because of its archive. Doing what you suggest > would render it unusable as his replies wouldn't be saved. Yes and he replied to me off-list and I foolishly replied to him off-list. But what he wants to do is possible. I have included my off-list answer below: * Alessio 'mOLOk' Bolognino <[EMAIL PROTECTED]> [02-27-07 17:24]: [...] > That's right, but doing this I lose the possibility to save my > outgoing > messages in the "Sent" directory of Gmail. I save/archive my outgoing mail on my local box and use gmail as an archive for incoming mail. But you can have your cake and eat it too, just set a tag on gmail for mail you generate (your posting addr). Then you can copy those to your gmail 'sent' record. Iiuc gmail doesn't use folders/directories, they just tag everything and display it so you see it in groups. any outbound mail not going to a mailing list that you monitor via gmail, you can bcc to yourself at gmail. -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/
Re: mutt + smtp.gmail.com + ml
On Tue, Feb 27 2007 19:30, Patrick Shanahan wrote: > I save/archive my outgoing mail on my local box and use gmail as an > archive for incoming mail. But you can have your cake and eat it too, > just set a tag on gmail for mail you generate (your posting addr). > Then you can copy those to your gmail 'sent' record. Iiuc gmail > doesn't use folders/directories, they just tag everything and display > it so you see it in groups. That's a good idea, thank you. > any outbound mail not going to a mailing list that you monitor via > gmail, you can bcc to yourself at gmail. Or, even better, use hooks that select $sendmail depending on if you're sending a message to a mailing list or not. So, for private messages you can safely use Gmail's smtp servers and have no need to bcc yourself. In my case, that would be two simple hooks: # msmtp will automatically choose gmail's server if the From header # contains a predefined gmail address, and use the local server if not. folder-hook . 'set sendmail="/usr/bin/msmtp" # Force the local MTA for mailing lists. folder-hook .lists 'set sendmail="/usr/bin/sendmail" Cheers. -- redondos pgpS1I6R4LIbQ.pgp Description: PGP signature
Re: mutt + smtp.gmail.com + ml
On 19:30 Tue 27 Feb , Patrick Shanahan wrote: > * Angel Olivera <[EMAIL PROTECTED]> [02-27-07 19:22]: > > On Tue, Feb 27 2007 17:15, Patrick Shanahan wrote: > [...] > > > yes, relay your outbound mail via your provider, ie: > > > smtp-server.indy.rr.com > > > > I guess he uses gmail because of its archive. Doing what you suggest > > would render it unusable as his replies wouldn't be saved. > > Yes and he replied to me off-list Did I? oops! -- Alessio 'mOLOk' Bolognino Arch Linux Trusted User http://www.archlinux.org
Re: mutt + smtp.gmail.com + ml
On 22:07 Tue 27 Feb , Angel Olivera wrote: > On Tue, Feb 27 2007 19:30, Patrick Shanahan wrote: > > I save/archive my outgoing mail on my local box and use gmail as an > > archive for incoming mail. But you can have your cake and eat it too, > > just set a tag on gmail for mail you generate (your posting addr). > > Then you can copy those to your gmail 'sent' record. Iiuc gmail > > doesn't use folders/directories, they just tag everything and display > > it so you see it in groups. > > That's a good idea, thank you. > > > any outbound mail not going to a mailing list that you monitor via > > gmail, you can bcc to yourself at gmail. > > Or, even better, use hooks that select $sendmail depending on if you're > sending a message to a mailing list or not. So, for private messages you > can safely use Gmail's smtp servers and have no need to bcc yourself. > [...] That's exactly what I'm doing now: if I'm sending a mail to a mailing list, I use another smtp server. Anyway, this isn't a great solution. -- Alessio 'mOLOk' Bolognino Arch Linux Trusted User http://www.archlinux.org