Greg's Tech blog

Integrating Tiki forums and Mailman

Wednesday 08 of February, 2012
Adding a mailing list to the forums

I want to have the GaughanPA posts to wind up in a forum.
To do so, I will add an alias for the forum (done)
The alias will call a script which processes the message and posts it to the forum
Here's the aliases entry:
ForumTest: "|/etc/mail/mailecho post ForumTest"

Here's the /etc/mail/mailecho script for reading from stdin:

while read msg
        echo $msg >> /tmp/mailecho.log

Todo next:
Learn enough PHP to put the contents of the message into a database entry for the forum lol

That's enough for tonight