Now that we are not using a relay (T324978: Replace mail relay for translatewiki.net), it's even more important to follow email best practices to avoid getting blocked.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Install BounceHandler | translatewiki | master | +22 -4 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 883553 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):
[translatewiki@master] Install BounceHandler
Comment Actions
With the latest version of the patch, make noop works:
Notice: Compiled catalog for web2.translatewiki.net in environment production in 3.05 seconds Info: Using environment 'production' Info: Applying configuration version '1677083291' Notice: /Stage[main]/Users::Aliases/File[/etc/aliases]/content: --- /etc/aliases 2019-12-15 23:49:23.223079373 +0100 +++ /tmp/puppet-file20230222-1227893-n0wwy 2023-02-22 17:28:14.927285114 +0100 @@ -30,3 +30,6 @@ # Legacy? blockly: siebrand@kitano.nl + +# BounceHandler +bouncehandler: "|curl --interface 127.0.0.1 -d action=bouncehandler -d format=json --data-urlencode email@- https://translatewiki.net/w/api.php" Notice: /Stage[main]/Users::Aliases/File[/etc/aliases]/content: current_value '{md5}829c8b0ff79cd410ca9a03ce1ab082c0', should be '{md5}bb26bd80f290b293d9da1554beb7949f' (noop) Info: /Stage[main]/Users::Aliases/File[/etc/aliases]: Scheduling refresh of Exec[newaliases] Notice: /Stage[main]/Users::Aliases/Exec[newaliases]: Would have triggered 'refresh' from 1 event Notice: Class[Users::Aliases]: Would have triggered 'refresh' from 2 events Notice: Augeas[manage postfix 'virtual_alias_maps'](provider=augeas): --- /etc/postfix/main.cf 2022-12-21 17:36:50.984577261 +0100 +++ /etc/postfix/main.cf.augnew 2023-02-22 17:28:19.819715078 +0100 @@ -50,7 +50,7 @@ relayhost = mydestination = translatewiki.net, localhost mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 -virtual_alias_maps = hash:/etc/postfix/virtual +virtual_alias_maps = regexp:/etc/postfix/virtual_regexp transport_maps = hash:/etc/postfix/transport smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination Notice: /Stage[main]/Mailer/Postfix::Config[virtual_alias_maps]/Augeas[manage postfix 'virtual_alias_maps']/returns: current_value 'need_to_run', should be 0 (noop) Notice: Postfix::Config[virtual_alias_maps]: Would have triggered 'refresh' from 1 event Info: Postfix::Config[virtual_alias_maps]: Scheduling refresh of Class[Postfix::Service] Notice: Class[Postfix::Service]: Would have triggered 'refresh' from 1 event Info: Class[Postfix::Service]: Scheduling refresh of Exec[restart postfix after packages install] Info: Class[Postfix::Service]: Scheduling refresh of Service[postfix] Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Would have triggered 'refresh' from 1 event Notice: /Stage[main]/Postfix::Service/Service[postfix]: Would have triggered 'refresh' from 1 event Notice: Class[Postfix::Service]: Would have triggered 'refresh' from 2 events Notice: Class[Postfix]: Would have triggered 'refresh' from 1 event Notice: /Stage[main]/Mailer/Postfix::Hash[/etc/postfix/virtual_regexp]/Postfix::Map[/etc/postfix/virtual_regexp]/File[postfix map /etc/postfix/virtual_regexp]/ensure: current_value 'absent', should be 'present' (noop) Info: /Stage[main]/Mailer/Postfix::Hash[/etc/postfix/virtual_regexp]/Postfix::Map[/etc/postfix/virtual_regexp]/File[postfix map /etc/postfix/virtual_regexp]: Scheduling refresh of Exec[generate /etc/postfix/virtual_regexp.db] Notice: /Stage[main]/Mailer/Postfix::Hash[/etc/postfix/virtual_regexp]/Postfix::Map[/etc/postfix/virtual_regexp]/File[postfix map /etc/postfix/virtual_regexp.db]/ensure: current_value 'absent', should be 'present' (noop) Info: /Stage[main]/Mailer/Postfix::Hash[/etc/postfix/virtual_regexp]/Postfix::Map[/etc/postfix/virtual_regexp]/File[postfix map /etc/postfix/virtual_regexp.db]: Scheduling refresh of Exec[generate /etc/postfix/virtual_regexp.db] Notice: /Stage[main]/Mailer/Postfix::Hash[/etc/postfix/virtual_regexp]/Postfix::Map[/etc/postfix/virtual_regexp]/Exec[generate /etc/postfix/virtual_regexp.db]: Would have triggered 'refresh' from 2 events Notice: Postfix::Map[/etc/postfix/virtual_regexp]: Would have triggered 'refresh' from 3 events Notice: Postfix::Hash[/etc/postfix/virtual_regexp]: Would have triggered 'refresh' from 1 event Notice: Class[Mailer]: Would have triggered 'refresh' from 2 events Notice: Stage[main]: Would have triggered 'refresh' from 4 events Notice: Applied catalog in 7.25 seconds
Comment Actions
It seems to be working as expected. Filed T336633: PHP Notice: Found alias defined for Confirmemail when searching for special page aliases for ConfirmEmail for the logspam I noticed.