# Linking a forum to a mailing list

**URL:** <https://www.ruby-forum.com/t/linking-a-forum-to-a-mailing-list/63600>\
**Category:** Ruby-Forum\
**Created:** [January 21, 2006, 2:05am UTC](https://www.ruby-forum.com/t/linking-a-forum-to-a-mailing-list/63600 "2006-01-21T02:05:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitchellh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mitchellh](https://www.ruby-forum.com/u/mitchellh)\
**Post date:** [January 21, 2006, 2:05am UTC](https://www.ruby-forum.com/t/linking-a-forum-to-a-mailing-list/63600/1 "2006-01-21T02:05:40Z")

</div>

Hi,

Basically: How do I do it?

Thanks,  
Mitch

---

<div class="post-metadata">

**Author:** ![mitchellh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mitchellh](https://www.ruby-forum.com/u/mitchellh)\
**Post date:** [February 7, 2006, 4:36pm UTC](https://www.ruby-forum.com/t/linking-a-forum-to-a-mailing-list/63600/2 "2006-02-07T16:36:59Z")

</div>

I’d like to know is there any HOWTO or smth too.

---

<div class="post-metadata">

**Author:** ![mitchellh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mitchellh](https://www.ruby-forum.com/u/mitchellh)\
**Post date:** [February 11, 2006, 10:34pm UTC](https://www.ruby-forum.com/t/linking-a-forum-to-a-mailing-list/63600/3 "2006-02-11T22:34:45Z")

</div>

wambat wrote:

> I’d like to know is there any HOWTO or smth too.

As far as I can see this is what you need to do:

- Add the email address of the mailinglist to the forums table.  
You have to do this manualy in your database. So either start mysql or  
sqlite.  
For example:

UPDATE forums SET list\_address = ‘removed\_email\_address@domain.invalid’ WHERE  
id=‘1’;

id in this case is the id of the forum that you want to use for this.

- Then you have to start process\_mails.  
Point it to the Maildir you want it to read with the interval (in  
minutes).

./script/process\_mails pathto/Maildir/cur 5

This will then read all the emails addressed to the mailinglist you  
defined in the forums table.  
And will sleep for 5 minutes before checking again.

If you have left your site.rb untouched. You are good to go.

Otherwise you have to make sure that you have something like:

# Should the forum send posts to the mailing list

# (only if a forum has a list\_address)

:deliver\_mail =\> true,  
:bounce\_address =\> ‘removed\_email\_address@domain.invalid’,

Have phun!

Mischa
