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

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

Re: More than one user-mail-address


From: Teemu Likonen
Subject: Re: More than one user-mail-address
Date: Sat, 10 May 2014 17:08:02 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux)

Alexander Baier [2014-05-10 13:27:59 +02:00] wrote:

> Mails with a From: header matching user-mail-address are shown
> differently in the summary view:

> Is there a way to configure multiple addresses?

Yes. There are a couple of variables for that. I use a code piece like
the one below to set the variables.


    (let ((addr '("primary.address@somewhere.invalid"
                  "another.address@isp.invalid"
                  "yet.another@address.invalid")))

      (setq-default
       user-mail-address (car addr)
       message-alternative-emails (regexp-opt (cdr addr) 'words)
       message-dont-reply-to-names (regexp-opt addr 'words)
       gnus-ignored-from-addresses message-dont-reply-to-names))

Attachment: signature.asc
Description: PGP signature


reply via email to

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