
It's a common configuration to have non-member posts to a mailing list be rejected. It seems that most list servers run from /etc/aliases or similar which means that mail has already been accepted by the time the list server sees it. Once mail has been accepted (SMTP code 250) it can be sent on, discarded, or a bounce message can be sent. In the case of spam (which often accounts for most non-member mail to a list) we don't want to generate a bounce message as that hurts innocent third parties. But in the case of members who send mail from their wrong address we want to inform them. Ideally a non-member post to a mailing list would get a SMTP level rejection (SMTP code 55x). When a real person sent the mail they get a bounce message and can re-send if appropriate, if a spam bot sent the mail then it gets discarded. http://postfwd.org/ What's the best way of getting it to work that way? I'm idly considering writing a script to take the list of members from Mailman and automatically generating a Postfwd configuration from it, the above URL describes Postfwd. One benefit of using Postfwd in that manner could be that anyone who subscribes to one list could be allowed to send mail to all lists on the same server, it doesn't have to be that way (Postfwd is configurable and generating more rules isn't difficult) but it seems like a good idea. The Mailman controls seem to only control posting access based on the membership of the list in question. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On Tue, 6 May 2014, Jeremy Visser <jeremy@visser.name> wrote:
On 6/05/2014 17:11, Russell Coker wrote:
Ideally a non-member post to a mailing list would get a SMTP level rejection (SMTP code 55x).
Isn't this something you should be bringing up on the Mailman mailing list as a feature request?
With the current design of Mailman it is only run from /etc/aliases and has no possibility of doing such things unless they develop a milter (or similar) for the purpose. I can't imagine any such feature request being implemented in the near future. Postfwd is a Postfix check_policy_service daemon that is specifically designed to do this sort of thing. Getting it working is just a configuration option. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/
participants (2)
-
Jeremy Visser
-
Russell Coker