-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
680fdd7
commit 241e707
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
port=9093 | ||
bind=127.0.0.1 | ||
defaultquota=500 | ||
dbuser=polka | ||
dbpass=verysecretpassword | ||
dbhost=127.0.0.1 | ||
dbport=3306 | ||
dbname=policy | ||
badmailfrom_table=badmailfrom | ||
badmailto_table=badmailto | ||
policy_table=relay_policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
CREATE TABLE `badmailfrom` ( | ||
`sender` char(80) NOT NULL, | ||
PRIMARY KEY (`sender`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
CREATE TABLE `badmailto` ( | ||
`rcpt` char(80) NOT NULL, | ||
PRIMARY KEY (`rcpt`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
CREATE TABLE `relay_policy` ( | ||
`type` char(1) NOT NULL DEFAULT '', | ||
`item` char(80) NOT NULL DEFAULT '', | ||
`max` int(5) DEFAULT NULL, | ||
`quota` float DEFAULT NULL, | ||
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`type`,`item`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
|