Yet another technology tutorial blog.

CentOS Install & Configure Mailman

By • Jan 10th, 2009 • Category: Featured Linux, Linux

Here is how to install the mailman mailing list on CentOS 5.2.

First, install Mailman via yum:

> yum install mailman

Next, edit its Apache configuration file:

> cd /etc/httpd/conf.d
> vi mailman.conf
RedirectMatch ^/mailman[/]*$ http://domain.com/mailman/listinfo

Uncomment the redirect parameter and enter the correct domain name.

Set the site master password:

> /usr/lib/mailman/bin/mmsitepass password

This password can be used to access any list or any page.

Edit the Mailman configuration file:

> vi /usr/lib/mailman/Mailman/mm_cfg.py
DEFAULT_URL_HOST = ‘domain.com’
DEFAULT_EMAIL_HOST = ‘domain.com’

The URL host parameter usually matches the domain name from the above Apache configuration file. The email host should match the origin of the mail (i.e. the part after the @ of the email address, whether it is host.domain.com or domain.com).

Check for updates:

> cd /usr/lib/mailman
> bin/update
No updates are necessary.

Create the mailman site list and set up the aliases:

> cd /usr/lib/mailman
> bin/newlist mailman

Enter the email of the person running the list: minh@minhtech.com
Initial mailman password: password
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases’ program:

## mailman mailing list
mailman: “|/usr/lib/mailman/mail/mailman post mailman”
mailman-admin: “|/usr/lib/mailman/mail/mailman admin mailman”
mailman-bounces: “|/usr/lib/mailman/mail/mailman bounces mailman”
mailman-confirm: “|/usr/lib/mailman/mail/mailman confirm mailman”
mailman-join: “|/usr/lib/mailman/mail/mailman join mailman”
mailman-leave: “|/usr/lib/mailman/mail/mailman leave mailman”
mailman-owner: “|/usr/lib/mailman/mail/mailman owner mailman”
mailman-request: “|/usr/lib/mailman/mail/mailman request mailman”
mailman-subscribe: “|/usr/lib/mailman/mail/mailman subscribe mailman”
mailman-unsubscribe: “|/usr/lib/mailman/mail/mailman unsubscribe mailman”

Hit enter to notify mailman owner…

> vi /etc/aliases
## mailman mailing list
mailman: “|/usr/lib/mailman/mail/mailman post mailman”
mailman-admin: “|/usr/lib/mailman/mail/mailman admin mailman”
mailman-bounces: “|/usr/lib/mailman/mail/mailman bounces mailman”
mailman-confirm: “|/usr/lib/mailman/mail/mailman confirm mailman”
mailman-join: “|/usr/lib/mailman/mail/mailman join mailman”
mailman-leave: “|/usr/lib/mailman/mail/mailman leave mailman”
mailman-owner: “|/usr/lib/mailman/mail/mailman owner mailman”
mailman-request: “|/usr/lib/mailman/mail/mailman request mailman”
mailman-subscribe: “|/usr/lib/mailman/mail/mailman subscribe mailman”
mailman-unsubscribe: “|/usr/lib/mailman/mail/mailman unsubscribe mailman”

> newaliases

After creating the list, add the listed aliases to the bottom of the aliases file, and then run newaliases.

Finally, restart Apache and start mailman:

> /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

> /etc/init.d/mailman start
Starting mailman: [ OK ]

> chkconfig –level 2345 mailman on

The documentation is located at /usr/share/doc/mailman-2.1.9/.

is a technology junkie.
Email this author | All posts by

62 Responses »

  1. Muito bom, a instalação funcionou. Só não consigo criar listas pela interface mailman create. Diz que não tenho autorização. Como resolvo isso?

  2. Great blog, really.

  3. Thank you very much! Ive saved me a lot of time.

  4. great toturial,,, would u post also HOWTO’s?


  5. Dear All,

    I have installed mailman on centos 6.2 32bits, i have configured it as directed on this blog but i get an error message at the end telling me that it could not open the home_mailbox. what could be the error, please help

    [root@mail mailman-2.1.12]# newaliases
    postalias: fatal: open home_mailbox: No such file or directory


  6. [...] http://minhtech.com/featuredlinux/install-and-configure-mailman/ Easy AdSense by [...]

  7. Works like a champ, thanks! I installed it via yum and on centos 6.2 32bit and it worked just fine. No directory error. However I would check there the directive wants the directory and check to see if it was created or has the wrong permissions for starters.

  8. [...] I guess you didn't search enough… anyway take a look at this and/or this howto. BTW you could use the Centos mailman package with your redhat and not mess with the source [...]

  9. [...] customize. See instructions here and also have a look at /usr/share/doc/mailman-2.1.9/INSTALL.REDHAT. There’s a need to access [...]

  10. I write a comment when I appreciate a post on a site or I have
    something to add to the conversation. It’s caused by the passion communicated in the article I looked at. And on this article CentOS Install & Configure Mailman | MinhTech.com. I was actually excited enough to drop a thought :) I do have a couple of questions for you if you usually do not mind. Could it be only me or does it look like like some of these comments come across as if they are left by brain dead folks? :-P And, if you are posting on additional online social sites, I would like to follow anything new you have to post. Would you list every one of all your community sites like your linkedin profile, Facebook page or twitter feed?

  11. This is really interesting, You are a very skilled blogger.

    I have joined your rss feed and look forward to seeking more of your excellent
    post. Also, I’ve shared your web site in my social networks!

  12. It’s actually a nice and helpful piece of information. I am satisfied that you just shared this helpful information with us. Please keep us informed like this. Thank you for sharing.

  13. I am actually thankful to the owner of this
    web site who has shared this impressive article at at this

  14. Spot on with this write-up, I truly think this web site needs
    much more attention. I’ll probably be returning to read more, thanks for the advice!

  15. After exploring a few of the blog articles on your web site, I truly appreciate your way of writing a blog.
    I book marked it to my bookmark webpage list and will be checking back
    in the near future. Take a look at my website too and tell
    me how you feel.

  16. [...] probleme : SE Linux ip6tables U pitanju je mailman-2.1.12 koji ide uz CentOS 6U4. Zgodan link je ovo. Glavni konfiguracioni fajl je u /etc/httpd/conf.d/mailman.conf. Posle svake promene treba [...]

  17. [...] probleme : SE Linux ip6tables U pitanju je mailman-2.1.12 koji ide uz CentOS 6U4. Zgodan link je ovo i ovo. Glavni konfiguracioni fajl je u /etc/httpd/conf.d/mailman.conf. Posle svake promene treba [...]

  18. Hello! I’ve been reading your website for some time now and finally got the bravery to go ahead and give you a shout out from Porter Texas! Just wanted to mention keep up the excellent job!

  19. While there are products found within the differing levels to suit a myriad of needs
    and budgets, I have found that pharmaceutical-level skincare products
    yield the best results. Retrieved on February 16, 2010 from the
    Belgravia Centre:. They could lessen the severity of symptoms and speed
    up the recovery time. For example, many people feel extremely comfortable with sharing their
    personal information online, such as addresses, phone numbers, birth dates, etc.

  20. I know this web page gives quality dependent content and additional
    stuff, is there any other web site which presents such data in quality?

  21. Allow your child to decorate and label each bin and he or she
    can be the recycling captain in your home. Outfits usually come with the appropriate accessories, which by
    no means, are bad quality knock-offs either. Having chores will
    help them stay organized as they get older and it will allow them to be more responsible adults.
    Be specific and disciplined about what you are buying.

  22. This design is wicked! You certainly know how to keep a reader amused.
    Between your witt and your videos, I was almost moved to start
    my own blog (well, almost…HaHa!) Excllent job.
    I really enjoyed what you had to say, and more than that,
    how you presented it. Too cool!

  23. Such a great post, the final tip indicating the location of the program documentation is simply sublime. Nice work, keep it up!

  24. Everything is very open with a very clear explanation of the issues.

    It was really informative. Your site is extremely helpful.
    Thank you for sharing!

  25. If you are allergic to many types of jewelry, then hypoallergenic might be a solution.

    Korea is all geared up with bringing the Korean fashion online.
    Printed denim jean or painted silk short are a hot trend among teenagers looking for
    unique fashion clothing. Korea is quite optimistic
    about the wide acceptance of the online fashion stores.

  26. Defining a particular region for the food choices of these types is not at all possible.
    Place plenty of shredded lettuce or salad mix in an over-sized bowl.
    Waldorf salad is one such salad that is an amalgamation of celery,
    apples, walnuts, and mayonnaise.

  27. Here is a simple, yet delicious recipe for making one the best ever grilled chicken recipes:.
    Cut the red bell pepper into 1 inch pieces, chop
    the red onion, and shred the carrots into the mixing bowl
    with the other vegetables and chicken. You can place a lettuce
    leaf on a plate and put a scoop of chicken salad in the middle and serve with reduced calorie

  28. Meeting with an experienced recruiter is sometimes nerve wracking but once the individual has established
    a great rapport with the head hunter, this will
    be a great resource to have. Reputed SEO’s know
    of the actual particular quality that may make a simple SEO organization.
    The Aboriginals believed that the didgeridoo was an importan.
    He passed away on September 13, and spent his last moments with
    her. These companies offer deals and packages for reasonable website and SEO plan.

  29. (This a request made by the majority of title companies
    and is not only required to prove to them the borrower
    is who they say but to also help avoid the laundering of money by and
    for terrorists. Some buyers are seeking a tropical retreat, while others want a new place to call “home. After completing the course, you will receive an individual certificate of completion which can be submitted with the application and then you get bonded and purchase insurance. The mobile notary has become the icon for real estate, mortgage and title companies over the past 10 years. If you do not want or require to grow to be an professional in the Apostille procedure and what it entails for each and every sort of document and, if you do not have an extravagant quantity of time to invest driving about Los Angeles in purchase to meet the different requirements that need to be fulfilled before the California Secretary of State business office in Los Angeles will affix an Apostille to your document, it is more price-successful, time conserving, and much better all about to make contact with a reliable and professional cell Apostille and notary service in Los Angeles.

  30. Nice post. I used to be checking continuously this blog
    and I’m inspired! Very useful information particularly the remaining phase :) I handle such info a lot.

    I used to be seeking this certain information for a very lengthy time.
    Thanks and best of luck.

  31. The manual’s troubleshooting points should be enough
    to cover problems situations that can occur during normal usage of
    the appliance. Front load machines also cause less wear on clothes.
    The more understanding you have of the system you are working on,
    the better chance of success with your appliance repair. Or you finally decide to wash that load of dishes that have taken up residence in your dishwasher, just to find that the water won’t start to spray.

    It’s important to get a wide variety of candidates to consider, and
    you should look at a few different options before you make a decision.

  32. I do trust all the ideas you’ve introduced in your post. They’re very convincing and can certainly work. Nonetheless, the posts are very brief for starters. May just you please lengthen them a little from subsequent time? Thank you for the post.

  33. This in turn reduces the risk of fatigue and enhances the energy level of user.
    These herbs are extremely used in ayurveda to provide strength and
    increase vitality of body and also promoting mental stabilility.
    # Chandraprabha Vati is Very famous & useful medicine for the diseases relating to urinary
    tract & uterus as well as seminal disorders.

  34. Usually, a retainer is a percentage of the total case fee,
    or the amount of several hours of work. What I mean is, it’s easy for attorneys to bolster their image both on their website and on these
    review sites by skewing the results. Dimitrius George 180th District Court of Harris County, Texas Charge: Aggravated
    Assault Charge: Aggravated Assault Verdict: NOT GUILTY Verdict:

  35. Online shopping has turned out to be tremendously
    popular with Get Your Girl Back coupon, Get Your Girl Back coupon codes, Get Your Girl Back promotional codes, and Get Your
    Girl Back promo codes all over the world and save your money.
    You would have to pay $79 dollars on membership in an annual basis, but you would be able to minimize the
    amount of charges that you would have to cover for the purchases that you will make throughout
    the year. Portable self storage units may also be useful should you be in France for
    study and want to consider assignments somewhere otherwise you must check prices from a country up against the French ones.

  36. Rebuilding the gut’s lining may take a little time.
    Marathon runners, who experience a significantly higher incidence or upper
    respiratory tract infections (URI) in the weeks leading up to and following a marathon, had
    a much lower rate of URI when receiving colostrum supplementation or diet
    as compared to placebo. The intestinal walls turn out to be harmed or porous.

  37. On the way back to our table, I noticed a congratulatory banner for
    the group organizing the dance. After several weeks, your prospect now trusts you as someone
    genuinely interested about helping them succeed
    and they ask you what network marketing company you’re in.
    The advanced version requires shuffling your hands 10 inches forward and back while maintaining the leg movements.

  38. The Certified International Turnaround Manager program
    acknowledges the achievement and credentials of professionals who have atained
    mastery in the profession. When buying bedroom furniture, it is important to consider what
    to buy. It is also necessary to have a vision of how you want your
    room to look after it has been furnished.

  39. For the technically challenged, this is the best solution, since no knowledge
    of programming, designing, or hosting is required.
    There is a number of distinguishing features between these two most
    common web hosting solution. Virtual web servers (also referred as virtual
    private servers) share the resources (hardware, disk space, RAM) of a
    web server.

  40. Hello There. I found your blog using msn. That is a really smartly written
    article. I will make sure to bookmark it and return to learn extra of your useful information.

    Thanks for the post. I will definitely return.

  41. The Sarver research team, together with experts from the Arizona Department of Health Services, evaluated survival rate data of victims of cardiac arrest.
    If you cannot feel their breath on your face, you should begin first aid.
    Sedentary behavior coupled with access to high-calorie foods and beverages in school cafeterias and vending machines only exacerbate the problem.

  42. Being aware of the methods of providing immediate life support has enabled many to save the lives of their near and dear ones under critical conditions.
    * The process of achieving and maintaining the CCNA certification also helps ensure that you are continually improving and
    refining your activities. Another advantage of
    ACLS recertification is the fact that it makes the patient to believe in
    the doctor.

  43. Generally speaking, banks are understanding, and besides requiring police reports, they don’t typically
    ask for much more detail. When you pay for identity theft protection, a credit report freeze is one of the ‘benefits’
    they tout. If they are not in use, tear up or shred any bank account statements, credit card statements, credit solicitations and insurance policy paperwork
    that contain any kind of financial or personal information.

  44. To achieve CPR certification, most people enroll in an American Heart Association CPR class.
    However, by that time, it is possible that the patient has already suffered considerable brain damage.
    This especially applies to soft drinks of all types.

  45. This is because there is no credit verification required.

    If you are fit for the loan terms and conditions, you can get
    the loan sum within round the clock. You will know all of the terms before you sign
    your contract.

  46. It is possible that hair from some places may not grow
    back, leaving you with a permanent gap in your brows. This hair is one hundred
    percent Indian hair, and comes in both wavy and straight.
    Some women experience periods of noticeable hair loss at different
    phases of their menstrual cycle, or even seasonally.

  47. A good, reputable doctor will go above and beyond their duties to
    make things right, if at all possible. Most people are willing to spend a large amount of many for the sake
    of beauty. but many younger men choose the procedure to eliminate puffiness around the eyes.

  48. Custom made essay composing services are not without their flaws,
    and then there are some things you have to check for to make
    sure you are becoming a fair deal. This method is simple and less time-consuming, but the structure that is formed must be
    with other materials as the joints don’t
    have fine finishing. ) After your thesis you should encompass a judgment or two as transition into your

  49. Solution one: Create a hyperlink to the Quick – Time movie.

    There are different training methods to choose from as a beginner or existing user.
    Video Professor has become a very popular household name,
    helping people with further education for over 20 years.

  50. eyrie    eyrir    fable    faced    facer    faces    facet    facia.
    dowager  dowdier  dowdies  dowdily  doweled  dowered  downbow  downers.
    pimento  pimping  pimpled  pimples  pinangs
     pinatas  pinball  pinbone.

  51. What’s up friends, how is the whole thing, and what you want to say regarding this post, in my view its truly awesome in favor of me.

  52. Unquestionably believe that which you said. Your favorite justification seemed to be on the
    internet the simplest thing to be aware of. I say to you,
    I definitely get irked while people think about worries that they
    plainly don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect ,
    people could take a signal. Will likely be back to get
    more. Thanks

  53. I do consider all of the ideas you’ve introduced for your post.
    They are really convincing and will certainly work. Still, the posts are very quick for newbies.
    Could you please lengthen them a bit from next time?
    Thank you for the post.

  54. hey there and thank you for your info – I’ve certainly picked up something new from right here.
    I did however expertise a few technical issues using this site, since I experienced to reload the web site lots of times
    previous to I could get it to load correctly. I had been wondering if your hosting is OK?
    Not that I am complaining, but sluggish loading instances times will
    often affect your placement in google and can damage your high-quality score if advertising and marketing
    with Adwords. Anyway I’m adding this RSS to my e-mail and could look out for a lot more
    of your respective exciting content. Ensure that you update this again soon.

  55. Hi there, i read your blog occasionally and i own a similar one
    and i was just curious if you get a lot of spam responses?
    If so how do you stop it, any plugin or anything you can
    recommend? I get so much lately it’s driving me mad so any assistance
    is very much appreciated.

  56. Yes! Finally something about entertainment.

  57. Ellis discusses both options while using customers.
    Still other men are enthusiastic about male rhinoplasty given that
    they wish to affect the form of their nostrils or
    alter the contours with their noses’ tips. Our cosmetic or plastic surgeons are talented, experienced,
    and innovative.

  58. Many people become totally immersed within the gaming worlds and thus
    become hooked on the fantasy these worlds bring. There are many explanations why
    individuals are dependent on i – Pad, since it is mainly a platform for
    audio-visual media including periodicals, books, music, movies, apps, web content and games.

    Developing good communication and listening skills by practicing empathy and compassion in addition
    to caring for others to create as pleasing and meaningful relationships,.

  59. t have papers you need to when you have a minimum of a component Maine Coon.
    If your dog is sick and is not recovering this could cause him stress and
    unhappiness equally as it might you. The cat was no
    best places to be observed, but as the caller relayed what he
    seen earlier, the bobcat ran from your woods back into the
    busy exit ramp.

  60. Greetings! Very helpful advice within this post!
    It’s the little changes that will make the greatest changes.
    Many thanks for sharing!

  61. The doors usually have a little fabric on them so clean that as well.
    If you want to to discover more about how to restore or recondition old
    batteries that you thought were dead, and were going to throw away.
    Find out if the person responsible for the accident is also hiring a lawyer from the
    same firm you are eyeing on.

  62. I am regular visitor, how are you everybody? This post
    posted at this web site is genuinely nice.

Leave a Reply