forked from zakx/tempmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py-dist
34 lines (27 loc) · 1.09 KB
/
settings.py-dist
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
# Configuration
DEBUG = False
## General configuration
# Your contact data for the front page, if you want. HTML.
ABOUT = """Welcome! This <a href="https://github.com/zakx/tempmail">tempmail</a>
installation is brought to you by:<br />
<em>Your Name</em>, <a href="http://example.com/">Example Corp</a>.<br />
You can contact me via <a href="mailto:admin@example.com">mail</a>.
"""
## Database configuration
# SQLObject supports various databases, see
# http://www.sqlobject.org/SQLObject.html#declaring-a-connection
# for more details.
# Please do not use sqlite in production, it'll be slow after some time.
# DB_URI = "postgres://user:password@host/database"
# DB_URI = "mysql://user:password@host/database"
DB_URI = "sqlite:/full/path/test.db"
## SMTP Server Configuration
# Hosts to accept for mail
MY_DOMAINS = ["myspamhost.example.com",]
# Mail addresses to not accept mail from
BLACKLIST_ADDRESSES = ["spam@example.com",]
# Mail hostname parts to not accept mail from
BLACKLIST_HOSTS = ["example.com",]
# SMTPd configuration -- no need to change.
SMTPD_HOST = "127.0.0.1" # IP to bind to
SMTPD_PORT = 2500