mutt license and SSL libraries

2015-06-08 Thread Ian Zimmerman
mutt is GPL.  Apparently there is some license incompatibility between
GPL and the openssl license which prohibits linking mutt with openssl,
unless there is an exception for this specific situation.  I have not
studied the legalities in detail because IANAL, but I see that there is
a configure option to link with openssl.  Has an appropriate exception
been granted to mutt, then?

Of course I know that it doesn't matter if I build binaries just for my
personal use and don't distribute them, but in fact I build debian
packages which are available over unauthenticated http, because I want a
quick way of installing mutt (and other things) on multiple computers.
I am just trying to stay out of trouble :)

I would like to avoid gnutls because of associated versioning chaos.

I am sorry if this message stirs unpleasant emotions in list readers; it
is meant as an honest question, not a trolling expedition.  I've
searched the wiki and FAQ with no success.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.



Re: File browser oddity

2015-06-08 Thread Ian Zimmerman
On 2015-06-07 17:23 -0700, Ian Zimmerman wrote:

Ian When I start the file browser view explicitly, either by hitting
Ian the y key or by passing -y on the shell command line, it comes up
Ian in the mailboxes only submode, i.e. things like my header cache
Ian directory are hidden.  (They can be shown by activating the
Ian toggle-mailboxes function, bound to Tab by default).  But when I
Ian start by hitting c and then ?, so as to show the browser merely as
Ian a temporary menu of mailboxes to switch to, it comes up with all
Ian files visible and the toggle key hides the non-mailboxes.

Ian I find this a very annoying inconsistency.  Is there some setting I
Ian can turn on to make it behave the same in both situations?  I'd
Ian prefer the non-mailboxes always hidden by default, but even always
Ian shown would be better than the current way.

I think this is in fact a flea, a very small one, to be sure.  Patch
attached, relative to 1.5.21; if needed I can certainly rebase it on a
different version.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
diff --git a/curs_lib.c b/curs_lib.c
index 7f88cc9..6e4e76e 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -559,6 +559,7 @@ int mutt_do_pager (const char *banner,
 int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int *redraw, int buffy, int multiple, char ***files, int *numfiles)
 {
   event_t ch;
+  int flags;
 
   mvaddstr (LINES-1, 0, (char *) prompt);
   addstr (_( ('?' for list): ));
@@ -577,8 +578,12 @@ int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int *redraw,
   {
 mutt_refresh ();
 buf[0] = 0;
-_mutt_select_file (buf, blen, M_SEL_FOLDER | (multiple ? M_SEL_MULTI : 0), 
-		   files, numfiles);
+flags = M_SEL_FOLDER;
+if (multiple)
+  flags |= M_SEL_MULTI;
+if (buffy)
+  flags |= M_SEL_BUFFY;
+_mutt_select_file (buf, blen, flags, files, numfiles);
 *redraw = REDRAW_FULL;
   }
   else


Re: mutt license and SSL libraries

2015-06-08 Thread Will Yardley
On Mon, Jun 08, 2015 at 12:01:20PM -0700, Ian Zimmerman wrote:

 mutt is GPL.  Apparently there is some license incompatibility between
 GPL and the openssl license which prohibits linking mutt with openssl,
 unless there is an exception for this specific situation.  I have not
 studied the legalities in detail because IANAL, but I see that there is
 a configure option to link with openssl.  Has an appropriate exception
 been granted to mutt, then?

I don't have any specific information, but FWIW, the RHEL packages seem
to link against OpenSSL (based on checking a RHEL5 system and a CentOS 7
system). I do see the EL6 package seems to be linked against gnutls
instead possibly (as does a Debian 5 system I looked at).

As best I can tell, FreeBSD ports also links against OpenSSL, though
maybe the ports process means it's not being distributed (I didn't check
the binary package, but assume it's the same).

I would think that if this was a problem, it would have come up before.

w



Re: Saving all attachments

2015-06-08 Thread Marcelo Laia
So good!

https://packages.debian.org/unstable/main/ripmime

2015-06-08 9:29 GMT-03:00 Chris Spackman ch...@osugisakae.com:
 On 2015/06/08 at 12:03am, Xu Wang wrote:
 On Sun, Jun 7, 2015 at 3:28 PM, John Niendorf j...@jfniendorf.org wrote:
  On Sun, Jun 07, 2015 at 02:44:22PM -0400, Chris Spackman wrote:

  This seems to be the official site for ripmime:
  http://www.pldaniels.com/ripmime/
  --
  Chris Spackman

  Hey thanks Chris,
 
  This is really handy!  I wish I'd known about it earlier.
  --
  John

 This is a very good tool to know. It seems as if it were created
 exactly for this purpose. Thank you for the tip!
 Xu

 Glad it is helpful. I cannot recall for sure, but I might have heard
 of it on this list. But it was at least a couple of years ago. I put
 the command into .muttrc and haven't read the manual or had to do
 anything other that press X since then. Very handy tool.

 --
 Chris Spackman

 GNU Terry Pratchett




-- 
Laia, M. L.


Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
Ian Zimmerman wrote:
 On 2015-06-07 17:23 -0700, Ian Zimmerman wrote:
 
 Ian When I start the file browser view explicitly, either by hitting
 Ian the y key or by passing -y on the shell command line, it comes up
 Ian in the mailboxes only submode, i.e. things like my header cache
 Ian directory are hidden.  (They can be shown by activating the
 Ian toggle-mailboxes function, bound to Tab by default).  But when I
 Ian start by hitting c and then ?, so as to show the browser merely as
 Ian a temporary menu of mailboxes to switch to, it comes up with all
 Ian files visible and the toggle key hides the non-mailboxes.
 
 Ian I find this a very annoying inconsistency.  Is there some setting I
 Ian can turn on to make it behave the same in both situations?  I'd
 Ian prefer the non-mailboxes always hidden by default, but even always
 Ian shown would be better than the current way.
 
 I think this is in fact a flea, a very small one, to be sure.  Patch
 attached, relative to 1.5.21; if needed I can certainly rebase it on a
 different version.

I think you're right.  Let me just test it and I'll push the patch out.
Thank you for investigating and writing up a patch!

-Kevin

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
http://www.8t8.us/configs/gpg-key-transition-statement.txt


signature.asc
Description: PGP signature


Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
Kevin J. McCarthy wrote:
 Ian Zimmerman wrote:
  On 2015-06-07 17:23 -0700, Ian Zimmerman wrote:
  
  Ian When I start the file browser view explicitly, either by hitting
  Ian the y key or by passing -y on the shell command line, it comes up
  Ian in the mailboxes only submode, i.e. things like my header cache
  Ian directory are hidden.  (They can be shown by activating the
  Ian toggle-mailboxes function, bound to Tab by default).  But when I
  Ian start by hitting c and then ?, so as to show the browser merely as
  Ian a temporary menu of mailboxes to switch to, it comes up with all
  Ian files visible and the toggle key hides the non-mailboxes.
  
  Ian I find this a very annoying inconsistency.  Is there some setting I
  Ian can turn on to make it behave the same in both situations?  I'd
  Ian prefer the non-mailboxes always hidden by default, but even always
  Ian shown would be better than the current way.
  
  I think this is in fact a flea, a very small one, to be sure.  Patch
  attached, relative to 1.5.21; if needed I can certainly rebase it on a
  different version.
 
 I think you're right.  Let me just test it and I'll push the patch out.
 Thank you for investigating and writing up a patch!

After looking and thinking this through, it may be somewhat
controversial to make this change.  I've made a couple modifications and
will mail the patch to mutt-dev, but really need more feedback before I
consider pushing it.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
http://www.8t8.us/configs/gpg-key-transition-statement.txt


signature.asc
Description: PGP signature


Re: File browser oddity

2015-06-08 Thread Kevin J. McCarthy
Ian Zimmerman wrote:
 On 2015-06-08 15:55 -0700, Kevin J. McCarthy wrote:
 
 Kevin After looking and thinking this through, it may be somewhat
 Kevin controversial to make this change.  I've made a couple
 Kevin modifications and will mail the patch to mutt-dev, but really
 Kevin need more feedback before I consider pushing it.
 
 Would you care to explain what your concerns are?

The biggest one is changing long-standing behavior of a very often used
function.  Mutt users can be a conservative bunch, and this change could
goof up macros or who knows what.  My days could be numbered if I pushed
it without entertaining any feedback first.  :-)

Also, the file browser didn't even work if no mailboxes were defined.
I've changed it to not abort and display an empty list, but this
could still be confusing to newish users, or even users who define no
mailboxes and for whom it just worked in the past.

 You can redirect me to another forum if mutt-users is not appropriate.

I've Cc'ed you on the post to mutt-dev.  (Sorry about that if you're
subscribed; I do see your signature).  As I mentioned there, I *do*
think the patch makes sense, but it may not be much liked by others.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
http://www.8t8.us/configs/gpg-key-transition-statement.txt


signature.asc
Description: PGP signature


Re: File browser oddity

2015-06-08 Thread Ian Zimmerman
On 2015-06-08 15:55 -0700, Kevin J. McCarthy wrote:

Kevin After looking and thinking this through, it may be somewhat
Kevin controversial to make this change.  I've made a couple
Kevin modifications and will mail the patch to mutt-dev, but really
Kevin need more feedback before I consider pushing it.

Would you care to explain what your concerns are?

You can redirect me to another forum if mutt-users is not appropriate.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.



Re: mutt - [some smarthost] - Exchange Land

2015-06-08 Thread Matthias Apitz
El día Monday, June 08, 2015 a las 11:55:49PM -0500, Michael Jinks escribió:

 FWIW, Apptix's instructions are at:
 
   
 https://www.apptix.com/support/email/exchange-2010-setup/exchange-2010-outlook-pop-imap-setup-guide.aspx
 
 Relevant bit is near the bottom, page 11. Excerpt:
 
 [...]
 c. In the Outgoing mail server (SMTP) box, enter the SMTP server name:
 smtp.apptixemail.net
 
 Under Logon Information:
 
 a. In the User Name box, enter your user name (typically, your email address).
 b. In the Password box, enter your password. If you want Outlook to
 remember your password, make sure the check box next to Remember
 password is selected.
 [...]
 b. Under Outgoing server (SMTP), next to Use the following type of
 encrypted connection, select TLS, and then click [OK]. Outgoing Port:
 587
 
 Any clues?

Try something like:

set 
smtp_url=smtp://your-username@your-domain:your-password@your-smtpserver:587

in your ~/.muttrc; your mutt must be compiled with SMTP enabled.

matthias
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden.
Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias, Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)


sourcing a 2nd alias file

2015-06-08 Thread Matthias Apitz

Hello,

To manage some organization I want to have an additional alias file
(i.e. separated from my normal aliases). I tried:

set alias_file=~/.mutt-mail_aliases # where I keep my aliases
source ~/.mutt-mail_aliases # include my aliases
source ~/.mutt-xxx

but in the 2nd file it does not recognize the 'alias' command-

Any idea? Thanks

matthias


-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden.
Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias, Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)


Re: sourcing a 2nd alias file

2015-06-08 Thread Patrick Shanahan
* Matthias Apitz g...@unixarea.de [06-08-15 02:09]:
 To manage some organization I want to have an additional alias file
 (i.e. separated from my normal aliases). I tried:
 
 set alias_file=~/.mutt-mail_aliases # where I keep my aliases
 source ~/.mutt-mail_aliases # include my aliases
 source ~/.mutt-xxx
 
 but in the 2nd file it does not recognize the 'alias' command-
 
 Any idea? Thanks

only ideas and untried and unknown:
  You have told mutt to *only* use ~/.mutt-mail_aliases, set alias_file=
  perhaps,
set alias_file=~/.mutt-mail_aliases;~/.mutt-
  or it may not be possible currently.
  
Except for your own preference, why not combine them?

And perhaps this would be a good use of hooks, source and set the aliase
file according to the recipient.  And source is probably only required
once.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


fetching messages overall progress

2015-06-08 Thread Tom FRIEDETZKY
I have in the past on occasion used mutt in ways that required it to
completely download largish numbers of messages from an IMAP server (say, to
migrate between servers, or simply to create an up-to-date message cache).
Mutt will then in the status line at the bottom display something like
Fetching message... x/y (z%), where the values of x,y,z are per individual
message.  While that may be useful for few, possibly large, messages, it's
somewhat annoying that there is no overall progress indicator.

Ideally, I would like it to display something along the lines

  Fetching message X/Y (Z%)... x/y (z%)

where capital letters are for overall progress, and lowercase ones for
individual messages.  I don't think this can be done out of the box with
1.5.23.  I'd be happy to be proved wrong, and equally happy to dive into the
source and see if I can fix it, but I'm wondering if (a) I'm missing
something, and (b) if a patch exists, if necessary.



signature.asc
Description: Digital signature


Re: sourcing a 2nd alias file

2015-06-08 Thread Michael Tatge
Hi,

* On Mon, Jun 08, 2015 08:08AM +0200 Matthias Apitz (g...@unixarea.de) muttered:
 I want to have an additional alias file (i.e. separated from my normal
 aliases). I tried:
 
 set alias_file=~/.mutt-mail_aliases # where I keep my aliases
 source ~/.mutt-mail_aliases # include my aliases
 source ~/.mutt-xxx

so far so good.

 but in the 2nd file it does not recognize the 'alias' command-

Are you sure that 2nd file is syntacticly correct? What error are you
getting exactly?

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Saving all attachments

2015-06-08 Thread Chris Spackman
On 2015/06/08 at 12:03am, Xu Wang wrote:
 On Sun, Jun 7, 2015 at 3:28 PM, John Niendorf j...@jfniendorf.org wrote:
  On Sun, Jun 07, 2015 at 02:44:22PM -0400, Chris Spackman wrote:

  This seems to be the official site for ripmime:
  http://www.pldaniels.com/ripmime/
  --
  Chris Spackman

  Hey thanks Chris,
 
  This is really handy!  I wish I'd known about it earlier.
  --
  John

 This is a very good tool to know. It seems as if it were created
 exactly for this purpose. Thank you for the tip! 
 Xu

Glad it is helpful. I cannot recall for sure, but I might have heard
of it on this list. But it was at least a couple of years ago. I put
the command into .muttrc and haven't read the manual or had to do
anything other that press X since then. Very handy tool.

-- 
Chris Spackman

GNU Terry Pratchett



Re: sourcing a 2nd alias file

2015-06-08 Thread Chris Spackman
On 2015/06/08 at 02:03pm, Michael Tatge wrote:
 Hi,
 
 * On Mon, Jun 08, 2015 08:08AM +0200 Matthias Apitz (g...@unixarea.de) 
 muttered:
  I want to have an additional alias file (i.e. separated from my normal
  aliases). I tried:
 
 so far so good.
 
  but in the 2nd file it does not recognize the 'alias' command-
 
 Are you sure that 2nd file is syntacticly correct? What error are you
 getting exactly?
 
 Michael

My muttrc sources five or six alias files and it works just fine. I
would second the guess that there might be an error in your syntax in
the second file.


-- 
Chris Spackman

GNU Terry Pratchett



Re: sourcing a 2nd alias file

2015-06-08 Thread Matthias Apitz
El día Monday, June 08, 2015 a las 02:03:55PM +0200, Michael Tatge escribió:

  I want to have an additional alias file (i.e. separated from my normal
  aliases). I tried:
  
  set alias_file=~/.mutt-mail_aliases # where I keep my aliases
  source ~/.mutt-mail_aliases # include my aliases
  source ~/.mutt-xxx
 
 so far so good.
 
  but in the 2nd file it does not recognize the 'alias' command-
 
 Are you sure that 2nd file is syntacticly correct? What error are you
 getting exactly?

I nailed it down: the 2nd file was produced from some Winword .doc file
someone sent me with the list of the members; do not blame me; I saved it as
txt file and built the alias file ~/.mutt-xxx from it; the vim hided
to me that the txt file contained as 1st bytes the BOM \ufeff :-(
after deleting this all is fine;

Thanks for your help;

matthias

-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
+49-176-38902045
Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände 
menschlich bilden.
Si el hombre es formado por las circunstancias entonces es necesario formar 
humanamente
las circunstancias, Karl Marx in Die heilige Familie / La sagrada familia (MEW 
2, 138)


Re: sourcing a 2nd alias file

2015-06-08 Thread Michael Tatge
* On Mon, Jun 08, 2015 07:14AM -0400 Patrick Shanahan (ptilopt...@gmail.com) 
muttered:
 * Matthias Apitz g...@unixarea.de [06-08-15 02:09]:
  set alias_file=~/.mutt-mail_aliases # where I keep my aliases
  source ~/.mutt-mail_aliases # include my aliases
  source ~/.mutt-xxx
 only ideas and untried and unknown:
   You have told mutt to *only* use ~/.mutt-mail_aliases, set alias_file=
   perhaps,
 set alias_file=~/.mutt-mail_aliases;~/.mutt-
   or it may not be possible currently.

No. It should work as the OP wrote. alias_file points to one and only
one file.

3.3. alias_file

Type: path
Default: “~/.muttrc”

The default file in which to save aliases created by the create-alias
function.

alias is a normal command and can be used in any sourced file.
alias_file simply tells mutt to save new aliases there.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de