XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Mailman and Xmail HOWTO


Posted by: atomant Nov 24 2003, 01:20 PM
I have managed with some help to make Mailman work with Xmail. For those interested here is how to set this up.

- download mailman ( http://www.gnu.org/software/mailman/mailman.html ) and untar it.
- create directory /usr/local/mailman
- create user and group mailman (if it is not allready on your system)
- run #./configure --with-mail-gid=root --with-cgi-gid=apache
Note: this is on my system, change the group if it is different then mine
- then #make install
Note: this will install mailman in the default dir /usr/local/mailman
- add the following lines at the bottom of the file /usr/local/mailman/Mailman/mm-cfg.py:
CODE
DEFAULT_EMAIL_HOST = 'mydomain'                                    
DEFAULT_URL_HOST = 'mydomain'

Note: for 'mydomain' put your actual domain name

- cd to /usr/local/mailman/cron
- run #crontab -u mailman crontab.in
- cd to /usr/local/mailman
- run #bin/check_perms -f
- add new list #bin/newlist mailman and follow the instructions
- run #bin/withlist -l -r fix_url mailman (this fixes URL of the list)
- run $bin/mmsitepass -c <your-site-password> (this is a master password - with it
you can create or delete list via www browser)
- add in the httpd.conf :
CODE
ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
Alias /pipermail/ /usr/local/mailman/archives/public/

<Directory /usr/local/mailman/archives/public>
   Options FollowSymLinks Indexes
   AllowOverride None
</Directory>

- restart httpd
- run mailman service #/usr/local/mailman/bin/mailmanctl start
- add following files under /var/MailRoot/cmdaliases/domain/:
list.tab , list-admin.tab , list-confirm.tab , list-leave.tab , list-request.tab
list-bounces.tab , list-join.tab , list-owner.tab , list-subscribe.tab ,
list-unsubscribe.tab
with the following contents:
CODE
"external"[tab]"0"[tab]"0"[tab]"/var/MailRoot/bin/mailman.sh"[tab]"@@RCPT"[tab]"@@TMPFILE"[newline]

Note: [tab] is a real tab character and [newline] is a real return (or enter).

- copy ftp://xmailforum.homelinux.net/mailman/mailman.sh and ftp://xmailforum.homelinux.net/mailman/econv to /var/MailRoot/bin directory and make sure permissions are set to 755 on both files
Note: econv is compiled for linux RH8. You can get the source from http://www.xmailserver.org and compile it for your system ( gcc -o econv econv.c )
- change paths in the mailman.sh to reflect your instalation of xmail
- now type in your web browser: http://mydomain/mailman/admin/
and you should get welcome page. From there is all simple. image007.gif

This is the way I have done on my linux box. For other systems installation check out mailman INSTALL file.
If somebody needs help - well you know where to find me. cool.gif

Posted by: atomant Nov 24 2003, 11:27 PM
One more thing: script mailman.sh can work only with list name without dashes. So if you want list name to be "my-list" it won't work. It should be "mylist".
But if somebody can make a script which can use also like this it is welcome.

Posted by: _JarJar_ Dec 25 2003, 06:54 PM
Hello,

I have freebsd 5.1 installed with the latest xmail. I am installing Mailman 2.1.3 and am having a few problems.

When I go to add the default mailman list it runs and starts to ask me a few question. As soon as I enter the password the script hangs. Any ideas?

Also for some reason I can not find mailman.sh

I have been running mailman with sendmail for almost a year with no real probelms.

Xmail is a little different but I seem to like it more but I do need a working install of a list manager. Xmail's list option doesn;t seem to have much documentation or many features.

I can't start the mailman service without a mailman list so any and all help would be greatly appreciated.

Thanks for any help.
_JarJar_

Posted by: hschneider Dec 25 2003, 08:22 PM
Just click the underlined links of mailman and econv in the upper howto to download. Maybe atomant can help you when he is back from his holidays. Or any other mailman user out there ?

Posted by: bungee- Dec 27 2003, 09:43 PM
I used the cookbook from the atomant. Things went well except I don't know do I have to make the lists by my own? if this is not the case and the mailman would have to make all the changes and everything on it's own .... well in that case I misconfigured something .... huh.gif

Help please ....

Posted by: hschneider Dec 27 2003, 10:16 PM
As far as I see, you need to manage your lists on your own - see list-managers docs:
http://www.list.org/docs.html
http://staff.imsa.edu/~ckolar/mailman/mailman-administration-v2.html

Posted by: _JarJar_ Dec 27 2003, 11:03 PM
The first list (admin list called mailman) has to be created at the cmd line prior to starting the mailman program. Once that is done and you have set your admin password from the comand line and then start your mailman. If all goes well you can then go to the url for the list and enter as the admin with the password you set and then add additional lists. The admin list is the list from which all the users pmonthly passwords and such are sent from. The deamon will not start until its created.

I have been running mailman for quite some time just not with xmail. Its very easy to use has great bounce suppot and the web interface makes it the reason I use it.

Anyone care to add those features into xmail? Just had to ask.

smile.gif


Posted by: hschneider Dec 28 2003, 09:44 AM
Davide's policy is to keep XMail lean an mean wink.gif
So there is no need to implement these things, if you have mailman ..

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)