Mailing list integration [message #162615] |
Wed, 23 June 2010 11:11 |
timwalter
Messages: 12 Registered: June 2010
Karma: 0
|
Junior Member |
|
|
Hi, on the steep bit of the learning curve...
Installed FUFforum (fairly) easily. Installed mailman, same server.
I have the mailman working fine.
I have mail from the forum going to the mailing list.
I cant get mail from the list to the forum...
I've added
list-bot: "|/usr/bin/php /var/FUDforum/scripts/maillist.php 1"
(and tried
list-bot: "|/usr/local/bin/php /var/FUDforum/scripts/maillist.php 1" as well) to /etc/aliases)
I've tried running that way, as a cron job and also from the command line.
Basically the output from the command line is
/var/FUDforum/scripts/maillist.php: 2: cannot open ?/php: No such file
/var/FUDforum/scripts/maillist.php: 3: /bin: Permission denied
/var/FUDforum/scripts/maillist.php: 4: Syntax error: "(" unexpected
I have chmod 777 maillist.php and checked its correct.
I'm now stuck halfway up the slope and stuck...
BTW which php shows
/usr/bin/php
Many thanks (as always an answer by yesterday would be great...!)
Tim
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Mailing list integration [message #162695 is a reply to message #162691] |
Sat, 03 July 2010 09:14 |
|
naudefj
Messages: 3771 Registered: December 2004
Karma: 28
|
Senior Member Administrator Core Developer |
|
|
yingtong wrote:Three questions, the forum only collects post if I run the maillist.php via cron, I cant see this in the documentation, but is this correct... (how often should maillist "run"?)
Yes, it's correct. You need to run it as frequently as you want to load new posts. Every 2 to 3 minutes should work well.
yingtong wrote:Also each mail appears on the mailing list (mailman) with this at the top of the post (in the body), is this right, can I remove it and whats the best way...
Content-Type: text/plain;
> charset="utf-8"
> Content-Transfer-Encoding: 8bit
> Organization: My forum, my way!
> In-Reply-To:<4C2D30CC(dot)3000406(at)yingtong(dot)co(dot)uk>
> X-FUDforum: baed86535067eaeaa54616100754ae4b<65>
> Message-ID:<41(dot)4c2d311a(at)www(dot)waltersoon(dot)co(dot)uk>
Looks like mailman cannot handle MIME encoded posts. Either that or FUDforum posts badly formatted messages.
yingtong wrote:Finally, is there a "preferred" way of stopping spam entering via the mailing list facility. Malman is"secure" and I want the forum to be members only to write but global veiwable. If spam gets into the pop mailbox will it get sucked into the forum???
I don't use this myself, but I guess they will be loaded as well. It's quite easy to delete them afterwards. Alternatively, enable moderation and approve messages to be displayed.
|
|
|
Re: Mailing list integration [message #162726 is a reply to message #162695] |
Thu, 08 July 2010 19:48 |
yingtong
Messages: 13 Registered: June 2010
Karma: 0
|
Junior Member |
|
|
[quote]naudefj wrote on Sat, 03 July 2010 05:14yingtong wrote:Three questions, the forum only collects post if I run the maillist.php via cron, I cant see this in the documentation, but is this correct... (how often should maillist "run"?)
Yes, it's correct. You need to run it as frequently as you want to load new posts. Every 2 to 3 minutes should work well.
I can't see any documentation of this, do I just guess?
yingtong wrote:Also each mail appears on the mailing list (mailman) with this at the top of the post (in the body), is this right, can I remove it and whats the best way...
Quote:Content-Type: text/plain;
> charset="utf-8"
> Content-Transfer-Encoding: 8bit
> Organization: My forum, my way!
> In-Reply-To:<4C2D30CC(dot)3000406(at)yingtong(dot)co(dot)uk[/email]>
> X-FUDforum: baed86535067eaeaa54616100754ae4b<65>
> Message-ID:<41(dot)4c2d311a(at)www(dot)waltersoon(dot)co(dot)uk[/email]>
Looks like mailman cannot handle MIME encoded posts. Either that or FUDforum posts badly formatted messages.
I can't configure Mailman to remove these...
|
|
|
|