Package: mutt Version: 1.5.20-5 Severity: wishlist
Hello, I am coding some scripts for sending via irda to my PDA with another irda that has a triggering on the remote control. OK. What I would need is as follows. With MUTT, I configured it so that I can read my emails with the IMAP and gmail. It is cool. It is working with the last [CODE]mutt --version mutt: invalid option -- '-' Mutt 1.5.20 (2009-06-14)[/CODE] which is annoying with "--" but ok, it works. I would like that a script export the last 10 emails to 10 x TXT files with in it: [CODE]Subject sender receiver containing[/CODE] How to manage such thing? I would like something like: mutt --inbox --export 10 /home/username/muttexported/myfileofmytxt and it creates into /home/username/muttexported/: myfileofmytxt_01.txt myfileofmytxt_02.txt myfileofmytxt_03.txt ... myfileofmytxt_10.txt 10 corresponds to the 10 exported emails. Please please [QUOTE]Using Gmail with mutt, the minimal way (IMAP update) with 42 comments As Gmail has IMAP access, it is fairly trivial to get it working with mutt. First, if you’re on Ubuntu/Debian, run sudo apt-get install openssl mutt to get mutt if you don’t already have it. Then, just put the following lines into your ~/.muttrc: set imap_user = "usern...@gmail.com" set imap_pass = "password" set smtp_url = "smtp://usern...@smtp.gmail.com:587/" set smtp_pass = "password" set from = "usern...@gmail.com" set realname = "Your Real Name" set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set postponed="+[Gmail]/Drafts" set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt/certificates set move = no Make sure your ~/.muttrc isn’t world-readable; it contains your password. (Alternatively, you can leave them out and mutt will prompt you for the password each time.) Also, if you copy-paste from the above, make sure that you have only “normal” quotes, not “smart quotes” which WordPress might have inserted here into this post. [Other things I have: set sort = 'threads' set sort_aux = 'last-date-received' set imap_check_subscribed ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" hdr_order Date From To Cc I did not include above to justify the "minimal" :)] Things work perfectly as you would expect them. One thing to note is that the full headers will still contain the hostname of the computer you send messages from. I have not figured a way of hiding this, and perhaps it shouldn’t be possible. The End If for some reason you want to use POP, read on. And tell me why you would want to use POP. The rest of the post is an old version, which i had written before Gmail supported IMAP.[/QUOTE] -- Package-specific info: Mutt 1.5.20 (2009-06-14) Copyright (C) 1996-2009 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.6.32-trunk-686 (i686) ncurses: ncurses 5.7.20090803 (compiled with 5.7) libidn: 1.15 (compiled with 1.15) hcache backend: GDBM version 1.8.3. 10/15/2002 (built Nov 21 2009 11:02:22) Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP +USE_SMTP -USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +USE_GSS +HAVE_GETADDRINFO +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -ISPELL SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" MIXMASTER="mixmaster" To contact the developers, please mail to <mutt-...@mutt.org>. To report a bug, please visit http://bugs.mutt.org/. patch-1.5.13.cd.ifdef.2 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mutt depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libcomerr2 1.41.9-1 common error description library ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr ii libgpg-error0 1.6-1 library for common error values an ii libgpgme11 1.2.0-1.2 GPGME - GnuPG Made Easy ii libgssapi-krb5-2 1.8+dfsg~alpha1-4 MIT Kerberos runtime libraries - k ii libidn11 1.15-2 GNU Libidn library, implementation ii libk5crypto3 1.8+dfsg~alpha1-4 MIT Kerberos runtime libraries - C ii libkrb5-3 1.8+dfsg~alpha1-4 MIT Kerberos runtime libraries ii libncursesw5 5.7+20090803-2 shared libraries for terminal hand ii libsasl2-2 2.1.23.dfsg1-3 Cyrus SASL - authentication abstra Versions of packages mutt recommends: ii libsasl2-modules 2.1.23.dfsg1-3 Cyrus SASL - pluggable authenticat ii locales 2.10.2-2 GNU C Library: National Language ( ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap ii sendmail-bin [mail-transp 8.14.3-9 powerful, efficient, and scalable Versions of packages mutt suggests: ii aspell 0.60.6-2 GNU Aspell spell-checker ii ca-certificates 20090814 Common CA certificates ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep ii ispell 3.1.20.0-7 International Ispell (an interacti pn mixmaster <none> (no description available) ii openssl 0.9.8k-8 Secure Socket Layer (SSL) binary a pn urlview <none> (no description available) Versions of packages mutt is related to: ii mutt 1.5.20-5 text-based mailreader supporting M pn mutt-dbg <none> (no description available) pn mutt-patched <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org