primary key in resenders is (host,helo) not just host
This commit is contained in:
parent
7cda7219ff
commit
ba91edb8b0
|
@ -19,10 +19,10 @@ GREYDB=/var/spool/exim/db/greylist.db
|
||||||
# database table for these 'known resenders' looks like this:
|
# database table for these 'known resenders' looks like this:
|
||||||
#
|
#
|
||||||
# CREATE TABLE resenders (
|
# CREATE TABLE resenders (
|
||||||
# host TEXT PRIMARY KEY,
|
# host TEXT,
|
||||||
# helo TEXT,
|
# helo TEXT,
|
||||||
# time INTEGER
|
# time INTEGER,
|
||||||
# );
|
# PRIMARY KEY (host, helo) );
|
||||||
#
|
#
|
||||||
# To remember mail we've rejected, we create an 'identity' from its sender
|
# To remember mail we've rejected, we create an 'identity' from its sender
|
||||||
# and recipient addresses and its Message-ID: header. We don't include the
|
# and recipient addresses and its Message-ID: header. We don't include the
|
||||||
|
@ -37,11 +37,10 @@ GREYDB=/var/spool/exim/db/greylist.db
|
||||||
# looks like this:
|
# looks like this:
|
||||||
#
|
#
|
||||||
# CREATE TABLE greylist (
|
# CREATE TABLE greylist (
|
||||||
# id TEXT PRIMARY KEY,
|
# id TEXT,
|
||||||
# expire INTEGER,
|
# expire INTEGER,
|
||||||
# host TEXT,
|
# host TEXT,
|
||||||
# helo TEXT
|
# helo TEXT);
|
||||||
# );
|
|
||||||
#
|
#
|
||||||
|
|
||||||
greylist_mail:
|
greylist_mail:
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
CREATE TABLE resenders (
|
CREATE TABLE resenders (
|
||||||
host TEXT PRIMARY KEY,
|
host TEXT,
|
||||||
helo TEXT,
|
helo TEXT,
|
||||||
time INTEGER
|
time INTEGER
|
||||||
|
PRIMARY KEY (host, helo)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE greylist (
|
CREATE TABLE greylist (
|
||||||
|
|
Loading…
Reference in New Issue