mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Générer des emails jetables dans YunoHost
f05d5714a3
- 60% add database with PDO (remove plain text) support mysql, sqlite, postgresql... - 100% add multi-domain support - 100% add memory email (with cookies) - 50% add life for alias (optional) - 100% add comment for alias (optional) - 100% add javascript in form (noscript compatible) |
||
---|---|---|
template-exemple | ||
.gitignore | ||
aliasdeny.txt | ||
blacklist.txt | ||
conf.php | ||
emailPoubelle.php | ||
index.php | ||
README.md |
emailPoubelle.php
Un script pour un petit service d'email jetable
Installation
Installation des dépendances :
pear install Net_DNS2
Télécharger & décompresser les sources :
mkdir -p /www/emailPoubelle/postfix
cd /tmp
wget -O emailPoubelle.zip http://forge.zici.fr/p/emailpoubelle-php/source/download/master/
unzip emailPoubelle.zip
cp emailpoubelle-php-master/* /www/emailPoubelle
Configurer Postfix :
vi /etc/postfix/main.cf
[...]
virtual_alias_maps = hash:/www/emailPoubelle/postfix/virtual
touch /www/emailPoubelle/postfix/virtual
/usr/sbin/postmap /www/emailPoubelle/postfix/virtual
chown www-data /www/emailPoubelle/postfix/virtual
chown www-data /www/emailPoubelle/postfix/virtual.db