Some improvements to README.Exim4.Debian

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)

On 12/18/2013 09:05 AM, Narcis Garcia wrote:
README.Exim4.Debian is not part of our GNU Mailman distribution. It is probably added by Debian as part of their Mailman package. This should be reported to Debian, not here.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Narcis Garcia wrote:
Hi,
The best place to discuss the Mailman Debian package is the pkg-mailman-hackers list:
http://lists.alioth.debian.org/mailman/listinfo/pkg-mailman-hackers
Thanks. Andrew.

On 12/18/2013 09:05 AM, Narcis Garcia wrote:
README.Exim4.Debian is not part of our GNU Mailman distribution. It is probably added by Debian as part of their Mailman package. This should be reported to Debian, not here.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Narcis Garcia wrote:
Hi,
The best place to discuss the Mailman Debian package is the pkg-mailman-hackers list:
http://lists.alioth.debian.org/mailman/listinfo/pkg-mailman-hackers
Thanks. Andrew.
participants (3)
-
Andrew Hodgson
-
Mark Sapiro
-
Narcis Garcia