Re: trying repository mutt again

2014-11-08 Thread Jon LaBadie
On Sat, Nov 08, 2014 at 11:59:47PM -0500, DaleKelly wrote:
> On 11/08/2014 10:15 PM, Patrick Shanahan wrote:
> >* DaleKelly  [11-08-14 21:35]:
> >>I am using Ubuntu 14.04 LTS
> >>mutt 1.5.21-6.4ubuntu2 is the version in the repository
> >  [...]  much removed
> >
> >grep -v ^# ~/.muttrc
> >
> >there is no need of including lines not being actually used!
> >
> 
> mutt is not looking at my ~/.muttrc
> it is using the global /etc/Muttrc
> I don't yet know how to change this
> 
> here is my error
>  echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
> Error in /etc/Muttrc, line 145: smtp_user: unknown variable
> source: errors in /etc/Muttrc
> SMTP session failed: 530 authentication required
> Could not send the message.
> 
> 

More likely mutt is using both.  First reading the system's
/etc/Muttrc and then your local ~/.muttrc for any personalization.
When it encounters an error it may abort and not go furthern.
Thus errors in /etc/Muttrc could mean it never gets to ~/.muttrc.

> anyways, here is the result of what you asked for my /etc/Muttrc
> 
> grep -v ^# /etc/Muttrc
> 
> ignore *
> unignore from: subject to cc date x-mailer x-url user-agent
> hdr_order date from to cc subject
> bind editor"\e"kill-word
> bind editor"\e" kill-word
> bind editor   delete-char
> set sort=threads
> unset bounce_delivered
> set mixmaster="mixmaster-filter"
> set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
> macro index \eb "~b " "search in message bodies"
> macro index,pager,attach,compose \cb "\
>  set my_pipe_decode=\$pipe_decode pipe_decode\
>  urlview\
>  set pipe_decode=\$my_pipe_decode; unset
> my_pipe_decode" \
> "call urlview to extract URLs out of a message"
> macro generic,pager  " zcat
> /usr/share/doc/mutt/manual.txt.gz | sensible-pager" "show Mutt
> documentation"
> macro index,pager y "?" "show incoming
> mailboxes list"
> bind browser y exit
> mime_lookup application/octet-stream
> set time_inc=250
> attachments   +A */.*
> attachments   -A text/x-vcard application/pgp.*
> attachments   -A application/x-pkcs7-.*
> attachments   +I text/plain
> attachments   -A message/external-body
> attachments   -I message/external-body
> source /usr/lib/mutt/source-muttrc.d|
> set from = "d...@dalekelly.org"
> set realname = "Dale"
> 
> 
> 
> set smtp_url=smtp://smtpout.secureserver.net:80
> set smtp_user=d...@dalekelly.org
> 
> 
> -- 
> (my whereabouts below)
> http://www.dalekelly.org/
>>> End of included message <<<

-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (609) 477-8330 (C)


Re: trying repository mutt again

2014-11-08 Thread DaleKelly

On 11/08/2014 10:15 PM, Patrick Shanahan wrote:

* DaleKelly  [11-08-14 21:35]:

I am using Ubuntu 14.04 LTS
mutt 1.5.21-6.4ubuntu2 is the version in the repository

  [...]  much removed

grep -v ^# ~/.muttrc

there is no need of including lines not being actually used!



mutt is not looking at my ~/.muttrc
it is using the global /etc/Muttrc
I don't yet know how to change this

here is my error
 echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
Error in /etc/Muttrc, line 145: smtp_user: unknown variable
source: errors in /etc/Muttrc
SMTP session failed: 530 authentication required
Could not send the message.


anyways, here is the result of what you asked for my /etc/Muttrc

grep -v ^# /etc/Muttrc

ignore *
unignore from: subject to cc date x-mailer x-url user-agent
hdr_order date from to cc subject
bind editor"\e"kill-word
bind editor"\e" kill-word
bind editor   delete-char
set sort=threads
unset bounce_delivered
set mixmaster="mixmaster-filter"
set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
macro index \eb "~b " "search in message bodies"
macro index,pager,attach,compose \cb "\
 set my_pipe_decode=\$pipe_decode pipe_decode\
 urlview\
 set pipe_decode=\$my_pipe_decode; unset 
my_pipe_decode" \

"call urlview to extract URLs out of a message"
macro generic,pager  " zcat 
/usr/share/doc/mutt/manual.txt.gz | sensible-pager" "show Mutt 
documentation"
macro index,pager y "?" "show incoming 
mailboxes list"

bind browser y exit
mime_lookup application/octet-stream
set time_inc=250
attachments   +A */.*
attachments   -A text/x-vcard application/pgp.*
attachments   -A application/x-pkcs7-.*
attachments   +I text/plain
attachments   -A message/external-body
attachments   -I message/external-body
source /usr/lib/mutt/source-muttrc.d|
set from = "d...@dalekelly.org"
set realname = "Dale"



set smtp_url=smtp://smtpout.secureserver.net:80
set smtp_user=d...@dalekelly.org


--
(my whereabouts below)
http://www.dalekelly.org/


Re: trying repository mutt again

2014-11-08 Thread Patrick Shanahan
* DaleKelly  [11-08-14 21:35]:
> I am using Ubuntu 14.04 LTS
> mutt 1.5.21-6.4ubuntu2 is the version in the repository
 [...]  much removed
 
grep -v ^# ~/.muttrc 

there is no need of including lines not being actually used!
-- 
(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


trying repository mutt again

2014-11-08 Thread DaleKelly

I am using Ubuntu 14.04 LTS
mutt 1.5.21-6.4ubuntu2 is the version in the repository

after not getting the 1.5.1.23 dev version off mutt.org to work, I am 
trying the one in the Ubuntu repository


there is a discrepancy for SMTP

the Ubuntu Spftware Center says it has EMSTP support
the ubuntu wiki says the MTA defaults to a Postfix installation, and 
gives instructions for sSMTP


mutt -v shows +USE_SMTP
(I removed postfix,ssmtp,mutt in that order)
then installed ssmtp and mutt in that order
I get the same error as with the dev package
echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
SMTP session failed: 530 authentication required
Could not send the message.

it is looking at the default config file, /etc/Muttrc
included below
I configured the ssmtp.conf file
included below
and the output of mutt -v
included below

#
# System configuration file for Mutt
#

# Default list of header fields to weed when displaying.
# Ignore all lines by default...
ignore *

# ... then allow these through.
unignore from: subject to cc date x-mailer x-url user-agent

# Display the fields in this order
hdr_order date from to cc subject

# emacs-like bindings
bind editor"\e"kill-word
bind editor"\e" kill-word

# map delete-char to a sane value
bind editor   delete-char

# some people actually like these settings
#set pager_stop
#bind pager  previous-line
#bind pager  next-line

# Specifies how to sort messages in the index menu.
set sort=threads

# The behavior of this option on the Debian mutt package is
# not the original one because exim4, the default SMTP on Debian
# does not strip bcc headers so this can cause privacy problems;
# see man muttrc for more info
#unset write_bcc
# Postfix and qmail use Delivered-To for detecting loops
unset bounce_delivered

set mixmaster="mixmaster-filter"

# System-wide CA file managed by the ca-certificates package
set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"

# imitate the old search-body function
macro index \eb "~b " "search in message bodies"

# simulate the old url menu
macro index,pager,attach,compose \cb "\
 set my_pipe_decode=\$pipe_decode pipe_decode\
 urlview\
 set pipe_decode=\$my_pipe_decode; unset 
my_pipe_decode" \

"call urlview to extract URLs out of a message"

# Show documentation when pressing F1
macro generic,pager  " zcat 
/usr/share/doc/mutt/manual.txt.gz | sensible-pager" "show Mutt 
documentation"


# show the incoming mailboxes list (just like "mutt -y") and back when 
pressing "y"
macro index,pager y "?" "show incoming 
mailboxes list"

bind browser y exit

# If Mutt is unable to determine your site's domain name correctly, you can
# set the default here. (better: fix /etc/mailname)
#
# set hostname=cs.hmc.edu

# If your sendmail supports the -B8BITMIME flag, enable the following
#
# set use_8bitmime

# Use mime.types to look up handlers for application/octet-stream. Can
# be undone with unmime_lookup.
mime_lookup application/octet-stream

# Upgrade the progress counter every 250ms, good for mutt over SSH
# see http://bugs.debian.org/537746
set time_inc=250

##
## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
##

##
## Please see the manual (section "attachments")  for detailed
## documentation of the "attachments" command.
##
## Removing a pattern from a list removes that pattern literally. It
## does not remove any type matching the pattern.
##
##  attachments   +A */.*
##  attachments   +A image/jpeg
##  unattachments +A */.*
##
## This leaves "attached" image/jpeg files on the allowed attachments
## list. It does not remove all items, as you might expect, because the
## second */.* is not a matching expression at this time.
##
## Remember: "unattachments" only undoes what "attachments" has done!
## It does not trigger any matching on actual messages.

## Qualify any MIME part with an "attachment" disposition, EXCEPT for
## text/x-vcard and application/pgp parts. (PGP parts are already known
## to mutt, and can be searched for with ~g, ~G, and ~k.)
##
## I've added x-pkcs7 to this, since it functions (for S/MIME)
## analogously to PGP signature attachments. S/MIME isn't supported
## in a stock mutt build, but we can still treat it specially here.
##
attachments   +A */.*
attachments   -A text/x-vcard application/pgp.*
attachments   -A application/x-pkcs7-.*

## Discount all MIME parts with an "inline" disposition, unless they're
## text/plain. (Why inline a text/plain part unless it's external to the
## message flow?)
##
attachments   +I text/plain

## These two lines make Mutt qualify MIME containers.  (So, for example,
## a message/rfc822 forward will count as an attachment.)  The first
## line is unnecessary if you already have "attach-allow */.*", of
## course.  These are off by default!  The MIME elements contained
## within a message/* or multipart/* are still examined, even if the
## containers themselves don't qualify.
##
#attachments  +A message/.* multipart/.*
#attachments  +I message/.* multipart/.*

#

Re: SMTP one more time, with all the details

2014-11-08 Thread DaleKelly

On 11/08/2014 12:48 PM, John Niendorf wrote:

Dale,

I'm curious, what email provider are you using?


godaddy.com

same as my website

Thunderbird works with it

--
(my whereabouts below)
http://www.dalekelly.org/


Re: SMTP one more time, with all the details

2014-11-08 Thread John Niendorf

Dale,

I'm curious, what email provider are you using? 
--

John


Re: SMTP one more time, with all the details

2014-11-08 Thread DaleKelly

On 11/08/2014 01:12 AM, John Niendorf wrote:

Dale,

What happens when you put this in your .muttrc file?

set smtp_url="smtps://your_email_addr...@email.server.com/465"
set smtp_pass="your_password"


same error, but thanks a lot

also tried adding
set smtp_authenticators="digest-md5:cram-md5"
then
set smtp_authenticators="cram-md5"
same error

--
(my whereabouts below)
http://www.dalekelly.org/


Re: Mutt, offlineimap, msmtp and duplicated sent emails

2014-11-08 Thread Frank Steinmetzger
On Sat, Nov 08, 2014 at 03:30:24PM +0100, Marcel Hlopko wrote:
> Hello :)
>
> I know my problem is not directly an issue with mutt, but I hope
> there are some people on this mailing list with the similar setup and
> hopefully a solution.

I run an exact same setup (mutt, msmtp, offlineimap) except for the mail
provider.

> Eveything works like a charm, except when I send an email. When I send
> an email via mutt (msmtp), and then I check fastmail via web, I see one
> 'sent' email (with only few simple headers from mutt, such as Date,
> From, To, Subject, User-Agent...), and then I see one which doesn't look
> like sent email (headers, if anybody would find them useful, are at the
> end of this email).

Would be nice to have the other mail’s headers, too. Just for a quick diff.
I do not set copy to anything in my muttrc, so copy is actually set to yes
in my mutt.
I don’t have any immediate help, but here is the relevant config for my
offlineimap’ped account (replaced the actual account name with ABC):

# Global directory settings {{{
set folder=$HOME/Mail
set mbox = +mbox
set mbox_type = Maildir
set postponed = +postponed
set spoolfile = +inbox
# }}}

# ABC settings {{{
folder-hook +ABC  set from=""
folder-hook +ABC 'set sendmail="/usr/bin/msmtp --account ABC"'
folder-hook +ABC  set record=+ABC/sent
folder-hook +ABC  set postponed=+ABC/drafts
# }}}

That’s all. The relevant section in ~/.msmtprc only has the settings host,
user, password, auth, and tls stuff.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Mac screen message: “Like, dude, something went wrong.”


signature.asc
Description: Digital signature


Mutt, offlineimap, msmtp and duplicated sent emails

2014-11-08 Thread Marcel Hlopko
Hello :)

I know my problem is not directly an issue with mutt, but I hope
there are some people on this mailing list with the similar setup and
hopefully a solution.

So I have a fastmail account, I use offlineimap to download the email,
I use mutt for browsing the email, and mutt uses msmtp to send emails.

Eveything works like a charm, except when I send an email. When I send
an email via mutt (msmtp), and then I check fastmail via web, I see one
'sent' email (with only few simple headers from mutt, such as Date,
From, To, Subject, User-Agent...), and then I see one which doesn't look
like sent email (headers, if anybody would find them useful, are at the
end of this email). I have mutt set copy = no`. And to be honest,
I don't know where I should even find the problem, there are so many
components...

What I would like to achieve:
1. No duplicates of sent emails
2. The email should appear as read

Has anybody solved anything similar?

Thank you very much and have a nice day!

Marcel

p.s.
Return-Path: 
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
 by sloti18t12 (Cyrus git2.5+0-git-fastmail-9884) with LMTPA;
 Thu, 06 Nov 2014 14:48:14 -0500
X-Sieve: CMU Sieve 2.4
X-Spam-known-sender: yes
X-Spam-score: 0.0
X-Spam-hits: BAYES_00 -1.9, RP_MATCHES_RCVD -0.001, SPF_PASS -0.001, LANGUAGES 
unknown,
  BAYES_USED global, SA_VERSION 3.3.2
X-Spam-source: IP='77.93.208.126', Host='hermes.ebee.cz', Country='CZ', 
FromHeader='cz',
  MailFrom='cz'
X-Spam-charsets: to='utf-8', plain='utf-8'
X-Resolved-to: mhlopko+personalitysentitem-22742...@fastmail.fm
X-Delivered-to: mhlopko+personalitysentitem-22742...@fastmail.fm
X-Mail-from: hlo...@ebee.cz
Received: from mx1 ([10.202.2.200])
  by compute6.internal (LMTPProxy); Thu, 06 Nov 2014 14:48:14 -0500
Received: from hermes.ebee.cz (hermes.ebee.cz [77.93.208.126])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx1.messagingengine.com (Postfix) with ESMTPS id 2A279F20260
for ; 
Thu,  6 Nov 2014 14:48:12 -0500 (EST)
Authentication-Results: mx1.messagingengine.com; dkim=none
reason="no signature"; dkim-adsp=none (unprotected policy);
dkim-atps=neutral
Received: from localhost (localhost [127.0.0.1])
by hermes.ebee.cz (Postfix) with ESMTP id 1650339265
for ; 
Thu,  6 Nov 2014 20:48:10 +0100 (CET)
X-Virus-Scanned: by amavis-new at hermes.ebee.cz
Received: from hermes.ebee.cz ([127.0.0.1])
by localhost (mail.ebee.cz [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id VmLbNU7zNvBh; Thu,  6 Nov 2014 20:48:04 +0100 (CET)
Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com 
[66.111.4.228])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
(Authenticated sender: hlo...@ebee.cz)
by hermes.ebee.cz (Postfix) with ESMTPSA id C54CD39263;
Thu,  6 Nov 2014 20:48:04 +0100 (CET)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
by mailauth.nyi.internal (Postfix) with ESMTP id 6039A2057A;
Thu,  6 Nov 2014 14:48:03 -0500 (EST)
Received: from frontend2 ([10.202.2.161])
  by compute6.internal (MEProxy); Thu, 06 Nov 2014 14:48:03 -0500
X-Sasl-enc: ViXwi1xKrdo25WOo2HM8nWWTyirVFw3edCJbKnOaCqTf 1415303282
Received: from localhost (unknown [93.153.57.48])
by mail.messagingengine.com (Postfix) with ESMTPA id E8E66680112
for ; Thu,  6 Nov 2014 14:48:02 -0500 (EST)
Date: Thu, 6 Nov 2014 20:47:37 +0100
From: Marcel Hlopko 
To: =?utf-8?B?RnJhbnRpxaFlayBQw6Fj?= 
Subject: auto again
Message-ID: <20141106194737.GA8726@ozembuch>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.21 (2010-09-15)





signature.asc
Description: Digital signature