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 -> Mailman and Xmail HOWTO

Closed TopicStart new topicStart Poll

> Mailman and Xmail HOWTO
atomant
Posted: Nov 24 2003, 01:20 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



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 mailman.sh and 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


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
atomant
Posted: Nov 24 2003, 11:27 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



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.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
_JarJar_
Posted: Dec 25 2003, 06:54 PM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 860
Joined: 23-December 03



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_
PMEmail Poster
Top
hschneider
Posted: Dec 25 2003, 08:22 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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 ?


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
bungee-
  Posted: Dec 27 2003, 09:43 PM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 866
Joined: 27-December 03



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 ....
PMEmail Poster
Top
hschneider
Posted: Dec 27 2003, 10:16 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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/mail...tration-v2.html


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
_JarJar_
Posted: Dec 27 2003, 11:03 PM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 860
Joined: 23-December 03



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

PMEmail Poster
Top
hschneider
Posted: Dec 28 2003, 09:44 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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 ..


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll