success with msmtpq?

202 views
Skip to first unread message

Krusty

unread,
May 21, 2014, 3:42:39 PM5/21/14
to mu-di...@googlegroups.com
Hi,

Can anyone share a working configuration snippet for using msmtpq with
mu4e, particularly offline? At the moment, the latest version spits
out a bunch of noise when it completes, keeping mu4e from thinking the
mail sent, as far as I can tell.

There's some discussion on the msmtpq mailing list about this, with
reference to a new version of msmtpq in the works last October. I
tried the attached file but it didn't work for me at all, just
swapping it into place.

http://sourceforge.net/p/msmtp/mailman/message/31464483/

Thanks,

Herschel

Igor Sosa Mayor

unread,
May 21, 2014, 3:57:38 PM5/21/14
to mu-di...@googlegroups.com
Krusty <krust...@gmail.com> writes:

> Hi,
>
> Can anyone share a working configuration snippet for using msmtpq with
> mu4e, particularly offline? At the moment, the latest version spits
> out a bunch of noise when it completes, keeping mu4e from thinking the
> mail sent, as far as I can tell.

I have the same problem and would also like to find a solution...

--
:: Igor Sosa Mayor :: joseleop...@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: w

Josiah Schwab

unread,
May 21, 2014, 3:59:33 PM5/21/14
to mu-di...@googlegroups.com
Hi Hershel,
As you saw in the thread, dropping it in did work for me. The only
difference between the file I'm using and the one from that thread, is
that I uncommented line 108. I've attached the exact version I'm using
for completeness.

msmtpq

Krusty

unread,
May 21, 2014, 4:21:56 PM5/21/14
to mu-di...@googlegroups.com
Hmm, I gave that a shot and I'm still getting the same error:

Sending...failed to mail for [ -oi -a gmail -t ] : couldn't be sent
- host not connected; enqueued mail as
: [ 2014-05-21-13.19.18 ] ( -oi -a gmail -t ) : successful;

This winds up now sitting in the queue & the message never closes in mu4e.

On Wed, May 21, 2014 at 12:59 PM, Josiah Schwab <jsc...@gmail.com> wrote:
> EMAIL_QUEUE_QUIET=t

Josiah Schwab

unread,
May 21, 2014, 4:40:28 PM5/21/14
to mu-di...@googlegroups.com
Weird. I looked over my config again, and don't see anything I omitted,
other than telling emacs/mu4e to use msmtpq in my .emacs.

--8<---------------cut here---------------start------------->8---
;; sending mail
(setq message-send-mail-function 'message-send-mail-with-sendmail
sendmail-program "/usr/local/bin/msmtpq"
user-full-name "Josiah Schwab")
--8<---------------cut here---------------end--------------->8---

Are you 100% sure that emacs/mu is using the new version of the script?

What happens if you test msmtpq, like you would msmtp?
https://wiki.archlinux.org/index.php/msmtp#Test_msmtp

That was how I debugged things when it was broken for me last year.

Josiah

Krusty

unread,
May 21, 2014, 7:51:28 PM5/21/14
to mu-di...@googlegroups.com
Hi Josiah,

Thanks for following up. It works from the command line when I set
EMAIL_CONN_NOTEST=y in msmtpq. However, that still doesn't work in
mu4e. I'm stuck - any other ideas? I realize there may not be an
answer here and I might have to go back to sendmail.

Thanks,

Herschel
> --
> You received this message because you are subscribed to the Google Groups "mu-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mu-discuss+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Josiah Schwab

unread,
May 21, 2014, 8:29:14 PM5/21/14
to mu-di...@googlegroups.com
On 21 May 2014 at 16:51 PDT, Krusty <krust...@gmail.com> wrote:

> Thanks for following up. It works from the command line when I set
> EMAIL_CONN_NOTEST=y in msmtpq. However, that still doesn't work in
> mu4e. I'm stuck - any other ideas? I realize there may not be an
> answer here and I might have to go back to sendmail.

What about setting
EMAIL_QUEUE_QUIET=t
in the script itself instead of in your environment?

For me, once msmtpq worked on the command line, it worked in mu4e, so
I'm basically out of ideas.

Good luck,
Josiah
Reply all
Reply to author
Forward
0 new messages