#------------------------------------------------------------------------------ # This is a sample .mailrc file, useful for getting SMTP clients to # communicate with email conifgured mail servers, e.g. cloud-hosted mail # servers. This can be installed as ~perforce/.mailrc, and optionally # pointed to via a symlink from ~root/.mailrc. set smtp-use-starttls set ssl-verify=ignore # This value works for CentOS6 and CentOS7. set nss-config-dir=/etc/pki/nssdb # This sample SMTP server is for Office365. Using smtp.gmail.com:587 works for # gmail servers. set smtp=smtp://smtp.office365.com:587 set smtp-auth=login # Note that the smtp-auth-user might be of the form 'user@domain' (e.g. # p4admin@mycompany.com), or just 'user'. With AWS, it is just a username w/o # the domain component, though the username with AWS looks like a UUID rather # than a typical username 'p4admin'. set smtp-auth-user=EDITME_USER[@EDITME_DOMAIN] set smtp-auth-password=EDITME_PASSWORD # Set the 'from' address, e.g.: from="p4admin@mycompany.com(Perforce Admin)" set from="EDITME_FROM_EMAIL(EDITME_NICE_NAME)"
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 28481 | C. Thomas Tyler | Corrected a typo EDTME -> EDITME in sample_mailrc. | ||
#1 | 21328 | C. Thomas Tyler |
Added a sample ~perforce/.mailrc file, which can save some Googling when doing SDP on a ground-up cloud installation, e.g. on AWS o Azure, perhaps talking to a Office365 or Gmail server. |