forked from grafana/smtprelay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smtprelay.ini
97 lines (73 loc) · 2.7 KB
/
smtprelay.ini
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
; smtprelay configuration
; Logfile
;logfile = /dev/stdout
; Minimum log level to write to Logfile
;log_level = "debug"
; Hostname for this SMTP server
;hostname = "localhost.localdomain"
; Welcome message for clients
;welcome_msg = "<hostname> ESMTP ready."
; Listen on the following addresses for incoming
; unencrypted connections.
;listen = 127.0.0.1:25 [::1]:25
; STARTTLS and TLS are also supported but need a
; SSL certificate and key.
;listen = tls://127.0.0.1:465 tls://[::1]:465
;listen = starttls://127.0.0.1:587 starttls://[::1]:587
;local_cert = smtpd.pem
;local_key = smtpd.key
; Listen on the following address for Prometheus
; metrics exposition
;metrics_listen = :8080
; Enforce encrypted connection on STARTTLS ports before
; accepting mails from client.
;local_forcetls = false
; Networks that are allowed to send mails to us
; Defaults to localhost. If set to "", then any address is allowed.
;allowed_nets = 127.0.0.0/8 ::1/128
; Regular expression for valid FROM EMail addresses
; Example: ^(.*)@localhost.localdomain$
;allowed_sender =
; Regular expression for valid TO EMail addresses
; Example: ^(.*)@localhost.localdomain$
;allowed_recipients =
; File which contains username and password used for
; authentication before they can send mail.
; File format: username bcrypt-hash [email[,email[,...]]]
; username: The SMTP auth username
; bcrypt-hash: The bcrypt hash of the pasword (generate with "./hasher password")
; email: Comma-separated list of allowed "from" addresses:
; - Ignored if allowed_sender is not set
; - If omitted, user can send from any address
; - If @domain.com is given, user can send from any address @domain.com
; - Otherwise, email address must match exactly (case-insensitive)
; E.g. "[email protected],@appsrv.example.com"
;allowed_users =
; Relay all mails to this SMTP server
; GMail
;remote_host = smtp.gmail.com:587
; Mailgun.org
;remote_host = smtp.mailgun.org:587
; Mailjet.com
;remote_host = in-v3.mailjet.com:587
; Authentication credentials on outgoing SMTP server
;remote_user =
;remote_pass =
; Authentication method on outgoing SMTP server
; (plain, login)
;remote_auth = plain
; Sender e-mail address on outgoing SMTP server
;remote_sender =
; Max message size in bytes
;max_message_size = 51200000
; Max number of concurrent connections, use -1 to disable
;max_connections = 100
; Max number of recipients per email
;max_recipients = 100
; Socket timeouts for read, write, or DATA commands
;read_timeout = 60s
;write_timeout = 60s
;data_timeout = 5m
; Log extracted mail headers (key=value pairs, where key is the log field, and
; value is the header name)
;log_header = subject=Subject msg_id=Message-Id ua=User-Agent