Mailman with Postfix Configuration


4 Responses to Mailman with Postfix Configuration

  1. Configuring Postfix with Mailman, has some simple steps to be followed up.

    * Install mailman:

    # apt-get install mailman

    * When done type:

    # newlist mailman

    * Start mailman

    # /etc/init.d/mailman start

    * You should be able to see mailman running now. Visit: [WWW]


    [WWW] http://localhost/cgi-bin/mailman/admin

    * Because postfix is secendary choice for Debian we need to add few more stuff:

    * Edit /etc/postfix/, and where you see “relay_domains” add You would get something like this:

    relay_domains =,

    * In same file add ,hash:/var/lib/mailman/data/aliases after alias_maps

    alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases

    * Now type:

    # postconf -e “transport_maps = hash:/etc/postfix/transport”
    # postconf -e “mailman_destination_recipient_limit = 1”

    * In /etc/postfix/ add:

    mailman unix – n n – – pipe
    flags=FR user=list
    argv=/var/lib/mailman/bin/ ${nexthop} ${user}

    * Edit or create /etc/postfix/transport. Add this line: mailman:

    * Then postmap it:

    postmap /etc/postfix/transport

    * Now edit /etc/mailman/ and add:

    MTA = ‘Postfix’

    * Done. Now restart postfix, mailman

    /etc/init.d/postfix reload
    /etc/init.d/mailman restart

    * Create a mailing list:

    newlist list_name

    * If you want archives add this to /etc/apache2/apache2.conf

    Alias /pipermail/ /var/lib/mailman/archives/public/
    Alias /images/mailman/ /usr/share/images/mailman/

    * Done. Go to

    Your Mailman with Postfix is configured.

  2. Danlo Ringess says:

    On my debian box, the step:

    * In /etc/postfix/ add:

    mailman unix – n n – – pipe
    flags=FR user=list
    argv=/var/lib/mailman/bin/ ${nexthop} ${user}

    broke postfix so it wouldn’t start. I commented out those lines and restarted and reloaded postfix and everything worked.

    Thanks for the nice guide.

  3. eros says:

    you´re my hero!! thank you very, very much!

  4. Shaitaan says:

    I have followed all mentioned points. But in that case i am not able to send any post to new created list. Subscribed users in list are also not getting mail.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: