Re: Gnus Multiple Roles

2015-12-12 Thread Rasmus
Eric Abrahamsen  writes:

> bvrag...@iitk.ac.in (B.V. Raghav) writes:
>
>> Hi,
>>
>> I have been successfully using alpine for a long time now. While
>> switching to gnus, I feel that the functionality of alpine that I find
>> missing are:
>>
>> 1. Multiple Roles. The capability to send from any smtp server I
>> prefer, not necessarily automated.
>>
>> I found this excellent library --- smtpmail-multi [
>> https://github.com/vapniks/smtpmail-multi ]. However, the problem is,
>> that I was not able to automate the reply's with original message
>> having a specific header.
>>
>> The setting was:
>> (setq smtpmail-multi-associations
>>   '((("To" . "help-gnu-emacs.*") bvraghav\.com)
>>  ))
>>
>> Further I could not find a ready way to choose a specific smtp server
>> setting.
>>
>> Is there a way with the library, or a simple(r) recipe, that I can
>> adapt to my needs, in order to fulfil the requirements.
>
> Have you looked at this:
> http://www.emacswiki.org/emacs/MultipleSMTPAccounts
>
> You can use posting styles to set a X-SMTP-Server header in your
> outgoing message, and then there's a code snippet there for using the
> right server depending on the value of the header.

Wouldn't X-Message-SMTP-Method be easier?

Rasmus

-- 
Hvor meget poesi tror De kommer ud af et glas isvand?


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


Re: Gnus Multiple Roles

2015-12-12 Thread Eric Abrahamsen
Rasmus  writes:

> Eric Abrahamsen  writes:
>
>> bvrag...@iitk.ac.in (B.V. Raghav) writes:
>>
>>> Hi,
>>>
>>> I have been successfully using alpine for a long time now. While
>>> switching to gnus, I feel that the functionality of alpine that I find
>>> missing are:
>>>
>>> 1. Multiple Roles. The capability to send from any smtp server I
>>> prefer, not necessarily automated.
>>>
>>> I found this excellent library --- smtpmail-multi [
>>> https://github.com/vapniks/smtpmail-multi ]. However, the problem is,
>>> that I was not able to automate the reply's with original message
>>> having a specific header.
>>>
>>> The setting was:
>>> (setq smtpmail-multi-associations
>>>   '((("To" . "help-gnu-emacs.*") bvraghav\.com)
>>> ))
>>>
>>> Further I could not find a ready way to choose a specific smtp server
>>> setting.
>>>
>>> Is there a way with the library, or a simple(r) recipe, that I can
>>> adapt to my needs, in order to fulfil the requirements.
>>
>> Have you looked at this:
>> http://www.emacswiki.org/emacs/MultipleSMTPAccounts
>>
>> You can use posting styles to set a X-SMTP-Server header in your
>> outgoing message, and then there's a code snippet there for using the
>> right server depending on the value of the header.
>
> Wouldn't X-Message-SMTP-Method be easier?

To be honest, I don't really understand the difference. I use msmtp, so
the header stuff is unfamiliar to me. What's the difference in how they
work?


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


Re: Gnus Multiple Roles

2015-12-12 Thread Rasmus
Eric Abrahamsen  writes:

> Rasmus  writes:
>
>> Eric Abrahamsen  writes:
>>
>>> bvrag...@iitk.ac.in (B.V. Raghav) writes:
>>>
 Hi,

 I have been successfully using alpine for a long time now. While
 switching to gnus, I feel that the functionality of alpine that I find
 missing are:

 1. Multiple Roles. The capability to send from any smtp server I
 prefer, not necessarily automated.

 I found this excellent library --- smtpmail-multi [
 https://github.com/vapniks/smtpmail-multi ]. However, the problem is,
 that I was not able to automate the reply's with original message
 having a specific header.

 The setting was:
 (setq smtpmail-multi-associations
   '((("To" . "help-gnu-emacs.*") bvraghav\.com)
))

 Further I could not find a ready way to choose a specific smtp server
 setting.

 Is there a way with the library, or a simple(r) recipe, that I can
 adapt to my needs, in order to fulfil the requirements.
>>>
>>> Have you looked at this:
>>> http://www.emacswiki.org/emacs/MultipleSMTPAccounts
>>>
>>> You can use posting styles to set a X-SMTP-Server header in your
>>> outgoing message, and then there's a code snippet there for using the
>>> right server depending on the value of the header.
>>
>> Wouldn't X-Message-SMTP-Method be easier?
>
> To be honest, I don't really understand the difference. I use msmtp, so
> the header stuff is unfamiliar to me. What's the difference in how they
> work?

X-Message-SMTP-Method is support "out of the box" and can be used to
configure SMTP pretty effortlessly.  I haven't tried Gnus with external
SMTP programs for eons, so I cannot speak towards msmtp.

Rasmus

-- 
Evidence suggests Snowden used a powerful tool called monospaced fonts


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


Re: Gnus Multiple Roles

2015-12-12 Thread Eric Abrahamsen
Rasmus  writes:

> Eric Abrahamsen  writes:
>
>> Rasmus  writes:
>>
>>> Eric Abrahamsen  writes:
>>>
 bvrag...@iitk.ac.in (B.V. Raghav) writes:

> Hi,
>
> I have been successfully using alpine for a long time now. While
> switching to gnus, I feel that the functionality of alpine that I find
> missing are:
>
> 1. Multiple Roles. The capability to send from any smtp server I
> prefer, not necessarily automated.
>
> I found this excellent library --- smtpmail-multi [
> https://github.com/vapniks/smtpmail-multi ]. However, the problem is,
> that I was not able to automate the reply's with original message
> having a specific header.
>
> The setting was:
> (setq smtpmail-multi-associations
>   '((("To" . "help-gnu-emacs.*") bvraghav\.com)
>   ))
>
> Further I could not find a ready way to choose a specific smtp server
> setting.
>
> Is there a way with the library, or a simple(r) recipe, that I can
> adapt to my needs, in order to fulfil the requirements.

 Have you looked at this:
 http://www.emacswiki.org/emacs/MultipleSMTPAccounts

 You can use posting styles to set a X-SMTP-Server header in your
 outgoing message, and then there's a code snippet there for using the
 right server depending on the value of the header.
>>>
>>> Wouldn't X-Message-SMTP-Method be easier?
>>
>> To be honest, I don't really understand the difference. I use msmtp, so
>> the header stuff is unfamiliar to me. What's the difference in how they
>> work?
>
> X-Message-SMTP-Method is support "out of the box" and can be used to
> configure SMTP pretty effortlessly.  I haven't tried Gnus with external
> SMTP programs for eons, so I cannot speak towards msmtp.

Ah, interesting. Maybe it's time to let Gnus talk directly to the server
(though the msmtp hack also on that wiki page still works just fine).

That would mean relying entirely on posting styles, though, which is a
bit of pain because I really like being able to just hit "m" in the
*Group* buffer. It's never quite felt right to me that I still have to
compose messages "from" a group, with "C-u a". Anyway, not a great big
deal, either way.


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