mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
for fuzzing the imapserver and smtpserver use different config files than regular tests
otherwise they cannot be running at the same time, they could overwrite each other's files.
This commit is contained in:
15
testdata/imapserverfuzz/domains.conf
vendored
Normal file
15
testdata/imapserverfuzz/domains.conf
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Domains:
|
||||
mox.example:
|
||||
LocalpartCaseSensitive: false
|
||||
Accounts:
|
||||
mjl:
|
||||
Domain: mox.example
|
||||
Destinations:
|
||||
mjl@mox.example: nil
|
||||
JunkFilter:
|
||||
Threshold: 0.95
|
||||
Params:
|
||||
Twograms: true
|
||||
MaxPower: 0.1
|
||||
TopWords: 10
|
||||
IgnoreWords: 0.1
|
15
testdata/imapserverfuzz/mox.conf
vendored
Normal file
15
testdata/imapserverfuzz/mox.conf
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
DataDir: data
|
||||
User: 1000
|
||||
LogLevel: trace
|
||||
Hostname: mox.example
|
||||
Listeners:
|
||||
local:
|
||||
IPs:
|
||||
- 0.0.0.0
|
||||
IMAP:
|
||||
Enabled: true
|
||||
Port: 1143
|
||||
NoRequireSTARTTLS: true
|
||||
Postmaster:
|
||||
Account: mjl
|
||||
Mailbox: postmaster
|
17
testdata/smtpserverfuzz/domains.conf
vendored
Normal file
17
testdata/smtpserverfuzz/domains.conf
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
Domains:
|
||||
mox.example: nil
|
||||
mox2.example: nil
|
||||
Accounts:
|
||||
mjl:
|
||||
Domain: mox.example
|
||||
Destinations:
|
||||
mjl@mox.example: nil
|
||||
mjl@mox2.example: nil
|
||||
JunkFilter:
|
||||
Threshold: 0.9
|
||||
Params:
|
||||
Onegrams: true
|
||||
MaxPower: 0.01
|
||||
TopWords: 10
|
||||
IgnoreWords: 0.1
|
||||
RareWords: 2
|
9
testdata/smtpserverfuzz/mox.conf
vendored
Normal file
9
testdata/smtpserverfuzz/mox.conf
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
DataDir: data
|
||||
User: 1000
|
||||
LogLevel: trace
|
||||
Hostname: mox.example
|
||||
Postmaster:
|
||||
Account: mjl
|
||||
Mailbox: postmaster
|
||||
Listeners:
|
||||
local: nil
|
Reference in New Issue
Block a user