[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More than one user-mail-address
From: |
Alexander Baier |
Subject: |
Re: More than one user-mail-address |
Date: |
Sat, 10 May 2014 18:46:46 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
On 2014-05-10 16:08 Teemu Likonen wrote:
> 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))
Thank you for regexp-opt! That was something I was looking for while
constructing a regexp for `gnus-ignored-from-addresses'.
Regards,
--
Alexander Baier