Discussion:
Addressbook functions using only domain name
(too old to reply)
d...@brannerchinese.com
2021-12-18 10:43:21 UTC
Permalink
Saving messages to different folders based on the sender's email address is convenient. But recently some corporation have begun varying the login portion of the address with each message. For instance:

***@emailff.att-mail.com

In such cases, "save" can't recognize the whole address and the use has to intervene manually.

Is there a way to have "save" recognize only the domain (or a portion of the domain) for selected addresses, so that the user doesn't have to intervene?

Thanks!

- dpb
J.O. Aho
2021-12-18 11:29:26 UTC
Permalink
Post by ***@brannerchinese.com
In such cases, "save" can't recognize the whole address and the use has to intervene manually.
Is there a way to have "save" recognize only the domain (or a portion of the domain) for selected addresses, so that the user doesn't have to intervene?
I tend to use sieve to filter my mail
already at the mail server, it lets you filter on regex.

As sieve is run on the mail server, it makes things to be sorted
automatically without any assistance from your mail client. So I would
check if your mail provider supports sieve and if they do, use it.
--
//Aho
d...@brannerchinese.com
2021-12-18 12:22:05 UTC
Permalink
I'm afraid none of my various providers appear to support sieve. I'm on my own, with Linux and Alpine, when it comes to most of the email functionality I want. But thank you for the suggestion. - dpb
Eduardo Chappa
2021-12-18 17:24:18 UTC
Permalink
Post by ***@brannerchinese.com
Saving messages to different folders based on the sender's email address
is convenient. But recently some corporation have begun varying the
In such cases, "save" can't recognize the whole address and the use has
to intervene manually.
Is there a way to have "save" recognize only the domain (or a portion of
the domain) for selected addresses, so that the user doesn't have to
intervene?
Dear dpb,

There is a patch for Alpine that you can use to accomplish this goal. You
can get the patch from

https://alpine.x10host.com/alpine/info/rules.html

and after you have compiled alpine, press M S C and unders the new
configuration option "Save Rules" write something like this

Save Rule = _ADDRESS_ >> {@emailff.att-mail.com} -> folder_name

and that will make Alpine offer the "folder_name" folder to save the
message. Other messages will use other folders if they do not match this
pattern.

I hope this helps.
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Loading...