Hey, First of all thanks to all the guys for quick and nice suggestion. The thing is that I have some hardware issue. I want to first upgrade my existing system , then I will use mailman3. Currently I have mailman-2.1.4 running on mya live smtp(postfix) server. I want to migrate 2.1.4 to 2.1.14. I already installed 2.1.14, its working. I installed from source code with location /usr/local/mailman and in existing server it mailman installed throung yum. binaries are in /usr/lib/mail and variable data dir is /var/lib/mailman. Then can any one suggest how to migrate all the data from existing server to new one.
Thanks & Regards Jitendra On Sat, May 5, 2012 at 4:56 AM, David <d...@fiteyes.com> wrote: > Jitendra, > It looks like you are running Ubuntu 12.04. Correct? I'm trying to install > Mailman 3.0 beta 1 on Ubuntu 12.04. I'm also trying to install Postorius. > Maybe my notes can be of help to you. > > Florian's got a nice " 5 minute guide to get the Mailman web UI running" >> which can be found here: http://wiki.list.org/x/PwDL I recommend you >> take a look at that! >> > > I took a look at that guide and it did not help me much. A big difference > was that I'm working with the downloadable tarballs instead of with bazaar. > > These are all my notes on Mailman 3.0 beta 1 setup on Ubuntu 12.04. I > don't have the Web UI (Postorious) installed yet. These notes are a work in > progress. I hesitate to post them because they are not a final solution. If > I finish getting Mailman 3.0 running before I give up, I'll share my final > solution too. If someone else gets a final solution, please let me know. > > I also came across this useful tutorial: > Python Ecosystem - An Introduction > http://mirnazim.org/writings/python-ecosystem-introduction/ > and > http://wiki.list.org/display/DEV/mailman3+in+virtualenv (looks old?) > > On Fri, May 4, 2012 at 12:54 AM, Barry Warsaw <ba...@list.org> wrote: > > On May 03, 2012, at 09:20 PM, David wrote: > > >... I need a good tutorial on setting up the development environment, > > For me, it depends on whether you want to develop mm3 or install it. > > > I want to install and run it and play with it like a user. I'm not a > python developer (at least not yet, and not sure if I'll ever get that far). > > > Barry wrote: If instead you want to run Mailman 3, I recommend using > virtualenv and skipping buildout. > > OK. Thanks for the advice. > > I'll detail my steps in case it helps someone else. (I also have a few > questions mixed in below.) Here's what I did: > > First set up a new Linode with Ubuntu 12.04 > apt-get update > apt-get dist-upgrade > > which gcc > which python > /usr/bin/python --versions > curl ifconfig.me/ip > > create DNS records > A record for mailman3.example.com > MX record for mailman3 mailman3 level 10 > > > ssh into Ubuntu server > sudo apt-get install build-essential python-dev python-virtualenv > cd /opt/ > wget > https://launchpad.net/mailman/3.0/3.0.0b1/+download/mailman-3.0.0b1.tar.gz > tar -xf mailman-3.0.0b1.tar.gz > mkdir mailman3_venv > # virtualenv /opt/mailman3_venv/ > (New python executable in /opt/mailman3_venv/bin/python) > > Barry wrote: I do recommend creating an etc/mailman.cfg to customize > various aspects of Mailman before you start. Take a look at > src/mailman/config/schema.cfg and .../mailman.cfg for the default settings. > > > # nano /etc/mailman.cfg > done > > sudo apt-get install postfix openssl-blacklist ssl-cert > > # nano /etc/postfix/main.cf > > ***************** QUESTION ********************* > Are the following paths correct??? > transport_maps = > hash:/opt/mailman-3.0.0b1/var/data/postfix_lmtp > local_recipient_maps = > hash:/opt/mailman-3.0.0b1/var/data/postfix_lmtp > > ******************************************************* > > After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. > root@localhost:/etc/postfix# /etc/init.d/postfix reload > * Reloading Postfix > configuration... [ OK > ] > > # source /opt/mailman3_venv/bin/activate > python setup.py install > Finished processing dependencies for mailman==3.0.0b1 > > Barry wrote: Now you can run `mailman info` to get some basic > information about how your > system is configured, > > > (mailman3_venv)root@localhost:/opt/mailman-3.0.0b1# mailman info > > GNU Mailman 3.0.0b1 (The Twilight Zone) > Python 2.7.3 (default, Apr 20 2012, 22:39:59) > [GCC 4.6.3] > config file: /etc/mailman.cfg > db url: sqlite:////opt/mailman-3.0.0b1/var/data/mailman.db > REST root url: http://mailman3.example.com:80/3.0/ > REST credentials: yyyyyyyyyyyy:xxxxxxxxxxxxx > > > > `mailman start` to start the system, etc. > > > (mailman3_venv)root@localhost:/opt/mailman-3.0.0b1# mailman start > Starting Mailman's master runner > > > ------------------------------------------------------------- > > Next Question: > *** A tutorial for setting up Postorius? *** > > > Following this guide: > http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running > I did these steps: > > wget http://www.djangoproject.com/download/1.4/tarball/ -O > Django-1.4.tar.gz > tar xzvf Django-1.4.tar.gz > > Question: could I have instead used > # apt-get install python-django python-django-social-auth > > wget > https://launchpad.net/postorius/trunk/1.0.0a1/+download/postorius-1.0.0a.tar.gz > tar xf postorius-1.0.0a.tar.gz > > source /opt/mailman3_venv/bin/activate > /opt/mailman-3.0.0b1# mailman start > > cd Django-1.4 > sudo python setup.py install > > # cd postorius/ > sudo python setup.py develop > > Question: How do I test that these steps have worked so far? > > Next, the guide ( > http://wiki.list.org/display/DEV/A+5+minute+guide+to+get+the+Mailman+web+UI+running) > mentions: > > Start the development server > $ cd dev_setup > $ python manage.py syncdb > $ python manage.py runserver > > The last command will start the dev server on http://localhost:8000 > > I don't have a dev_setup directory. Also, I want to start the Web GUI on > port 80 for public access via apache. > > > The following page is empty: > > How to get Postorius running on Apache and mod_wsgi > > > http://wiki.list.org/display/DEV/How+to+get+Postorius+running+on+Apache+and+mod_wsgi > > Richard wrote: Postorius is just a Django-based website that > communicates with MM3. To deploy it, find, and follow, the directions which > apply to any website powered by Django. However, I should warn you that > Postorius is not as far along in its development as is the core parts that > handle mail. In fact, at this time, there are so many things missing that > you will be disappointed if you attempt to make the interface publicly > visible. > > Next Question: > ---------------------- > *** what are the first tests I should perform after starting mailman? *** > > Barry wrote: Try creating a mailing list from the command line: > $ mailman create -d t...@mailman3.example.com.com > > Barry wrote: Subscribe some addresses to mylist. Edit a file with a > list of email addresses and names using one of these formats, one entry per > line: > a...@example.com (Anne Person) > Bart Person <b...@example.com> > > Barry wrote: then run: > $ mailman members -a filename.txt t...@mailman3.example.com.com > > Barry wrote: Now start up Mailman, your MTA > > Question: What is the method for generating aliases for Postfix in Mailman > 3? > > I've already done: # apt-get install postfix openssl-blacklist ssl-cert > see: > http://packages.python.org/mailman/src/mailman/commands/docs/aliases.html > > Barry wrote: ...and send a message to t...@mailman3.example.com.com. > All the members you just added should get a copy. Check your MTA logs and > Mailman's own logs for details or problems. > > > > -- * Thanks & Regards * *Jitendra Kumar Bhaskar* Cell:- +91 7306311531 +91 8102997821 ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org