[Mailman-Users] [MASSMAIL] Re: restrict subscription, unsubscription and send mails in mailman list
Amaury Viera Hernández
avhernandez at uci.cu
Sun Nov 1 02:28:54 EST 2015
On 31/10/15 11:50, Mark Sapiro wrote:
> On 10/30/2015 01:14 PM, Amaury Viera Hernández wrote:
>> Hi everyone:
>> I just arrived to this list and I'm needing your help. I have a mailman list and I need 3 things (I couldn't find this in google and in http://wiki.list.org/DOC/Frequently%20Asked%20Questions):
>> 1- I need that the users couldn't subscribe to the list
>
> In the web admin UI for the list set Privacy options... -> Subscription
> rules -> subscribe_policy to Require approval and then reject or discard
> any subscription requests.
>
>
>> 2- I need that the subscribed users can't unsubscribe
>
> In the web admin UI for the list set Privacy options... -> Subscription
> rules -> unsubscribe_policy to Yes and then reject or discard any
> unsubscription requests.
>
>
>> 3- I need that just some users can send mails to the list
>
> In the web admin UI for the list set Privacy options... -> Sender
> filters set default_member_moderation to Yes and
> member_moderation_action to Reject or Discard as desired, and if Reject,
> maybe set member_moderation_notice.
>
> Then go to Membership Management... -> Membership List and under
> Additional Member Tasks set everyone moderated and then uncheck 'mod'
> for those allowed to post.
>
> Also, see <http://wiki.list.org/x/4030685>, particularly the sections
> "How to restrict the list so only authorized persons can post:" and "How
> to post to the announcement list:".
>
Thanks for your quickly answer. Everything is fine but I have another
problem now. I have created the mailman alias in MySQL. When a user
request to the list administrator the subscription to the list the
administrator, the list administrator is not receiving the mail. In the
postfix logs appear this messages:
Nov 1 00:26:14 mailserver postfix/smtpd[7055]: connect from
localhost[127.0.0.1]
Nov 1 00:26:15 mailserver postfix/smtpd[7055]: 30F2021402:
client=localhost[127.0.0.1]
Nov 1 00:26:16 mailserver postfix/cleanup[7111]: 30F2021402:
message-id=<mailman.0.1446351974.7879.mailman at dominio.pdc.cu>
Nov 1 00:26:16 mailserver postfix/qmgr[1953]: 30F2021402:
from=<mailman-bounces at dominio.pdc.cu>, size=1200, nrcpt=2 (queue active)
Nov 1 00:26:16 mailserver postfix/smtpd[7055]: disconnect from
localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/smtpd[7107]: connect from
localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/smtpd[7107]: D814621432:
client=localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/smtpd[7108]: connect from
localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/cleanup[7061]: D814621432:
message-id=<mailman.0.1446351974.7879.mailman at dominio.pdc.cu>
Nov 1 00:26:32 mailserver postfix/smtpd[7108]: E10EE21459:
client=localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/qmgr[1953]: D814621432:
from=<mailman-bounces at dominio.pdc.cu>, size=2649, nrcpt=1 (queue active)
Nov 1 00:26:32 mailserver postfix/smtpd[7107]: disconnect from
localhost[127.0.0.1]
Nov 1 00:26:32 mailserver postfix/cleanup[7111]: E10EE21459:
message-id=<mailman.0.1446351974.7879.mailman at dominio.pdc.cu>
Nov 1 00:26:32 mailserver amavis[1665]: (01665-06) Passed CLEAN
{RelayedInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:36203 [127.0.0.1]
<mailman-bounces at dominio.pdc.cu> ->
<mailman-owner at listas.dominio.pdc.cu>, Queue-ID: 30F2021402, Message-ID:
<mailman.0.1446351974.7879.mailman at dominio.pdc.cu>, mail_id:
d0iNH8sq7q2i, Hits: -0.621, size: 1200, queued_as: D814621432,
dkim_new=dkim:dominio.pdc.cu, 16692 ms
Nov 1 00:26:32 mailserver postfix/qmgr[1953]: E10EE21459:
from=<mailman-bounces at dominio.pdc.cu>, size=2623, nrcpt=1 (queue active)
Nov 1 00:26:32 mailserver postfix/smtpd[7108]: disconnect from
localhost[127.0.0.1]
Nov 1 00:26:33 mailserver amavis[1667]: (01667-06) Passed CLEAN
{RelayedInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:36203 [127.0.0.1]
<mailman-bounces at dominio.pdc.cu> -> <auditor at dominio.pdc.cu>, Queue-ID:
30F2021402, Message-ID:
<mailman.0.1446351974.7879.mailman at dominio.pdc.cu>, mail_id:
8RQ7kxJdlJqn, Hits: -0.621, size: 1200, queued_as: E10EE21459,
dkim_new=dkim:dominio.pdc.cu, 16727 ms
Nov 1 00:26:33 mailserver postfix/smtp[7064]: 30F2021402:
to=<mailman-owner at listas.dominio.pdc.cu>,
relay=127.0.0.1[127.0.0.1]:10024, delay=18, delays=1.3/0.01/0.02/17,
dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250
2.0.0 Ok: queued as D814621432)
Nov 1 00:26:33 mailserver postfix/smtp[7065]: 30F2021402:
to=<auditor at dominio.pdc.cu>, relay=127.0.0.1[127.0.0.1]:10024, delay=18,
delays=1.3/0/0.02/17, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as E10EE21459)
Nov 1 00:26:33 mailserver postfix/qmgr[1953]: 30F2021402: removed
Nov 1 00:26:33 mailserver postfix/pipe[7112]: E10EE21459:
to=<auditor at dominio.pdc.cu>, relay=dovecot, delay=0.23,
delays=0.07/0.04/0/0.12, dsn=2.0.0, status=sent (delivered via dovecot
service)
Nov 1 00:26:33 mailserver postfix/qmgr[1953]: E10EE21459: removed
Nov 1 00:26:33 mailserver postfix/pipe[7917]: D814621432:
to=<mailman-owner at listas.dominio.pdc.cu>, relay=mailman, delay=0.42,
delays=0.06/0.12/0/0.25, dsn=2.0.0, status=sent (delivered via mailman
service)
Nov 1 00:26:33 mailserver postfix/qmgr[1953]: D814621432: removed
Nov 1 00:26:34 mailserver postfix/smtpd[7055]: connect from
localhost[127.0.0.1]
Nov 1 00:26:34 mailserver postfix/smtpd[7055]: NOQUEUE: reject: RCPT
from localhost[127.0.0.1]: 550 5.1.0
<mailman-bounces at listas.dominio.pdc.cu>: Sender address rejected: User
unknown in virtual mailbox table;
from=<mailman-bounces at listas.dominio.pdc.cu>
to=<mailmanadmin at dominio.pdc.cu> proto=ESMTP
helo=<mailserver.dominio.pdc.cu>
Nov 1 00:26:34 mailserver postfix/smtpd[7055]: disconnect from
localhost[127.0.0.1]
my test domain is: dominio.pdc.cu
my mailman config is:
from Defaults import *
MAILMAN_SITE_LIST = 'mailman'
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'
DEFAULT_EMAIL_HOST = 'dominio.pdc.cu'
DEFAULT_URL_HOST = 'listas.dominio.pdc.cu'
DEFAULT_SERVER_LANGUAGE = 'es'
USE_ENVELOPE_SENDER = 0
DEFAULT_SEND_REMINDERS = 0
MTA='Postfix'
I have my mailman transport in mysql and the alias too
everything is fine, but the message to the list administrator is not
sent when a user request a subscription
Thanks in advance, Amaury.
Noviembre 13-14: Final Caribeña 2015 del Concurso de Programación ACM-ICPC
https://icpc.baylor.edu/regionals/finder/cf-2015
More information about the Mailman-Users
mailing list