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.
41 lines
1.2 KiB
41 lines
1.2 KiB
CREATE TABLE IF NOT EXISTS postfix_alias (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
alias TEXT NOT NULL UNIQUE,
|
|
destination TEXT NOT NULL,
|
|
active INTEGER
|
|
);
|
|
CREATE TABLE IF NOT EXISTS postfix_alias_vitruels (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
courriel TEXT NOT NULL UNIQUE,
|
|
destination TEXT NOT NULL,
|
|
active INTEGER
|
|
);
|
|
CREATE TABLE IF NOT EXISTS postfix_domaines (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
domaine TEXT NOT NULL UNIQUE,
|
|
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
|
|
);
|
|
CREATE TABLE IF NOT EXISTS postfix_utilisateurs (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
utilisateur TEXT NOT NULL UNIQUE,
|
|
mot_de_passe TEXT NOT NULL,
|
|
nom_complet TEXT,
|
|
uid INTEGER NOT NULL,
|
|
gid INTEGER NOT NULL,
|
|
privilege TEXT NOT NULL,
|
|
active INTEGER
|
|
);
|