lp:~jimpop/mailman/check_subscriber

Created by Jim Popovitch and last modified

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
    subscriber.

    This works by utilizing Postfix's tcp_tables capabilities.
 http://www.postfix.org/tcp_table.5.html

    master.cf:

 127.0.0.1:26001 inet n n n - 1 spawn
                user=mailman argv=/usr/local/mailman/scripts/check_subscriber mailman-users

 127.0.0.1:26002 inet n n n - 1 spawn
                user=mailman argv=/usr/local/mailman/scripts/check_subscriber mailman-devel

    main.cf:

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

        smtpd_restriction_classes =
               mailman_subscribers_mailman-users,
               mailman_subscribers_mailman-devel

        mailman_subscribers_mailman-users =
               check_sender_access tcp:127.0.0.1:26001,
               permit

        mailman_subscribers_mailman-devel =
               check_sender_access tcp:127.0.0.1:26002,
               permit

    check_recipients:
         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

Owner:
Jim Popovitch
Project:
GNU Mailman
Status:
Mature

Recent revisions

1453. By Jim Popovitch

included check_subscriber in SCRIPTS declaration

1452. By <email address hidden>

Inserted missing comma in example

1451. By Jim Popovitch

Postfix REJECT at SMTP if not subscriber

1450. By Mark Sapiro

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

1449. By Mark Sapiro

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

1448. By Mark Sapiro

- 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

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

1446. By Mark Sapiro

- 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

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

1444. By Mark Sapiro

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:
lp:mailman
This branch contains Public information 
Everyone can see this information.

Subscribers