[Alpine-info] sending mails with alpine

Lucio Chiappetti lucio at lambrate.inaf.it
Thu Oct 13 11:26:40 PDT 2022


On Wed, 12 Oct 2022, Pierre Frenkiel wrote:


> BTW: how to use "gmail own servers" ?


My default configuration does not use them, but uses the old institute
SMTP server and my From is my old institute.inaf.it, which comes back via
Gsuite. If I want I can also send as "user at inaf.it" (which is managed nby
Gsuite) simply editing the From line. USUALLY this gives me no problem as
we are authorized by our Gsuite contract to use all our old and new
official domains.

However *occasionally* some external users may flag such mail as spam, or
I may have reasons of my own to use "gmail own servers" (Gsuite is the
paid version), e.g. oif pur SMTP is down for maintenance.

To do that I have created a ROLE (M S R R) called Gsuite, and I send using
such role. The key lines of the role are (for me)


>From pattern = lucio.chiappetti at inaf.it

Use SMTP Server = smtp.gmail.com/submit/user=lucio.chiappetti at inaf.it

You should replace my institutional address with your gmail address, and
you are done. Ypou can switch roles whenever you want.






More information about the Alpine-info mailing list