Config Help: Virtualmin Mailman Mailing Lists 5.2

21 posts / 0 new
Last post
#1 Sat, 01/31/2009 - 08:59
simp

Config Help: Virtualmin Mailman Mailing Lists 5.2

Hi-

Thanks so much for the Virtualmin Mailman module - exactly what I was looking for!

Having a couple of issues with configuration, though - the module is installed, and mailman is set up - but: 1. Mails to lists are ending up with the mailman mail user and not getting through to the mailman process 2. the domain names of the virtual servers aren't getting read into the new list dropdown, etc.

I suspect that this is something to do with the note that "Only works if Postfix has been setup to support the mailman: transport".

I am combing through the net looking at the way to do this and it appears that there are a number of different ways to do it depending on what sort of set-up you have. Just wondering - assuming that this is the problem - which is the correct way to set up the mailman transport in posfix for virtualmin?

Thanks in advance for your help - and thanks for all the great work.

Regards,

Simon.

Sun, 06/07/2009 - 07:36
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Sun, 02/01/2009 - 00:33
simp

Thanks Eric! Yes, I installed from the default Virtualmin package - but have been modifying things along the way.

Anyhow, I downloaded that script (from http://www.gurulabs.com/files/postfix-to-mailman-2.1.py) - renamed it - and put it in place. Then I added the script to master.cf - had to put it all on one line to get postfix to read it properly.

Unfortunately, no change - but I think it's nearly there - have started scouring the web for config instructions for that script - please let me know if anyone has any insights - thanks!

By the way - should user=lists be user=mailman?

Sun, 02/01/2009 - 06:42 (Reply to #3)
andreychek

Hrm, what do you mean by the "default Virtualmin package"?

In theory, if you install via the install.sh script, it would come installed and configured with a mailman module that should work out of the box :-)

As far as what "user=" should be -- all I can offer is that it works perfectly on my system, but what exactly the user is may differ from distro to distro.

On my Ubuntu system, there is a "list" user that was setup with Mailman -- there may be a different one on whatever distro you're using.
-Eric

Sun, 02/01/2009 - 21:51 (Reply to #4)
Joe
Joe's picture

<div class='quote'>Anyhow, I downloaded that script (from http://www.gurulabs.com/files/postfix-to-mailman-2.1.py) - renamed it - and put it in place.</div>

I don't understand this. Why are you downloading random scripts off of the Internet? If you installed the Mailman package for your OS (or if you used our install.sh script, which installs the Mailman package for your OS for you), then you have everything you need for Mailman already on your system--if you're trying to do stuff with random scripts you found on the Internet you've gone horribly astray somewhere in this process! ;-)

--

Check out the forum guidelines!

Sun, 06/07/2009 - 07:36
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Sun, 02/01/2009 - 08:02
simp

Sorry - I should clarify - I'm using the Virtualmin module for Webmin...

Which means that I need to configure this manually...

But I think it's to do with that .py script - and I've found lots of discussion about getting that to work - so I should get it sorted.

Thanks!

Sun, 06/07/2009 - 07:37
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Sun, 02/01/2009 - 22:53
simp

Okay - thanks Joe.

As mentioned, I'm using the Webmin Virtualmin module - so I installed the Mailman Module on top of that - and then installed Mailman with yum.

The note with the mailman module says &quot;Only works if Postfix has been setup to support the mailman: transport&quot; - so it's just this bit which I'm trying to do manually - and apparently this .py script helps to automate that...

Am I doing this totally wrong? Should I be on the webmin forums?

Thanks in advance for your help.

Mon, 02/02/2009 - 07:03 (Reply to #9)
andreychek

Nah, you don't need to change forums, the same dolts helping you now will be helping you there as well ;-)

However, using the Virtualmin module is the harder way to get this all working; there's actually a package called webmin-virtualmin-mailman that is installed and configured when doing an install using the install.sh script.

You may also be able to install that package now, but I'm not sure how it's dependencies are setup; you don't want it trying to install Webmin or Virtualmin over top of your current stuff.
-Eric

Sun, 06/07/2009 - 07:37
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Mon, 02/02/2009 - 12:23
simp

Thanks Eric. Hmmm. I looked for webmin-virtualmin-mailman in the yum repository and it ain't there...

To be honest, I installed Webmin first, and then the virtualmin module - and I've been fiddling around with trying to get things working manually ever since! It now seems that what I should have done was to install Virtualmin from install.sh and let that take care of everything...

So now here I am - with everything working except Mailman... So I think I'll try to get Mailman working - and then if that fails, I might consider backing up my Virtualmin virtualhosts - nuking my VPS - and starting from scratch with the install.sh

Lessons you learn the hard way are the best lessons of all ;-)

Sun, 06/07/2009 - 07:37
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Mon, 02/02/2009 - 15:00
simp

Okay - I just installed Virtualmin from install.sh on an Ubuntu box and it comes with everything pre-configured... I have wasted hours of my life manually configuring a bunch of tedious, time-consuming, confusing stuff - and I didn't have to... Oh well, now at least I know how to manually configure a mail server..!

Thanks for the heads-up guys... There goes my weekend ;-)

Mon, 02/02/2009 - 15:41 (Reply to #14)
Joe
Joe's picture

Yeah, I didn't write install.sh for my health. I did it because setting up a virtual hosting server is really tedious, time-consuming, confusing stuff. ;-)

I'm not sure why so many folks avoid using it the first time they install Virtualmin...but once they've tried doing it the easy way, they rarely go back.

--

Check out the forum guidelines!

Sun, 06/07/2009 - 07:37
andreychek

Hi Simon,

How did you go about installing Virtualmin? Did you by chance use the install.sh script?

There's probably a few things that need configured -- one of which is that the file /etc/postfix/master.cf should have this at the end:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

I'm not sure whether that's enabled by the install.sh, or when Mailman is enabled in the Features and Plugins area though.
-Eric

Mon, 02/02/2009 - 22:05
simp

Thanks Joe! You're a life-saver.

Sun, 02/08/2009 - 09:48
simp

I wiped the server and installed via install.sh - and I'm incredibly happy with the result!

Thanks so much for your work on this product and for making it available in a GPL version!

I'm hosting a bunch of deadbeat artists and arts organisations right now - but when I go corporate I will be happy to stump up for the professional version!

Sun, 02/08/2009 - 11:23 (Reply to #18)
Joe
Joe's picture

Thanks for the update! We're happy it's useful to you.

We like for people to use our software, no matter whether they're using the Open Source version or the commercial version. (And, if you <i>do</i> happen to feel like repaying the favor, just be sure to mention us occasionally to your hosting provider(s), web developers, etc. Anybody that might find Virtualmin useful. When people say nice things about Virtualmin on blogs and twitter and such that also makes my day.)

--

Check out the forum guidelines!

Mon, 06/06/2011 - 16:24
Hans

I am facing the exact same problem on different Virtualmin installs.

all were set up using install.sh

Some do have the module, some do not. Of the one which have the module...:

they show the problem described by the threadstarter: the domain names of the virtual servers aren't getting read into the new list dropdown

they have the entry posted by Joe, in master.cf

As these are production system I cannot simply re-install from scratch

any idea how to get mailman running for my virtualhosts?

Cheers, Hans

Wed, 06/01/2016 - 21:16
mackrishi

Hi, Hope someone can help. So I've installed virtualman on CentOS7-64bit. Now I created a virtual server Like this. Clicked the create button, then fill in the domain, username and password. Now, I can't seem to find mailman in that other account, and when I go back to root I can find it. If I try to create a mailing list, it doesn't show any domains in the assign to domain combo box. I'm very new to virtual man and hope someone can help. Thanks.

I'm going up a lazy river. Come with me. we'll have fun.

Topic locked