-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.msmtprc
39 lines (32 loc) · 1.06 KB
/
.msmtprc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-FileCopyrightText: © 2019 Clifford Weinmann <https://www.cliffordweinmann.com/>
#
# SPDX-License-Identifier: MIT-0
# Example for a user configuration file ~/.msmtprc
# With modern mail services that publish autoconfiguration information,
# you can simply run 'msmtp --configure yourmail@example.com' to get
# a basic working configuration.
# This example focusses on TLS and authentication. Features not used here
# include logging, timeouts, SOCKS proxies, TLS parameters, Delivery Status
# Notification (DSN) settings, and more.
# Set default values: use the mail submission port 2525, and don't use TLS.
defaults
port 2525
tls off
tls_starttls off
# Define a mail account at a freemail service
account freemail
# Host name of the SMTP server
host 127.0.0.1
# Envelope-from address
from joe_smith@freemail.example
# Authentication
auth off
# Some other mail service
account company
host mail.company.example
from smithjoe@company.example
auth on
user company12345
# this assumes the password is stored in the keyring
# Set a default account
account default : freemail