[BlueOnyx:27030] Re: postfix & pop-before-smtp

Tomohiro Hosaka bokutin at gmail.com
Mon Jun 10 23:33:28 -05 2024


Multiple popip.db lines have been added.
I will modify it a bit.
It doesn't change the intent, though.

--- /usr/sausalito/bin/custom-postfix-confgen.sh.orig 13:15:30.000000000 +0900
+++ /usr/sausalito/bin/custom-postfix-confgen.sh        2024-06-11
13:29:35.952654608 +0900
@@ -23,3 +23,11 @@

 # postconf -e 'smtpd_sender_restrictions = reject_unknown_sender_domain'

+v=`postconf -h smtpd_recipient_restrictions`;
+if [[ ! $v =~ "popip" ]]; then
+    postconf -e "smtpd_recipient_restrictions = check_client_access
hash:/etc/mail/popip, $v"
+fi
+v=`postconf -h smtpd_relay_restrictions`;
+if [[ ! $v =~ "popip" ]]; then
+    postconf -e "smtpd_relay_restrictions     = check_client_access
hash:/etc/mail/popip, $v"
+fi


More information about the Blueonyx mailing list