Created by Jim Popovitch on 2014-03-20 and last modified on 2018-06-07

Postfix SMTP REJECT if not subscriber:

    The scripts/check_subscriber file can be used by Postfix to
    validate a Sender, and REJECT if that Sender is not a list

    This works by utilizing Postfix's tcp_tables capabilities.

    master.cf: inet n n n - 1 spawn
                user=mailman argv=/usr/local/mailman/scripts/check_subscriber mailman-users inet n n n - 1 spawn
                user=mailman argv=/usr/local/mailman/scripts/check_subscriber mailman-devel


 smtpd_sender_restrictions =
               check_recipient_access hash:/etc/postfix/check_recipients,

        smtpd_restriction_classes =

        mailman_subscribers_mailman-users =
               check_sender_access tcp:,

        mailman_subscribers_mailman-devel =
               check_sender_access tcp:,

         mailman-users@python.org mailman_subscribers_mailman-users
         mailman-developers@python.org mailman_subscribers_mailman-devel

Get this branch:
bzr branch lp:~jimpop/mailman/check_subscriber
Only Jim Popovitch can upload to this branch. If you are Jim Popovitch please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Jim Popovitch
GNU Mailman

Recent revisions

1453. By Jim Popovitch on 2018-06-07

included check_subscriber in SCRIPTS declaration

1452. By <email address hidden> on 2016-05-28

Inserted missing comma in example

1451. By Jim Popovitch on 2014-03-20

Postfix REJECT at SMTP if not subscriber

1450. By Mark Sapiro on 2014-03-14

Cleaned up a couple of comments missed in the author_is_list to
from_is_list change.

1449. By Mark Sapiro on 2014-03-11

Fixed a NameError exception in cron/nightly_gzip when it tries to print
the usage message. (LP: #1291038)

1448. By Mark Sapiro on 2014-02-20

- Fixed a bug in ListAdmin._handlepost that would crash when trying to
  preserve a held message for the site admin if HOLD_MESSAGES_AS_PICKLES
  is False. (LP: #1282365)

1447. By Mark Sapiro on 2014-02-16

- Added to the contrib directory, a script from Alain Williams to count
  posts in a list's archive.

1446. By Mark Sapiro on 2014-02-16

- The from_is_list header munging feature introduced in Mailman 2.1.16 is
  no longer erroneously applied to Mailman generated notices.

1445. By Mark Sapiro on 2014-02-07

Changed the message from the confirm CGI to not indicate approval is
required for an acceptance of an invitation.

1444. By Mark Sapiro on 2014-02-04

Added missing <mm-digest-question-start> tag to French listinfo template.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.