1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00

#3 Modification de l'ordre dans le fichier virtual

This commit is contained in:
David 2018-03-18 12:05:13 +01:00
parent baf95cbfa4
commit aecdc0fa4c
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ checkupdate
conf.php
test*
var/database*
var/.htaccess

View file

@ -31,7 +31,7 @@ function UpdateVirtualDB() {
$selectcmd = $dbco->prepare("SELECT status, alias, email
FROM ".DBTABLEPREFIX."alias
WHERE status > 0
ORDER BY id ASC");
ORDER BY alias ASC");
$selectcmd->execute();
} catch ( PDOException $e ) {
echo "DB error : ", $e->getMessage();

0
var/aliasdeny.txt Normal file → Executable file
View file

5
var/blacklist.txt Normal file → Executable file
View file

@ -1,4 +1,7 @@
/^exemple@exemple.com$/
/.pl$/
/^exemple[1-9]+@toto.fr$/
/@yopmail.com$/
/^harou/
/@gmx.com$/
/^sportnet/