[Mailman-Users] VIrtual_Mailman_Local_Domain ( was Re: Invitationorsubscription on behalf list-owner)

Syafril Hermansyah syafril at dutaint.co.id
Mon Sep 12 02:41:44 CEST 2011


On 09/10/2011 01:01 AM, Mark Sapiro wrote:

> I don't see how this is possible. If you run bin/genaliases, it should
> recreate data/aliases and data/virtual-mailman (and the associated .db
> files) from empty, and if VIRTUAL_MAILMAN_LOCAL_DOMAIN = None, there
> should be no "@domain" on the right hand side of any of the entries.
> It should not be possible that the mailman-loop addresses are
> unqualified and list addresses are qualified immediately after running
> genaliases.
> 
> Do you possibly have more that one data/ directory, e.g.,
> /usr/lib/mailman/data/ as well as /var/lib/mailman/data/?

Oops my fault, I still use my old setting.
After revert back to default setting I got

# LOOP ADDRESSES START
mailman-loop at dip13.dutaint.com	mailman-loop
mailman-loop at list.dutaint.com	mailman-loop
# LOOP ADDRESSES END

# STANZA START: mailman
# CREATED: Fri Sep  9 21:31:17 2011
mailman at dip13.dutaint.com              mailman
mailman-admin at dip13.dutaint.com        mailman-admin
mailman-bounces at dip13.dutaint.com      mailman-bounces
mailman-confirm at dip13.dutaint.com      mailman-confirm
mailman-join at dip13.dutaint.com         mailman-join
mailman-leave at dip13.dutaint.com        mailman-leave
mailman-owner at dip13.dutaint.com        mailman-owner
mailman-request at dip13.dutaint.com      mailman-request
mailman-subscribe at dip13.dutaint.com    mailman-subscribe
mailman-unsubscribe at dip13.dutaint.com  mailman-unsubscribe
# STANZA END: mailman

# STANZA START: mylist
# CREATED: Sun Sep 11 00:06:33 2011
mylist at list.dutaint.com              mylist
mylist-admin at list.dutaint.com        mylist-admin
mylist-bounces at list.dutaint.com      mylist-bounces
mylist-confirm at list.dutaint.com      mylist-confirm
mylist-join at list.dutaint.com         mylist-join
mylist-leave at list.dutaint.com        mylist-leave
mylist-owner at list.dutaint.com        mylist-owner
mylist-request at list.dutaint.com      mylist-request
mylist-subscribe at list.dutaint.com    mylist-subscribe
mylist-unsubscribe at list.dutaint.com  mylist-unsubscribe
# STANZA END: mylist

And the list working fine as it should.

> I also note that the timestamp on the mailman list above is "Fri Sep  9
> 20:55:34 2011" while that on the mylist list in virtual-mailman is
> "Tue Sep  6 12:54:05 2011". This is additional evidence that the
> data/virtual-mailman you are looking at above is not the one updated
> by genaliases.

Yeah, another fault from me, sorry.
I start compose reply before rebuilt my postfix (I need it to solved
problem with postfix log not update), and continue after rebuilt the
postfix (and mailman).

>> this kind of aliases makes posting not working, the error said
>>
>> DBB8E2C238A     3104 Fri Sep  9 17:26:32  syafril at dutaint.co.id
>>                                                     (user unknown)
>>   |/var/lib/mailman/mail/mailman post mailman"@dip13.dutaint.com
>>
>> as you see there is "@dip13.dutaint.com appended

I found the source of this problem, it is because I put in postfix's main.cf

virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman

but after commented it out, and keep

alias_maps = hash:/etc/aliases,
	hash:/var/lib/mailman/data/aliases

It's working fine.

>>> VIRTUAL_MAILMAN_LOCAL_DOMAIN = ['list.example.com',
>>> 'others.domain.com', etc.domain.com]
>>
>> Still no go.
> 
> 
> Of course it doesn't work. You left out the next line of my statement
> above, namely "It would make no sense."

Ups, OK then :-)

>> BTW. What is the purpose of  DEB_LISTMASTER?
> 
> Please see the FAQ at <http://wiki.list.org/x/OIDD>.

> Please note that postfix_to_mailman.py is a third party module
> officially unsupported by the GNU Mailman project. Further, it is an
> alternative to delivery via virtual alias maps and aliases and the two
> methods are incompatible.

Ok, thanks for the explanation.

> I am completely lost in trying to understand your configuration, To
> help further, I would need to see the complete contents of mm_cfg.py
> and the output from 'postconf -n'. Then I will undoubtedly have
> additional questions.

Sorry to make you confused, my apologies.
My mailman now working fine, I can add any new list without problems.
Thanks for your help.




-- 
syafril
-------
Syafril Hermansyah





More information about the Mailman-Users mailing list