hi, first off, thanks for your great guide! i seem to have a little problem with mailman, i can add lists for a vhost, but i can't delete them. if i do it over the web interface, the lists disappear in ispconfig but the vhost.com/cgi-bin/mailman/listinfo page still shows the list. the console gives me the following error message: Code: sh: /etc/mailman/virtual_to_transport.sh: No such file or directory Traceback (most recent call last): File "/usr/lib/mailman/bin/rmlist", line 161, in <module> main() File "/usr/lib/mailman/bin/rmlist", line 122, in main sys.modules[modname].remove(mlist) File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 310, in remove _update_maps() File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 60, in _update_maps raise RuntimeError, msg % (vcmd, status, errstr) RuntimeError: command failed: /etc/mailman/virtual_to_transport.sh /var/lib/mailman/data/virtual-mailman (status: 127, Key has expired) any advice on how to fix this? thanks & regards, ac15
the mailing list i created yesterday was with ispconfig 3.0.5.4p5 on debian 7.8. just now i updated ispconfig to version p6 and tried to delete the list via the console, but it didn't work. then i did a full dist-upgrade to jessie, but i still can't delete the list.
Did you run the ispconfig update with reconfigure services? When you do a dist upgarde then you should do a ispconfig update afterwards with reconfigure services to ensure that allconfig files get written in the correct syntax for the new software versions.
i ran the ispconfig update with reconfigure services, but i did the dist-upgrade afterwards. i tried to delete the mailing list after each of the steps, without success. can i re-run the ispconfig update when there is no new version available?
no, it doesn't! here are the contents of my /etc/mailman: Code: apache.conf de en es leftover mm_cfg.py postfix-to-mailman.py qmail-to-mailman.py (btw i had to roll back the server to an earlier snapshot, it's debian 7.8 and ispconfig 3.0.5.4p5 again. somehow the dist-upgrade broke everything, i have to take a look at this later today..)
create the file: nano /etc/mailman/virtual_to_transport.sh and add this content: Code: #!/bin/sh sed -r -e 's/(^[^#]\S+\s+).+$/\1local/' $1 > /var/lib/mailman/data/transport-mailman /usr/sbin/postmap /var/lib/mailman/data/transport-mailman then make it executable: chmod +x /etc/mailman/virtual_to_transport.sh