<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fripost-ansible/roles/MX/templates/etc/postfix/virtual, branch master</title>
<subtitle>Fripost ansible scripts</subtitle>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/'/>
<entry>
<title>Prefix ‘ipaddr’ and ‘ipv4’ with ‘ansible.utils.’.</title>
<updated>2022-10-11T11:57:22+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2022-10-11T11:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=a69c2e1c3c771db93d98a253192e131af40c9830'/>
<id>a69c2e1c3c771db93d98a253192e131af40c9830</id>
<content type='text'>
This silences the following deprecation warning:

  Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01.
  Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This silences the following deprecation warning:

  Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01.
  Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
</pre>
</div>
</content>
</entry>
<entry>
<title>Route all internal SMTP traffic through IPsec.</title>
<updated>2016-07-10T03:14:29+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2016-07-10T03:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=bf960a066466d7719ada8fe7bc3dec99d237b88a'/>
<id>bf960a066466d7719ada8fe7bc3dec99d237b88a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a reserved domain 'discard.fripost.org' to discard messages.</title>
<updated>2015-06-07T00:54:27+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2015-06-05T16:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=f12db60f358dbf5506e373477c04488a2c269332'/>
<id>f12db60f358dbf5506e373477c04488a2c269332</id>
<content type='text'>
‘noreply@’ aliases can be added by routing them to
‘@discard.fripost.org’.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
‘noreply@’ aliases can be added by routing them to
‘@discard.fripost.org’.
</pre>
</div>
</content>
</entry>
<entry>
<title>Configure the list manager (Sympa).</title>
<updated>2015-06-07T00:53:27+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2015-05-14T20:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=166804e99e33c8ec5760e88ba1f52d4fc301334c'/>
<id>166804e99e33c8ec5760e88ba1f52d4fc301334c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Split templates / files in lookup tables.</title>
<updated>2015-06-07T00:53:07+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-13T21:24:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=9ac2057bb6f1465b8392f18552ac1df17f6d81d6'/>
<id>9ac2057bb6f1465b8392f18552ac1df17f6d81d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace Postgrey with postscreen.</title>
<updated>2015-06-07T00:53:05+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-12T23:39:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=4fb4be4d279dd94cab33fc778cfa318b93d6926f'/>
<id>4fb4be4d279dd94cab33fc778cfa318b93d6926f</id>
<content type='text'>
See http://www.postfix.org/POSTSCREEN_README.html and
    http://rob0.nodns4.us/postscreen.html

It's infortunate that smtpd(8) cannot be chrooted any longer, which
means that we have to un-chroot cleanup(8) as well.  Indeed, currently
smtpd(8) uses $virtual_alias_maps for recipient validation; later
cleanup(8) uses it again for rewriting.  So these processes need to be
both chrooted, or both not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://www.postfix.org/POSTSCREEN_README.html and
    http://rob0.nodns4.us/postscreen.html

It's infortunate that smtpd(8) cannot be chrooted any longer, which
means that we have to un-chroot cleanup(8) as well.  Indeed, currently
smtpd(8) uses $virtual_alias_maps for recipient validation; later
cleanup(8) uses it again for rewriting.  So these processes need to be
both chrooted, or both not.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the raw 'fripostListManager' as routing internal subdomain.</title>
<updated>2015-06-07T00:52:55+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-10T00:07:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=b972b4beb773a5567eb1190e4a44a05d88193f94'/>
<id>b972b4beb773a5567eb1190e4a44a05d88193f94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Explain why we use static transport maps and custom subdomains.</title>
<updated>2015-06-07T00:52:54+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-09T22:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=ee046343f3bbb43dc48a8ad72b5cb16dc0a24ee6'/>
<id>ee046343f3bbb43dc48a8ad72b5cb16dc0a24ee6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use $virtual_alias_domains not $virtual_mailbox_domains.</title>
<updated>2015-06-07T00:52:52+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-09T21:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=c71f1cf51e7f6e8f43b5f7afb1d8a2012fd83259'/>
<id>c71f1cf51e7f6e8f43b5f7afb1d8a2012fd83259</id>
<content type='text'>
Quoting postconf(5):

    smtpd_reject_unlisted_recipient (default: yes)
        Request that the Postfix SMTP server rejects mail for unknown recipient
        addresses, even when no explicit reject_unlisted_recipient access
        restriction is specified. This prevents the Postfix queue from filling
        up with undeliverable MAILER-DAEMON messages.

        An address is always considered "known" when it matches a virtual(5)
        alias or a canonical(5) mapping.
        […]
        * The recipient domain matches $virtual_alias_domains but the recipient
          is not listed in $virtual_alias_maps.
        * The recipient domain matches $virtual_mailbox_domains but the
          recipient is not listed in $virtual_mailbox_maps, and
          $virtual_mailbox_maps is not null.

Since we alias everything under special, "invalid", domains (mda.f.o and
mailman.f.o), our $virtual_mailbox_maps was null, which led to
reject_unlisted_recipient not being triggered for say, "noone@fripost.org".
However, replacing $virtual_mailbox_domains with $virtual_alias_domains fits
into the second point above.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Quoting postconf(5):

    smtpd_reject_unlisted_recipient (default: yes)
        Request that the Postfix SMTP server rejects mail for unknown recipient
        addresses, even when no explicit reject_unlisted_recipient access
        restriction is specified. This prevents the Postfix queue from filling
        up with undeliverable MAILER-DAEMON messages.

        An address is always considered "known" when it matches a virtual(5)
        alias or a canonical(5) mapping.
        […]
        * The recipient domain matches $virtual_alias_domains but the recipient
          is not listed in $virtual_alias_maps.
        * The recipient domain matches $virtual_mailbox_domains but the
          recipient is not listed in $virtual_mailbox_maps, and
          $virtual_mailbox_maps is not null.

Since we alias everything under special, "invalid", domains (mda.f.o and
mailman.f.o), our $virtual_mailbox_maps was null, which led to
reject_unlisted_recipient not being triggered for say, "noone@fripost.org".
However, replacing $virtual_mailbox_domains with $virtual_alias_domains fits
into the second point above.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform the alias resolution and address validation solely on the MX:es.</title>
<updated>2015-06-07T00:52:49+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2014-07-08T23:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=55e9b2a0ebc87a353f9c9496a77b313e41e47bd4'/>
<id>55e9b2a0ebc87a353f9c9496a77b313e41e47bd4</id>
<content type='text'>
We can therefore spare some lookups on the MDA, and use static:all
instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can therefore spare some lookups on the MDA, and use static:all
instead.
</pre>
</div>
</content>
</entry>
</feed>
