[Mailman-Users] mailman on CentOS, with virtual domain configuration for Postfix

David Hláčik david at hlacik.eu
Thu Nov 22 18:32:20 CET 2007


Hi to all,

i am facing with a problems of installation mailman from original package
for CentOS 5.0.

I need to setup mailman to use as MTA Postfix with virtual domains.

I have 2 virtual domains 'something.domain.com' 'something2.domain.com'

something.domain.com belongs to FQDN of server running mailman

Configuration of my  mm_cfg.py


add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('something2.domain.com','something2.domain.com')

##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.            #

# Note - if you're looking for something that is imported from mm_cfg, but
you
# didn't find it above, it's probably in Defaults.py.

MTA='Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['something.domain.com','
something2.domain.com']

--------------

I ve generated default list mailman, set site password using mmsutepass.

All i want is to properly generate virtual-mailman for postfix.

The problem is adding a new mailinglist. When i will follow
http://something2.domain.com/mailman/admin and will add new mailinglist
called test for example after clicking on create mailinglist mailman will
come up with a message
Bug in Mailman version 2.1.9

We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but
the webmaster can find this information in the Mailman error logs.

this is mailman error log :



Nov 22 18:30:30 2007 admin(3098):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(3098): [----- Mailman Version: 2.1.9 -----]
admin(3098): [----- Traceback ------]
admin(3098): Traceback (most recent call last):
admin(3098):   File "/usr/lib/mailman/scripts/driver", line 101, in run_main
admin(3098):     main()
admin(3098):   File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in
main
admin(3098):     process_request(doc, cgidata)
admin(3098):   File "/usr/lib/mailman/Mailman/Cgi/create.py", line 238, in
process_request
admin(3098):     sys.modules[modname].create(mlist, cgi=1)
admin(3098):   File "/usr/lib/mailman/Mailman/MTA/Postfix.py", line 232, in
create
admin(3098):     _update_maps()
admin(3098):   File "/usr/lib/mailman/Mailman/MTA/Postfix.py", line 53, in
_update_maps
admin(3098):     raise RuntimeError, msg % (acmd, status, errstr)
admin(3098): RuntimeError: command failed: /usr/sbin/postalias
/etc/mailman/aliases (status:
1, Operation not permitted)
admin(3098): [----- Python Information -----]

Thanks for helping me solving a problem.



David Hlacik


More information about the Mailman-Users mailing list