You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
4 years ago
|
CREATE TABLE IF NOT EXISTS postfix_alias (
|
||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
alias TEXT NOT NULL UNIQUE,
|
||
|
destination TEXT NOT NULL,
|
||
|
active INTEGER
|
||
|
);
|
||
4 years ago
|
CREATE TABLE IF NOT EXISTS postfix_alias_virtuels (
|
||
4 years ago
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
3 years ago
|
courriel TEXT NOT NULL UNIQUE,
|
||
4 years ago
|
destination TEXT NOT NULL,
|
||
|
active INTEGER
|
||
|
);
|
||
|
CREATE TABLE IF NOT EXISTS postfix_domaines (
|
||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
domaine TEXT NOT NULL UNIQUE,
|
||
3 years ago
|
defaut BOOLEAN NOT NULL CHECK (defaut IN (0, 1)),
|
||
4 years ago
|
active INTEGER
|
||
|
);
|
||
|
CREATE TABLE IF NOT EXISTS postfix_liste_noire_destinataires (
|
||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
courriel TEXT NOT NULL UNIQUE,
|
||
|
action TEXT NOT NULL,
|
||
|
active INTEGER
|
||
|
);
|
||
|
CREATE TABLE IF NOT EXISTS postfix_liste_noire_expediteurs (
|
||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
courriel TEXT NOT NULL UNIQUE,
|
||
|
code_retour INTEGER NOT NULL,
|
||
|
message TEXT NOT NULL,
|
||
|
active INTEGER
|
||
|
);
|
||
3 years ago
|
CREATE TABLE postfix_utilisateurs (
|
||
4 years ago
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
utilisateur TEXT NOT NULL UNIQUE,
|
||
|
mot_de_passe TEXT NOT NULL,
|
||
|
nom_complet TEXT,
|
||
3 years ago
|
rep_perso TEXT NOT NULL,
|
||
4 years ago
|
uid INTEGER NOT NULL,
|
||
|
gid INTEGER NOT NULL,
|
||
|
privilege TEXT NOT NULL,
|
||
3 years ago
|
prefixe TEXT,
|
||
4 years ago
|
active INTEGER
|
||
3 years ago
|
);
|