info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose/set from address & gcc-sent_mail


From: Benjamin Slade
Subject: Re: choose/set from address & gcc-sent_mail
Date: Sun, 27 Dec 2015 22:31:53 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Benjamin Slade <slade@jnanam.net> writes:
>
>> Is there any way to have Gnus automatically prompt for an account in
>> case none is set, when composing a new mail or replying to an email?
>>
>> I have set:
>>
>> (setq gnus-parameters
>>       '(
>>         ("home"
>>          (posting-style
>>           (address "me@gmail.com")
>>           (gcc "\"nnimap+home:[Gmail].Sent Mail\"")))
>>         ("work"
>>          (posting-style
>>           (address "me@work.com")
>>           (gcc "\"nnimap+work:[Gmail].Sent Mail\"")))
>> ))
>>
>> Which means that if I reply to an email or compose a new email when I'm
>> in nnimap+home:.* or nnimap+work:.* it automatically picks the right
>> from address and puts a copy of the sent mail in the right place.
>>
>> But if I'm in a virtual group or in no group at all, then no Gcc is set,
>> and From is set to
>> "....i-did-not-set--mail-host-address--so-tickle-me". What I would like
>> to do is, in the absence of the account already being properly set, as
>> per the above rules, to prompt me to chose between, say, "home" and
>> "work".
>
> You can stop Gnus tickling you by setting the `user-mail-address' to a
> default "from" value. That will at least prevent you from getting those
> bogus values.
>
> But that won't run the appropriate gnus-parameters, or set any other
> headers up.
>
> There have been a few discussions about this on this and other lists
> recently. Apparently there are a couple of external packages you can
> try: Gnus Pers, and Gnus Alias:
>
> http://www.emacswiki.org/emacs/GnusPers
> http://www.emacswiki.org/emacs/GnusAlias
>
> I haven't tried them, but they are definitely there to solve this sort
> of problem...
>

Thanks. I'll try those out.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]