login | register
Wed 08 of Oct, 2008 (11:13 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

BoardsEmailListConfig

Created by: spiderr, Last modification: Wed 30 of Apr, 2008 (16:31 UTC) by Will

Integrated Mailing List Setup

Install postfix (or sendmail), imap server (dovecot or similar) and mailman.
  • yum install postfix
  • yum install mailman
  • yum install dovecot
  • yum install php-imap
Make sure postfix and imap are up and running:
  • chkconfig postfix on
  • service postfix start
  • chkconfig dovecot on
  • service dovecot start
  • chkconfig mailman on
  • service mailman start

Create the master "mailman" mailing as required:
  • /usr/lib/mailman/bin/newlist mailman and add aliases to /etc/aliases as directed by program

Check your mail and imaps ports are open. Currently, only imaps works because it is hardcoded in the UI. someone with more time than me can add support for pop, pops, and imap.

  • telnet yourserver.com 25
  • telnet yourserver.com 993

If either fail, it is likely a firewall issue. Try system-config-securitylevel-tui on RedHat flavors...

Edit your email configuration file to allow for receiving of emails for your host. See /etc/postfix/main.cf etc... Try to send a test email to the boardsync user. Monitor progress with: tail -f /var/log/maillog

Add "apache" to mailman group.
  • in /etc/group, add similar: mailman:x:41:apache ( 41 may vary depending on your unix flavor)

Give Permissions to aliases to mailman groups
  • sudo chgrp mailman /etc/aliases* ; sudo chmod g+rw /etc/aliases*

Create a user to receive all list emails and set password
  • createuser boardsync; passwd boardsync

Add the message_guid column to the liberty_comments table:
  • ALTER TABLE liberty_comments ADD COLUMN message_guid VARCHAR(255);

Comments