[BlueOnyx:27029] postfix & pop-before-smtp
Tomohiro Hosaka
bokutin at gmail.com
Mon Jun 10 23:11:40 -05 2024
Hello.
I am preparing to upgrade from 5209R to 5210R.
While working on the admin panel, I found that postfix cannot be
combined with poprelayd.
HACK(popauth) in sendmail.mc does not log the operation even if
confLOG_LEVEL is raised, so it is difficult to know how much
POP-before-SMTP is used.
I considered sendmail for compatibility, but postfix SNI support is
also attractive.
In my environment, I found that POP-before-SMTP works with postfix by
making the changes below.
--- /usr/sausalito/ui/chorizo/ci4/Modules/Base/Email/Controllers/Emailsettings.php.orig
2024-03-05 13:15:29.000000000 +0900
+++ /usr/sausalito/ui/chorizo/ci4/Modules/Base/Email/Controllers/Emailsettings.php
2024-06-11 12:51:37.511449632 +0900
@@ -520,7 +520,7 @@
"advanced"
);
- $poprelay = $factory->getBoolean("popRelay",
$email["popRelay"], $postfix_acl);
+ $poprelay = $factory->getBoolean("popRelay", $email["popRelay"]);
$poprelay->setOptional(true);
$block->addFormField(
$poprelay,
--- /usr/sausalito/bin/custom-postfix-confgen.sh.orig 2024-03-05
13:15:30.000000000 +0900
+++ /usr/sausalito/bin/custom-postfix-confgen.sh 2024-06-11
12:45:48.668192100 +0900
@@ -23,3 +23,5 @@
# postconf -e 'smtpd_sender_restrictions = reject_unknown_sender_domain'
+postconf -e "smtpd_recipient_restrictions = check_client_access
hash:/etc/mail/popip, `postconf -h smtpd_recipient_restrictions`"
+postconf -e "smtpd_relay_restrictions = check_client_access
hash:/etc/mail/popip, `postconf -h smtpd_relay_restrictions`"
If merged, it may help people like me.
Thanks
More information about the Blueonyx
mailing list