Re: My typical .muttrc frustrations

2017-04-17 Thread Charles E Campbell

lilydjwg wrote:

On Sun, Apr 16, 2017 at 06:48:34PM -0400, Charles E Campbell wrote:

Hello:

It was tricky, but I got my .muttrc working so that I could send stuff out
via the command line.

Until about two weeks ago, where mutt suddenly stopped sending out email and
started complaining instead.

To shorten the story: this is what I use with Seamonkey.  Works fine.

Description   : astronaut
Server Name   : outgoing.verizon.net
Port  : 465
Connection Security   : SSL/TLS
Authentication Method : Normal password
User Name : astronaut

Of course, there is a password involved and its stored in Seamonkey's
passwords file.

Now, on to .muttrc:

[...]

You can see my some of my attempts at getting mutt to talk via smtp and
messing around with smtp authenticators.  None of them work.

Would someone please help?

Try this one?

set smtp_url="smtps://astron...@verizon.net@outgoing.verizon.net:465"


Here's the result:

cec/ fsp#06 djinni? tstmutt.cfb

SSL connection using TLSv1/SSLv3 (ECDHE-RSA-AES256-GCM-SHA384)
external authentication failed, trying next method
anonymous authentication failed, trying next method
plain authentication failed, trying next method
Connection to outgoing.verizon.net closed
digest-md5 authentication failed, trying next method
No authenticators available
Could not send the message.

That's better than what I had been getting: (after a long pause)

Connection to outgoing.verizon.net closed
SMTP session failed: read error
Could not send the message.

Thank you,
Chip Campbell



Re: strip of some filename chars in folder_format setting

2017-04-17 Thread Cameron Simpson

On 17Apr2017 10:04, derek martin  wrote:

On Wed, Apr 12, 2017 at 03:26:51PM +0200, Oliver Graute wrote:

how can I strip of the first 23 chars of my filename string in the
folder_format setting?

so that:
11   N Apr 12 08:19 =usern...@provider.com/Mailinglists.mutt-users/

looks like this
11   N Apr 12 08:19 Mailinglists.mutt-users/


An alternative, which may or may not help with other aspects of
managing your mail, is to reorganize your mail folders.  For example,
if you made Mailinglist a directory rather than a prefix, you could
set folder = ~/$YOUR_MAIL_ROOT/usern...@provider.com/Mailinglists
and then add a Mailboxes for mutt-users and your other mailing lists.

If you had a number of these folders for different providers, you
could perhaps use a macro to change the value of folder.  Or, it may
be simplest to forgo using a deep directory tree entirely and just put
all your mail folders in the same mail root directory.


And another alternative is to aggressively set the X-Label: header when you 
file your email. Almost all my mail rules set this, and I stick the X-Label 
value on the right of the listing.


Example (artificially narrowed to fit in this message, this is more readable in 
a normal terminal):


 12Apr2017 03:53 derek martinN  ├>Mutt-Dev 1.7K
 11Apr2017 02:21 Kevin J. McCart - ┌> Mutt-Dev 1.9K
 10Apr2017 04:58 Derek Schrock   - [PATCH] Add option $beep
 13Apr2017 23:31 Brendan Cully   N mutt: 4 new changesets M
 13Apr2017 06:02 Will YardleyN   ┌> Mutt-Users 0.7K
 13Apr2017 05:12 Charles Cazabon N  ┌>  Mutt-Users 1.4K

See the "Mutt-Dev" and "Mutt-Users" on the right? I do have my mail folder set 
in the header line, where there is more room.


My settings are as follows:

 set folder_format="%4C %t %N %f"
 set index_format="%D %-15.15F %S %?M?(%M) ?%?H?[%H] ?%s%>  %y %4c"

The mail filing rule I use to get that "Mutt-Dev" above is this:

 muttMutt-Devsender:owner-mutt-...@mutt.org

My motivation for the X-Label is that I file similar topics in shared folders 
(mutt/mail, python, unix/shell, etc) so the label tells me the list associated 
with it. But you can put all sorts of stuff in there; for non-lists I use 
"Personal" and so forth as seems useful.


Combined with Derek's suggestion this might go some distance to your wishes.

Cheers,
Cameron Simpson 


Re: strip of some filename chars in folder_format setting

2017-04-17 Thread Derek Martin
On Wed, Apr 12, 2017 at 03:26:51PM +0200, Oliver Graute wrote:
> how can I strip of the first 23 chars of my filename string in the
> folder_format setting?
> 
> so that:
> 
> 11   N Apr 12 08:19 =usern...@provider.com/Mailinglists.mutt-users/
> 
> looks like this
> 
> 11   N Apr 12 08:19 Mailinglists.mutt-users/

An alternative, which may or may not help with other aspects of
managing your mail, is to reorganize your mail folders.  For example,
if you made Mailinglist a directory rather than a prefix, you could
set folder = ~/$YOUR_MAIL_ROOT/usern...@provider.com/Mailinglists
and then add a Mailboxes for mutt-users and your other mailing lists.

If you had a number of these folders for different providers, you
could perhaps use a macro to change the value of folder.  Or, it may
be simplest to forgo using a deep directory tree entirely and just put
all your mail folders in the same mail root directory.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpjGEUtw287b.pgp
Description: PGP signature