-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.mailrc-for-s-nail
More file actions
76 lines (56 loc) · 2.85 KB
/
Copy path.mailrc-for-s-nail
File metadata and controls
76 lines (56 loc) · 2.85 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This configuration file is for mailing tool S-nail.
set v15-compat
# The following account configuration is used by script background.sh .
#
# PASSWORD SECURITY WARNING:
# The account definition below contains a password in plain text.
# Make sure with chmod that the file permissions are set to 0600 (-rw-------).
account automatic-email-notification {
# ---- You probably will not need to change this first block of options.
# The following options should be used only for this account.
localopts yes
# What to do if transport security checks fail.
# If you are using an internal mail server without valid security certificates,
# you may need to set this option to 'warn' or 'ignore'.
set tls-verify=strict
# Essential setting: Select allowed character sets.
set sendcharsets=utf-8
# When sending messages, wait until the Mail-Transfer-Agent finishes.
set sendwait
# When sending attachments, only use builtin MIME types, no mime.types(5) files.
# That set is often sufficient, but look at the output of the
# 'mimetype' command to ensure this is true for you, too.
set mimetypes-load-control
# Do not save aborted messages in ~/dead.letter .
# I am not certain whether this option is really needed when sending e-mails programmatically.
# I have never seen a ~/dead.letter file on my system yet.
set nosave
# Do not keep a copy of any outgoing messages.
# However, this variable does not seem to exist in my s-nail version v14.8.6 .
# set norecord
# We do not need any weird address expansion.
# However, this variable does not seem to exist in my s-nail version v14.8.6 .
# set noexpandaddr
# Prevent leaking our hostname. Thunderbird 60.4.0 uses the local IP address, which is also
# leaking some information about the internal network.
set hostname=MyComputer
# ---- You need to adjust the following options.
set mta=smtp://smtp.example.com smtp-use-starttls
# Another example:
# set mta=smtps://smtp.example.com:465
# set smtp-auth=login
#
# It may be necessary to set variables 'hostname' and/or 'smtp-hostname'
# if the "smtp.example.com" hostname in variable 'mta' does not match the "example.net" part of the
# sender e-mail address in the 'from' variable.
#
# On some e-mail providers, you may need to declare this automatic mailing tool as a "less secure app".
# By having separate variables for user and password, you do not need to use a tool like 'urlencode'
# in order to escape any 'special' characters before placing them in the 'mta' variable above.
set user=SMTP-USER-NAME
set password=SMTP-USER-PASSWORD
set from="Sender Name <sender-email-addr@example.net>"
# If all commands use the following alias,
# you can change the recipient address conveniently at this central location.
alias automatic-email-notification-recipient-addr recipient-email-addr@example.org
}