-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-ID: <[email protected]>


On Saturday, 2023-01-14 at 14:40 -0500, D.J.J. Ring, Jr. wrote:
Carlos,

Thank you for this.  I have no idea how alpine can be used for different email 
accounts and how different passwords can be
saved.

Can you direct me to information that shows how this can be done?  It would be 
very useful.  Some of the blind users have gone
to gmx.com but their support of application specific passwords is intermittent, 
I guess this is because they require a payment
to have it work while gmail application  specific password access is provided 
without cost.

How can I use alpine with different accounts?

Thanks for your help.
David


I use the free gmx service. Their support is quite dumb, though. I only have one password with gmx.es



I don't have documentation on how to do it in Alpine. I just implemented it over the years.

The basic trick is: use "roles".

For sending, I have configured the system "postfix" to handle sending for
several accounts.  This is not trivial, but you need this:

# List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
smtp-server=localhost


Other people do that differently, and hopefully, easier.


Let me check my alpine config file, for receiving and compossing.

[email protected],
        [email protected],
        [email protected],
        [email protected]

incoming-folders="imap Tesa L" {imap.telefonica.net/tls/user=NAME}INBOX,
        "imap Ggl L" {imap.gmail.com/ssl/[email protected]}INBOX,
        "imap Gmx L"  {imap.gmx.com/tls/[email protected]}INBOX


patterns-roles=...

        LIT:pattern="/NICK=Carlos E. R. (tesa - 
listas)/FLDTYPE=SPEC/FOLDER={localhost}_Lists\/in_rst_3,{localhost}_Lists\/in_rst_3,{localhost}_Lists\/in__hls,{localhost}_Lists\/in_rst_000,{localhost}_Lists\/os-es,{localhost}_Lists\/os-es,{localhost}_Lists\/in_dups,{localhost}_Lists\/t_kde-es,{localhost}_Lists\/os-trans-es"
 action="/ROLE=1/FROM=\"Carlos E. R.\" 
<[email protected]>/FCC=\/home\/cer\/Mail\/_Lists\/list-sent/SIG=.signature.spanish.lists/TEMPLATE=/RTYPE=YES/FTYPE=YES/CTYPE=NO",

        LIT:pattern="/NICK=Carlos E. R. (GMX - lists)/FLDTYPE=EMAIL" action="/INICK=Carlos E. R. 
(tesa - lists)/ROLE=1/FROM=\"Carlos E. R.\" 
<[email protected]>/FCC=\/home\/cer\/Mail\/_Lists\/list-sent-gx/RTYPE=YES/FTYPE=YES/CTYPE=YES",

        LIT:pattern="/NICK=Carlos E. R. (gmail - 
listas)/FLDTYPE=SPEC/FOLDER={localhost}_Lists\/in_dups,{localhost}_Lists\/y_gml_os-es" 
action="/ROLE=1/FROM=\"Carlos E. R.\" 
<[email protected]>/FCC=\/home\/cer\/Mail\/_Lists\/list-sent-g/SIG=.signature.spanish.lists/RTYPE=YES/FTYPE=YES/CTYPE=NO",

The above is difficult or impossible to parse for a human. Instead, you set "roles" in setup / rules / roles:

(R) Rules:
    This has up to six sub-categories: Roles, Index Colors, Filters,
    SetScores, Search, and Other. If the Index Colors option is
    missing you may turn it on (if possible) with Setup/Kolor.
    If Roles is missing it has probably been administratively disabled.



You get a long display page. I copy mine for gmx here, enclosed between lines 
like this:

+++························
text
  goes
    in
     the
       middle.
························++-



+++························
  ALPINE 2.26   CHANGE THIS ROLE RULE [H]                                             
                                <Incoming-Folders> imap Tesa L                  
                                                           5,485 Msgs +

Nickname = Carlos E. R. (GMX - lists) Comment = <No Value Set>

============================================== CURRENT FOLDER CONDITIONS BEGIN 
HERE ==============================================

Current Folder Type =
            Set    Choose One
            ---  --------------------
            ( )  Any
            ( )  News
            (*)  Email
            ( )  Specific (Enter Incoming Nicknames or use ^T)
                 Folder List = <No Value Set>

============================================= CURRENT MESSAGE CONDITIONS BEGIN 
HERE ==============================================

To pattern = <No Value Set> - From pattern = <No Value Set> Sender pattern = <No Value Set> Cc pattern = <No Value Set> News pattern = <No Value Set> Subject pattern = <No Value Set> Recip pattern = <No Value Set> Partic pattern = <No Value Set> Add Extra Headers AllText pattern = <No Value Set> BdyText pattern = <No Value Set> Age interval = <No Value Set> Size interval = <No Value Set> Score interval = <No Value Set> Keyword pattern = <No Value Set> Charset pattern = <No Value Set>

Message is Important? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is New (Unseen)? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is Recent? =
            Set    Choose One

            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is Deleted? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is Answered? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Subject contains raw 8-bit? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Beginning of Month? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Beginning of Year? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Address in address book? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes, in any address book
            ( )  No, not in any address book
            ( )  Yes, in specific address books
            ( )  No, not in any of specific address books
                 Abook List = <No Value Set>

    Types of addresses to check for in address book =
            Set   Address types
            ---  --------------------
            [X]  From
            [X]  Reply-To
            [ ]  Sender
            [ ]  To
            [ ]  Cc

External Categorizer Commands =
    Command              = <No Value Set>
    Exit Status Interval = <No Value Set>
    Character Limit      = <No Value Set: using "-1">

======================================================= ACTIONS BEGIN HERE 
=======================================================

Initialize settings using role : Carlos E. R. (tesa - lists) Set From = "Carlos E. R." <[email protected]> Set Reply-To = <No Value Set> Set Fcc = /home/cer/Mail/_Lists/list-sent-gx Set LiteralSig = <No Value Set> Set Signature = <No Value Set: using ".signature.english.lists"> Set Template = <No Value Set: using ".pinetemplate.english"> Set Other Hdrs = <No Value Set> Use SMTP Server = <No Value Set> Use NNTP Server = <No Value Set>

======================================================= OPTIONS BEGIN HERE 
=======================================================

Features             =
            Set    Feature Name
            ---  --------------------
            [ ]  use-date-header-for-age

======================================================== USES BEGIN HERE 
=========================================================

Reply Use =
            Set    Choose One
            ---  --------------------
            ( )  Never
            (*)  With confirmation
            ( )  Without confirmation

Forward Use =
            Set    Choose One
            ---  --------------------
            ( )  Never
            (*)  With confirmation
            ( )  Without confirmation


Compose Use =
            Set    Choose One
            ---  --------------------
            ( )  Never
            (*)  With confirmation
            ( )  Without confirmation
························++-




I hope that helps you.





- -- Cheers,
       Carlos E. R.
       (from openSUSE 15.4 x86_64 at Telcontar)
-----BEGIN PGP SIGNATURE-----

iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY8MMwxwccm9iaW4ubGlz
dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV0swAnRmxyLW1FIlx5unnyXia
kCvTm8ZhAKCDWTQYqsgaZRepJkl0VpjoM8ATVQ==
=3YMS
-----END PGP SIGNATURE-----
_______________________________________________
Alpine-info mailing list
[email protected]
http://mailman12.u.washington.edu/mailman/listinfo/alpine-info

Reply via email to