Re: Mutt and multiple imap accounts
On Sat, Feb 20, 2010 at 02:57:41PM +0100, Zeerak Waseem wrote: Hey, I'm having some difficulties with mutt and multiple imaps; I've been trying to set it up for my private mail and my uni mail, but I can't seem to get it to work. I've been following two entries from the wiki (mainly) this (http://wiki.mutt.org/?MuttGuide/UseIMAP) and this (http://wiki.mutt.org/?UserStory/GmailMultiIMAP), if I purely follow the first link, then mutt responds with there being no maildir. If I purely follow the second link then it recognizes the maildir, but it shows that there are no mailboxes. A finesse to this is that my uni mail has a different ending from the imap server (the other is a gmail account). Could someone help me point out the flaws in my configuration? # Base hook to reset account variables to known state before activating new ones account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set ssl_starttls=ask-yes' account-hook imaps://imap.gmail.com:993/ 'set imap_user=Gmail-user imap_pass=Pass' folder-hook imaps://imap.gmail.com:993/ 'set folder=imaps://imap.gmail.com/INBOX record=+Sent from=My Name gmail-u...@gmail.com' account-hook imaps://uni-imap-server.com/ 'set imap_user=Uni-user imap_pass=Pass2' folder-hook imaps://uni-imap-server.com/ 'set folder=imaps://uni-imap-server.com/INBOX record=+Sent from=My Name uni-m...@uni-mail-address.com' If I add a folder and a spoolfile line (independent of the hooks) then this setup works, but would I need to set a spoolfile and a folder for both accounts? I think I tried it, but I'm not quite certain. The folder and spoolfile you set would be your defaults that get open when you start mutt. You only need to set these for one of your accounts. A few days back I posted in this mailing list my configuration to handle multiple Gmail accounts. Search the archives for a subject like Simple Mutt with Eee PC 701. You may find it useful. Any help would be appreciated :-) -- Zeerak -- regards, Horacio Sanson
Re: Mutt and multiple imap accounts
On Mon, Feb 22, 2010 at 09:42:19AM +0900, Horacio Sanson wrote: On Sat, Feb 20, 2010 at 02:57:41PM +0100, Zeerak Waseem wrote: Hey, I'm having some difficulties with mutt and multiple imaps; I've been trying to set it up for my private mail and my uni mail, but I can't seem to get it to work. I've been following two entries from the wiki (mainly) this (http://wiki.mutt.org/?MuttGuide/UseIMAP) and this (http://wiki.mutt.org/?UserStory/GmailMultiIMAP), if I purely follow the first link, then mutt responds with there being no maildir. If I purely follow the second link then it recognizes the maildir, but it shows that there are no mailboxes. A finesse to this is that my uni mail has a different ending from the imap server (the other is a gmail account). Could someone help me point out the flaws in my configuration? # Base hook to reset account variables to known state before activating new ones account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set ssl_starttls=ask-yes' account-hook imaps://imap.gmail.com:993/ 'set imap_user=Gmail-user imap_pass=Pass' folder-hook imaps://imap.gmail.com:993/ 'set folder=imaps://imap.gmail.com/INBOX record=+Sent from=My Name gmail-u...@gmail.com' account-hook imaps://uni-imap-server.com/ 'set imap_user=Uni-user imap_pass=Pass2' folder-hook imaps://uni-imap-server.com/ 'set folder=imaps://uni-imap-server.com/INBOX record=+Sent from=My Name uni-m...@uni-mail-address.com' If I add a folder and a spoolfile line (independent of the hooks) then this setup works, but would I need to set a spoolfile and a folder for both accounts? I think I tried it, but I'm not quite certain. The folder and spoolfile you set would be your defaults that get open when you start mutt. You only need to set these for one of your accounts. A few days back I posted in this mailing list my configuration to handle multiple Gmail accounts. Search the archives for a subject like Simple Mutt with Eee PC 701. You may find it useful. Any help would be appreciated :-) -- Zeerak -- regards, Horacio Sanson Ah yes, I found it :-) And I've gotten it working now :-) I also created a blog to document how to set it up, and anything else useful I needed. :-) -- Zeerak Waseem pgpwNeNXoRaUV.pgp Description: PGP signature
Set a default To value based on current folder name?
Hello, When composing a new mail, is it possible to specify a default To address based on the current folder name ? For example, when I am in the folder list.mutt, I would like the To: field to be prefilled with the mutt-users@mutt.org value when composing a new mail. Thanks, -- Nicolas
Re: Set a default To value based on current folder name?
On Mon, Feb 22, 2010 at 12:51:55PM +0100, Nicolas KOWALSKI wrote: Hello, When composing a new mail, is it possible to specify a default To address based on the current folder name ? For example, when I am in the folder list.mutt, I would like the To: field to be prefilled with the mutt-users@mutt.org value when composing a new mail. Thanks, -- Nicolas I don't know if that can be done, but couldn't a work around be that you specified the list in your alias file? -- Zeerak Waseem pgpvrq6iBYSxb.pgp Description: PGP signature
Re: Set a default To value based on current folder name?
On 22.02.10,14:07, Nicolas KOWALSKI wrote: On Mon, Feb 22, 2010 at 01:10:57PM +0100, Zeerak Mustafa Waseem wrote: On Mon, Feb 22, 2010 at 12:51:55PM +0100, Nicolas KOWALSKI wrote: When composing a new mail, is it possible to specify a default To address based on the current folder name ? For example, when I am in the folder list.mutt, I would like the To: field to be prefilled with the mutt-users@mutt.org value when composing a new mail. I don't know if that can be done, but couldn't a work around be that you specified the list in your alias file? I have already. I just would like to automate the process for all my mailing-lists folders, if possible. Have you tried with folder-hook and my_hdr? - Jostein
Re: Set a default To value based on current folder name?
On Mon, Feb 22, 2010 at 03:45:32PM +0100, Jostein Berntsen wrote: On 22.02.10,14:07, Nicolas KOWALSKI wrote: On Mon, Feb 22, 2010 at 01:10:57PM +0100, Zeerak Mustafa Waseem wrote: On Mon, Feb 22, 2010 at 12:51:55PM +0100, Nicolas KOWALSKI wrote: When composing a new mail, is it possible to specify a default To address based on the current folder name ? For example, when I am in the folder list.mutt, I would like the To: field to be prefilled with the mutt-users@mutt.org value when composing a new mail. I don't know if that can be done, but couldn't a work around be that you specified the list in your alias file? I have already. I just would like to automate the process for all my mailing-lists folders, if possible. Have you tried with folder-hook and my_hdr? Thanks for the tip! With the following it works perfectly: folder-hook . 'unmy_hdr to' folder-hook =list.debian'my_hdr To: debian-u...@lists.debian.org' folder-hook =list.debian-backports 'my_hdr To: backports-us...@lists.backports.org' folder-hook =list.debian-french 'my_hdr To: debian-user-fre...@lists.debian.org' folder-hook =list.mutt 'my_hdr To: mutt-users@mutt.org' ...[and so on]... Thanks a lot, -- Nicolas
Re: How to build mutt
On Mon, Feb 22, 2010 at 10:19:56AM +0100, Gary wrote: I know it should be as simple as './configure [some options]' followed by 'make install', but I am at a loss knowing which options I should apply in order to have the same capabilities as another build's. For example in order to have +BUFFY_SIZE -DEBUG -DL_STANDALONE -DOMAIN +ENABLE_NLS -EXACT_ADDRESS +HAVE_BKGDSET +HAVE_COLOR +HAVE_CURS_SET -HAVE_GETADDRINFO +HAVE_GETSID +HAVE_ICONV +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_META +HAVE_PGP +HAVE_REGCOMP +HAVE_RESIZETERM +HAVE_START_COLOR +HAVE_TYPEAHEAD -HAVE_WC_FUNCS -HOMESPOOL -ICONV_NONTRANS -ISPELL +LOCALES_HACK -SUN_ATTACHMENT -USE_DOTLOCK +USE_FCNTL -USE_FLOCK +USE_GNU_REGEX -USE_GSS +USE_IMAP +USE_POP -USE_SASL -USE_SETGID +USE_SSL are all the capabilities included using --enable-WHATEVER? if so, why do some final results start with USE, some with HAVE, and others nothing special at all? If not, how do I enable/disable them? The USE_* options are typically controlled via --enable-* or --with-* options to configure. The HAVE_* are system aspects that the configure script automatically detects are are not typically user configurable. The items without a prefix are primarily items which the user *may* need to override (most of these are old, but would probably be better labeled with a USE_ prefix). Additionally, is it possible to not build/install the documentation somehow? Trying to do that here gives me an error and then make stops *sigh* I am not sure, but you may be able to remove the doc item from the SUBDIRS variable in the Makefile. Typically it's better to just install the docbook packages so you can build the docs. See doc/devel-notes.txt for the complete list of packages required. make[2]: Entering directory `/usr/src/mutt/doc' ##test -f manual.html || make manual.html || cp ./manual*.html ./ cp ./manual*.html ./ cp: cannot stat `./manual*.html': No such file or directory make[2]: *** [try-html] Error 1 make[2]: Leaving directory `/usr/src/mutt/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/mutt' make: *** [install] Error 2 Why would anyone want to copy ./some file to the same place anyway? Any why on earth would they expect that to succeed? The build system does not assume that you are building in the same directory where the sources reside. For example, if you are building mutt for multiple architectures or even different options for testing, you might create several build directories. The make target for the documentation copies from the source directory to the build directory. In the example you noted above, they are the same directory so it looks odd, but it is not in error. me
Re: How to build mutt
On Mon, Feb 22, 2010 at 06:21:52PM +0100, Gary wrote: On Mon, Feb 22, 2010 at 08:10:17AM -0800, Michael Elkins wrote: The USE_* options are typically controlled via --enable-* or --with-* Err. In the sense I can use whichever form I like, or in the sense that one or other will work, depending on which option I am trying to include? In the latter sense. --enable-* typically controls a feature that Mutt can provide. --with-* is used to control other software which Mutt might make use of (e.g. openssl, qdbm). This is typicaly of software which uses autoconf. Typically it's better to just install the docbook packages so you can build the docs. Actually I have (even though 'grep -iIr docbook *' in the src directory returns no results). It doesn't help. I'm unsure why you get that result since there are many references to docbook in the doc/ subdirectory. In the example you noted above, they are the same directory so it looks odd, but it is not in error. Well, make appears to disgree with you on that. It just stops after the errors noted above and I don't get a binary or whatever documentation it's trying to build. Admittedly, I have an old version, so it might not be a current problem (it's also the Cygwin version, so it might not even really be *your* problem). The problem is not the cp, but the fact that the documentation failed to build. The 'stat' error is saying the source file does not exist. me
Bounce message from a different from address.
I send a long email to a mailing list but after sending it I realized I send the email using the wrong from: address. Of course the message got bounced back because that address is not registered in the mailing list. Now this should be easy to do but I have not found a simple way to resend the message with a different from: address. The message is stored in my Sent folder but using the bounce function on it asks me to input a new destination (to:) address but what I want is to change the from: address and resend the message intact as it is. How to achieve this feat? -- regards, Horacio Sanson