Re: smtpmail vs msmtp

2019-08-01 Thread Saša Janiška
Bob Newell  writes:

> Choose smtpmail if you don't want to bother with msmtp or if you are a
> purist and want to do as much as possible within emacs.

It there would be proper logging with smtpmail I'd probably use that...

> Choose msmtp if you want something fast, convenient, and easy to use
> with good logging.

...but logging feature in msmtp is deal breaker, and msmtp wins the
'contest'. :-)

Thanks to all for your replies!


Sincerely,
Gour

-- 
One who restrains the senses of action but whose mind dwells on
sense objects certainly deludes himself and is called a pretender.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Lars-Johan Liman
Being an old Sendmail MTA geek, I use a different approach entirely.

I have a local MTA (now Postfix, as Sendmail is more or less abandonware
these days) on my machine, and use a "header_dependent_relay" database
to make Postfix select the right account based on the From: line. GNUS
just drops the mail on /usr/bin/sedmail (which is Postfix - aargh! ;-) )
and lets it deal with the problem. Postfix then acts as an SMTP client
vis-a-vis my various (three) different accounts.

"If all you have is a hammer ...", and my hammer is my MTA. :-)

Note: I'm not saying this is better in any way, I'm merely adding to the
list of available options, should anyone else be as crazy as I am. ;-)

Note2: None of the outgoing accounts is Gmail. I decided that that was
one dragon too many. ;-)

Cheers,
  /Liman

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Eric Abrahamsen
Štěpán Němec  writes:

> On Thu, 01 Aug 2019 13:44:21 -0700
> Eric Abrahamsen wrote:
>
>> I'm using smtp with multiple accounts, and a `message-send-mail-hook'
>> that sets the msmtp account based on the From header. Is that still the
>> way everyone is doing it? Is there anything simpler for handling
>> multiple accounts?
>
> I'm also using multiple accounts and all I'm doing to that end on Emacs
> side seems to be the following:
>
> (setq send-mail-function 'message-send-mail-with-sendmail
>   message-send-mail-function 'message-send-mail-with-sendmail
>   sendmail-program "/usr/bin/msmtp"
>   message-sendmail-envelope-from 'header
>   message-sendmail-f-is-evil nil)
>   
> I.e., I let msmtp pick the account based on the From header.

Crap, really? I've got this unwieldy thing that sets the account using
`message-sendmail-extra-arguments', I wonder if that's just not
necessary at all. I'll try removing it.

Thanks for the tip,
Eric


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Štěpán Němec
On Thu, 01 Aug 2019 13:44:21 -0700
Eric Abrahamsen wrote:

> I'm using smtp with multiple accounts, and a `message-send-mail-hook'
> that sets the msmtp account based on the From header. Is that still the
> way everyone is doing it? Is there anything simpler for handling
> multiple accounts?

I'm also using multiple accounts and all I'm doing to that end on Emacs
side seems to be the following:

(setq send-mail-function 'message-send-mail-with-sendmail
  message-send-mail-function 'message-send-mail-with-sendmail
  sendmail-program "/usr/bin/msmtp"
  message-sendmail-envelope-from 'header
  message-sendmail-f-is-evil nil)
  
I.e., I let msmtp pick the account based on the From header.

-- 
Štěpán

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Eric Abrahamsen
Bob Newell  writes:

> While both work fine, I just find msmtp easier to set up and monitor
> when using multiple outgoing servers. The .msmtp.log file has proven
> useful many times, and .msmtprc is easy to configure.
>
> Of course, it's one more piece of software on your system, but it's a
> good piece.
>
> Choose smtpmail if you don't want to bother with msmtp or if you are a
> purist and want to do as much as possible within emacs. Choose msmtp if
> you want something fast, convenient, and easy to use with good logging.

I'm using smtp with multiple accounts, and a `message-send-mail-hook'
that sets the msmtp account based on the From header. Is that still the
way everyone is doing it? Is there anything simpler for handling
multiple accounts?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: splitting Gmail account just copy not move :-(

2019-08-01 Thread Eric Abrahamsen
physiculus  writes:

> Eric Abrahamsen  writes:
>
>>
>> Is that the only label it shows? What else is in the assoc list?
> It depends on the folder in Gmail.
> Sometimes it shows ((X-GM-LABELS . "(\\Important \\Inbox)")) or
> ((X-GM-LABELS . "(\\Inbox \\Sent \\Starred)"))

And you're sure that you're opening a message that has some specific
label defined on it?

I've also seen some indication that you might need to tell Gmail to
specifically export your custom labels as flags (or folders?), do you
see anything like that here:

https://mail.google.com/mail/#settings/labels

Otherwise, I'm fresh out of ideas! Sorry...

>> And if you open the message and hit "t" (to toggle displaying all
>> headers), what does the X-GM-LABELS header look like in the article
>> buffer?
>>
> It didn't see this header...

Oh I see, it's not an actual header, just something you can request from
Gmail.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Bob Newell

While both work fine, I just find msmtp easier to set up and monitor
when using multiple outgoing servers. The .msmtp.log file has proven
useful many times, and .msmtprc is easy to configure.

Of course, it's one more piece of software on your system, but it's a
good piece.

Choose smtpmail if you don't want to bother with msmtp or if you are a
purist and want to do as much as possible within emacs. Choose msmtp if
you want something fast, convenient, and easy to use with good logging.

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Fraga, Eric
On Thursday,  1 Aug 2019 at 16:41, Saša Janiška wrote:
> Can someone more experienced tell me what do you suggest for sendming
> mail from Gnus: smtpmail or msmtp?

I've been using msmtp on Linux for years.  Works well in my experience.

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.2.4 on Debian 10.0
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: smtpmail vs msmtp

2019-08-01 Thread Štěpán Němec
On Thu, 01 Aug 2019 16:41:00 +0200
Saša Janiška wrote:

> Hello!
>
> Can someone more experienced tell me what do you suggest for sendming
> mail from Gnus: smtpmail or msmtp?

By smtpmail you mean smtpmail.el? Can't help you there.

I've been using msmtp (with Gnus and other clients) for years and to
complete satisfaction. I wanted something reliable that works with
everything, not only Emacs.

  HTH,

  Štěpán

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


smtpmail vs msmtp

2019-08-01 Thread Saša Janiška
Hello!

Can someone more experienced tell me what do you suggest for sendming
mail from Gnus: smtpmail or msmtp?

The former seems as natural choice, but few times I did experience that
the message sent from Gnus (when using smtpmail) did not go through and
for such (rare) cases I'm considering that (maybe) msmtp with its
logging capability is possibly a better/safer option?

Any possibility to log messages sent via smtpmail?

Any other hint?


Sincerely,
Gour

-- 
One who is not disturbed in mind even amidst the threefold
miseries or elated when there is happiness, and who is free
from attachment, fear and anger, is called a sage of steady mind.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: splitting Gmail account just copy not move :-(

2019-08-01 Thread physiculus
Eric Abrahamsen  writes:

>
> Is that the only label it shows? What else is in the assoc list?
It depends on the folder in Gmail.
Sometimes it shows ((X-GM-LABELS . "(\\Important \\Inbox)")) or ((X-GM-LABELS . 
"(\\Inbox \\Sent \\Starred)"))
>
> And if you open the message and hit "t" (to toggle displaying all
> headers), what does the X-GM-LABELS header look like in the article
> buffer?
>
It didn't see this header...

>> Message buffer show ((X-GM-LABELS . "(\\Important)")) Specified image
>> bit depth is not supported by XRender
>> Specified image bit depth is not supported by XRender"
>>
>> What does it mean?
>
> I have no idea :) Could there be an image in the message headers? Like a
> gravatar or something? I really have no clue there.
>
This error comes up only one time.
I checked again with another mail and this mail seems to be ok.

Regards
Poul

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english