init: projet complet copymail pour Raspberry Pi

Stack: Nginx + PHP 8.2 + MariaDB + Postfix + Dovecot + Samba
- install.sh: script installation automatisé pour RPi OS Bookworm
- Interface web: visionneuse mails + admin (comptes, domaine, dashboard)
- Chaque compte mail génère automatiquement un share Samba
- Processeur cron: extraction pièces jointes via zbateson/mail-mime-parser
- Zéro injection SQL (PDO + prepared statements)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jules
2026-05-04 09:36:35 +02:00
commit 0be1b9119a
21 changed files with 1627 additions and 0 deletions

32
web/assets/css/style.css Normal file
View File

@@ -0,0 +1,32 @@
body {
background-color: #f4f6fb;
}
.navbar-brand {
letter-spacing: 0.5px;
}
.card {
border-radius: 10px;
}
.table th {
font-size: .82rem;
text-transform: uppercase;
letter-spacing: .04em;
color: #6c757d;
}
.badge {
font-weight: 500;
}
.font-monospace {
font-size: .85em;
}
@media (max-width: 576px) {
.container-fluid {
padding: 0 .75rem;
}
}

7
web/assets/js/app.js Normal file
View File

@@ -0,0 +1,7 @@
// Auto-dismiss alerts after 4s
document.querySelectorAll('.alert-dismissible').forEach(el => {
setTimeout(() => {
const btn = el.querySelector('.btn-close');
if (btn) btn.click();
}, 4000);
});