Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: ding@gnus.org
Subject: Re: making sendmail call to msmtp asynchronous?
Date: Wed, 30 Mar 2011 08:38:46 +0200	[thread overview]
Message-ID: <erlizxqfih.fsf@news.eternal-september.org> (raw)
In-Reply-To: <8739m5juqt.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 30 Mar 2011 08:51:38 +0800")

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> On Wed, Mar 30 2011, Lars Magne Ingebrigtsen wrote:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Would it be possible just to dump the mail on msmtp, and have a
>>> callback that either pops up a buffer (for errors) or a message in the
>>> minibuffer (for success)? How difficult would that be?
>>
>> It sounds kinda complicated to me, and probably with not a lot of gain
>> to be had.  Unless you're sending massive amounts of massive emails.  :-)
>
> Fair enough!
>

I used to use msmtp to talk to gmail - amongst others.

The problem was the time it sometimes took - hanging gnus for upto 15
seconds or so.

(Linux solution)

So I went back to using exim4 : gnus dumps the send off to exim4 and
exim does its stuff in the bg.

Not without pain. Of course. Exim4 is up there with the worst when it
comes to "simple tweaks" and enabling exim4 for multiple smarthosts
proved impossible (for me) give or take despite some old configs out
there in google land for exim1-3 but not 4. Why not use exim4s smtp send
facility? Its a pain if you travel : here I sit on holiday and smtp
ports for outgoing are blocked by the ISP and/or the hotel router. Gah!

Using now only gmail servers I found a nice solution that might help
some others. Yes, use exim4 smarthost. Use one of your gmail smtp
servers for outgoing and so configure that in your exim4 smarthost
setup. Normally it rewrites your "from" address to that of the owner of
the smtp account. You an stop this by granting permission to other gmail
accounts to use this account on its behalf. So if on account A I allow
account B access then account B's "from address" may be listed in the
outgoing email sent by A's SMTP server. This option is in
account/additional email users via the gmail web interface. 

http://www.besttechie.net/2010/03/27/how-to-use-gmail-for-multiple-email-accounts/

This is not without risk if you're being spammy/trolling etc as the
header details will still reveal the account name/owner of the SMTP
server. I guess the solution in that case if you dont want that is to
simply create an "anonymous" gmail account in order just to use that
smtp service for that account from your other gmail accounts.

Still, its another option and "works for me".



  reply	other threads:[~2011-03-30  6:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21  6:19 Eric Abrahamsen
2011-03-21  6:55 ` Erik Colson
2011-03-21  7:24   ` Eric Abrahamsen
2011-03-29 18:26 ` Lars Magne Ingebrigtsen
2011-03-30  0:51   ` Eric Abrahamsen
2011-03-30  6:38     ` Richard Riley [this message]
2011-03-30  9:36       ` Matthias Andree
2011-03-30 12:01         ` Richard Riley
2011-03-30 13:40           ` using Exim 4 w/ multiple smarthosts (was: making sendmail call to msmtp asynchronous?) Matthias Andree
2011-03-30 13:30             ` using Exim 4 w/ multiple smarthosts Richard Riley
2011-03-30 19:22         ` making sendmail call to msmtp asynchronous? Leonidas Tsampros
2011-03-31 19:34           ` Sivaram Neelakantan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=erlizxqfih.fsf@news.eternal-september.org \
    --to=rileyrg@googlemail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).