[Pkg-mailman-hackers] Few improvements to README.Exim4.Debian

Narcis Garcia informatica at actiu.net
Fri Dec 20 07:46:52 UTC 2013


I've making a setup for a Debian 7 (wheezy) trying to follow strictly
the guide in README.Exim4.Debian , but there are two things that I think
lack to that file:

*1.* A problem seen in /var/log/exim4/mainlog:
/failed to expand condition
"${lookup{$local_part@$domain}lsearch{/var/lib/mailman/data/virtual-mailman}{1}{0}}"
for mailman_router router: failed to open
/var/lib/mailman/data/virtual-mailman for linear search: No such file or
directory/

My solution:
$ EximUser="$(sudo ps -A -o pid,ppid,pcpu,user,cmd | grep -ie 'exim' |
grep -ve ' grep ' | cut -f 2 -d '.' | grep -ve '. root ' | cut -f 2 -d '
' | head --lines=1)"
$ sudo touch /var/lib/mailman/data/virtual-mailman
$ sudo chown ${EximUser}:list /var/lib/mailman/data/virtual-mailman
$ sudo chmod ug=rw,o=r /var/lib/mailman/data/virtual-mailman

*2.* Cannot create lists from web interface with the target domain:
/Error: Unknown virtual host: lista.cnt.cat/

My solution: add the following 2 lines to /etc/mailman/mm_cfg.py , after
POSTFIX_STYLE_VIRTUAL_DOMAINS declaration:
for CurrentDomain in POSTFIX_STYLE_VIRTUAL_DOMAINS:
 add_virtualhost(CurrentDomain, CurrentDomain)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20131220/fb5e7672/attachment.html>


More information about the Pkg-mailman-hackers mailing list