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.
25 lines
1.7 KiB
25 lines
1.7 KiB
4 years ago
|
-- Alias (ne doivent pas apparaître)
|
||
|
INSERT INTO postfix_alias (alias,destination,active) VALUES ("toto","test1",1);
|
||
|
INSERT INTO postfix_alias (alias,destination,active) VALUES ("tata","test2",0);
|
||
|
INSERT INTO postfix_alias (alias,destination,active) VALUES ("titi","test3",1);
|
||
|
|
||
|
-- Alias virtuels
|
||
|
INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("toto@exemple.fr","test1@exemple.fr",1);
|
||
|
INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("tata@exemple.fr","test2@exemple.fr",0);
|
||
|
INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("titi@exemple.fr","test3@exemple.fr",1);
|
||
|
|
||
|
-- Domaines secondaires
|
||
|
INSERT INTO postfix_domaines (domaine,active) VALUES ("toto.fr",1);
|
||
|
INSERT INTO postfix_domaines (domaine,active) VALUES ("tata.fr",1);
|
||
|
INSERT INTO postfix_domaines (domaine,active) VALUES ("titi.fr",0);
|
||
|
|
||
|
-- Listes noires destinataires
|
||
|
INSERT INTO postfix_liste_noire_destinataires (courriel,action,active) VALUES ("root@mail.exemple.fr","REJECT",1);
|
||
|
INSERT INTO postfix_liste_noire_destinataires (courriel,action,active) VALUES ("git@mail.exemple.fr","REJECT",1);
|
||
|
INSERT INTO postfix_liste_noire_destinataires (courriel,action,active) VALUES ("liste@mail.exemple.fr","REJECT",1);
|
||
|
|
||
|
-- Listes noires expéditeurs
|
||
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("tata@tutu.fr",554,"Parle à ma main, ma tête est malade.",0);
|
||
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("bob@foo.com",554,"Parle à ma main, ma tête est malade.",1);
|
||
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("roland@bar.org",554,"Parle à ma main, ma tête est malade.",1);
|