Add login tracking to smtp sessions

This commit is contained in:
danwin1210 committed 2026-10-17 23:16:14 +02:00
1 parent df186e33d7
commit 3106dc2003
4 files changed
+54 -2

No files matched your search

+2 -1
View File
@@ -12,6 +12,8 @@
smtp inet n - n - 2 smtpd
-o smtpd_sasl_auth_enable=no
-o { smtpd_sender_restrictions = check_sender_access inline:{double-bounce@mail.danwin1210.de=OK} check_sender_access mysql:/etc/postfix/sql/mysql_virtual_domain_unauth_block.cf }
last-login unix - n n - 0 spawn
user=www-data argv=/usr/bin/php /var/www/mail/tools/postfix_last_login_policy.php
26 inet n - n - 2 smtpd
-o smtpd_sasl_auth_enable=no
-o { smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/sql/mysql_virtual_domain_unauth_block.cf }
@@ -129,4 +131,3 @@ scache unix - - y - 1 scache
#mailman unix - n n - - pipe
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}