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.
33 lines
2.4 KiB
33 lines
2.4 KiB
3 years ago
|
|
||
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
|
||
3 years ago
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("toto@toto.fr","comptable@toto.fr",1);
|
||
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("toto@toto.fr","medecin@toto.fr",0);
|
||
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("toto@toto.fr","supermacher@toto.fr",1);
|
||
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("tata@toto.fr","fleuriste@toto.fr",0);
|
||
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("tata@toto.fr","coiffeur@toto.fr",0);
|
||
|
INSERT INTO postfix_alias_virtuels (destination,courriel,active) VALUES ("titi@toto.fr","promos@toto.fr",1);
|
||
4 years ago
|
|
||
|
-- Domaines secondaires
|
||
3 years ago
|
INSERT INTO postfix_domaines (domaine,active,defaut) VALUES ("toto.fr",1,1);
|
||
3 years ago
|
INSERT INTO postfix_domaines (domaine,active,defaut) VALUES ("tata.fr",1,0);
|
||
|
INSERT INTO postfix_domaines (domaine,active,defaut) VALUES ("titi.fr",0,0);
|
||
4 years ago
|
|
||
|
-- 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
|
||
3 years ago
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("tata@toto.fr",554,"Parle à ma main, ma tête est malade.",0);
|
||
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("bob@titi.fr",554,"Parle à ma main, ma tête est malade.",1);
|
||
|
INSERT INTO postfix_liste_noire_expediteurs (courriel,code_retour,message,active) VALUES ("roland@tata.fr",554,"Parle à ma main, ma tête est malade.",1);
|
||
4 years ago
|
|
||
|
-- Listes utilisateurs
|
||
3 years ago
|
INSERT INTO postfix_utilisateurs (utilisateur,mot_de_passe,nom_complet,rep_perso,uid,gid,privilege,active) VALUES ("toto@exemple.fr","{SHA512-CRYPT}$6$xWfisyC6fLawFcBr$zLm4hfRfs6Pn0RKArnyWcgliBy6lpnRUkDHfHMkvskShfLiv4pRIU6XC5ry0ysd.DeKhoAiZUfnNdmwIai2k50","Toto
|
||
|
Dupont","exemple.fr/toto/",3000,3000,"administrateur",1)
|