vexim / vexim2

Virtual Exim 2
Other
70 stars 47 forks source link

Mailman-related changes #227

Closed rimas-kudelis closed 7 years ago

rimas-kudelis commented 8 years ago

Fixes #216: Toggle Mailman configuration via a macro Fixes #226: Add Mailman-releated confguration to debian-conf.d Also changes default Mailman user and group to mailman.

rimas-kudelis commented 8 years ago

I've slightly changed the Mailman configuration by adapting it from http://www.exim.org/howto/mailman21.html .

rimas-kudelis commented 8 years ago

Also, since the Mailman package in Debian doesn't seem to configure Exim by default, I've added our configuration to Debian files as well.

Udera commented 8 years ago

Did you test this setup?

You deleted MAILMAN_USER and MAILMAN_GROUP, are these generated automatically? Because the variables are still used.

On 2016-09-15 12:24, Rimas Kudelis wrote:

Also, since the Mailman package in Debian doesn't seem to configure Exim by default, I've added our configuration to Debian files as well.

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

*

Links:

[1] https://github.com/vexim/vexim2/pull/227#issuecomment-247291840 [2] https://github.com/notifications/unsubscribe-auth/AGCFFFvofFebtfMRY9nbiNKo7eFUj9v7ks5qqRzygaJpZM4J9tI9

rimas-kudelis commented 8 years ago

Look a few lines above, and you'll see these macros safe and sound. :-) But no, I haven't tested the setup.

Udera commented 8 years ago

Look a few lines above, and you'll see these macros safe and sound. :-) But no, I haven't tested the setup.

I shouldn't review code on a mobile ;-)

So we only need to test it. I still have a different issue with my mailman that I need to figure out before testing new configurations.

Udera commented 7 years ago

The mailman user for debian is list. Especially for the debian-files we should use it, and don't delete the default freeBSD user name, you can put them in the comments.

I still have a little problem that every time exim handles mailinglist mails, the config.pck is getting the chmod 640. In order to work properly with the web-interface, you need a chmod 660 (there is the check_perms script to fix the permissions). Even a umask 002 in the mailman transport doesn't help. Currently I run the correcting script as a cronjob. The debian-doc (/usr/share/doc/...) uses a different configuration for mailman and also the exim transports. I haven't checked these yet, I'll probably use a test system. Not sure if other systems are similar to debian.

Udera commented 7 years ago

Finally, I used parts of this already over the last months. No problems so far, I'm merging this.