FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » maillist.php (again)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
maillist.php (again) [message #33104] Sat, 12 August 2006 13:38 Go to next message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
Thanks to the help I've received I now have mail flowing back and forth netween my mailing list and my FUDforum. However, I still have one problem
The Mailing List Manager is sending *everything* back to the mailing list, including messages which it has imported from said list. Setting synchronise to "no" means that no messages are sent from the forum. That's not what I want.

What I want is for the mailing list manager to send to the mailing list any message which originated in FUDforum, whilst ignoring those it has imported which originated on the list.

Is this possible and, if so, how do I do it?


--
Bill Hayles
El Inglés Loco
Re: maillist.php (again) [message #33109 is a reply to message #33104] Sat, 12 August 2006 15:02 Go to previous messageGo to next message
aleman   United Kingdom
Messages: 40
Registered: May 2006
Location: Blackpool UK
Karma: 0
Member
Hi Bill,

When I had this working it didn't happen that way. If a user posted from the Mailing list it went to the forum and obviously from the mailing list out to the subscribed members, which is the correct behaviour. When A forum member replies to an 'imported' post it too gets sent to the mailing list subscribers.

Are you saying that you get two posts from an imported message in the mailing list, that would be odd I have only ever seen one.


--
Aleman
Re: maillist.php (again) [message #33111 is a reply to message #33109] Sat, 12 August 2006 15:20 Go to previous messageGo to next message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
aleman wrote on Sat, 12 August 2006 17:02

Hi Bill,

When I had this working it didn't happen that way. If a user posted from the Mailing list it went to the forum and obviously from the mailing list out to the subscribed members, which is the correct behaviour. When A forum member replies to an 'imported' post it too gets sent to the mailing list subscribers.

Are you saying that you get two posts from an imported message in the mailing list, that would be odd I have only ever seen one.



It gets sent from the mailing list to the forum, which is, as far as the mailing list is concerned, just another member. It also gets sent to the members of the mailing list.

The forum immediately sends it back to the mailing list, just as it does for something posted on it natively. The mailing list then processes it again, sends it to all the subscribers again and also back to the forum. This time, the forum recognises it as a duplicate and stops the merry-go-round, but it does mean that everybody who is subscribed to the mailing list receives everything twice - the original message and the one sent back by the forum. The only messages being sent to the mailing list members once are those that originate on the forum.



--
Bill Hayles
El Inglés Loco
Re: maillist.php (again) [message #33112 is a reply to message #33111] Sat, 12 August 2006 15:42 Go to previous messageGo to next message
aleman   United Kingdom
Messages: 40
Registered: May 2006
Location: Blackpool UK
Karma: 0
Member
That what I thought you said was happening. Which did not happen when I had it working. When an email is sent from the mailing list, it is filtered by procmail (in my case) and piped to the forum, and also sent to the mailing list from where it is to all the subscribers. The forum does not process the email and send it back out to the mailing list, I _think_ that it recognises that its posted from the mailing list and _not_ a forum member and threfore doesn't send it back.

If I recall correctly there was nothing to set in the Mailing List Manager to activate this behavior.


--
Aleman
Re: maillist.php (again) [message #33113 is a reply to message #33104] Sat, 12 August 2006 16:10 Go to previous messageGo to next message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
There's the "syncronize forum posts to mailing list" option, but if you set this to "no" the forum sends nothing to the mailing list, not even messages posted on the forum.

I can't see anything else.


--
Bill Hayles
El Inglés Loco
Re: maillist.php (again) [message #33124 is a reply to message #33113] Sat, 12 August 2006 17:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When the forum is syncronizing messages back to the mailing list it only does so when the message does not have the mlist_msg_id id set. This id is set on message import based on the message-id header. I suspect your messages may be lacking this header, which means you need to adjust maillist.php to set the value of this field to something.

FUDforum Core Developer
Re: maillist.php (again) [message #33133 is a reply to message #33104] Sat, 12 August 2006 18:31 Go to previous messageGo to next message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
The messages sent out have the message-id header set. These are the headers of a message from the mailing list identical (except for recipient) to those received by maillist.php. The "hamster" headers are added by my own server /filter mechanism

Received: from hostserver150.com [203.194.209.75]
by billnot.com (172.26.0.2)
with POP3 (Classic Hamster Vr. 2.1 Build 2.1.0.0) ;
Fri, 11 Aug 2006 19:04:10 +0200
Return-Path: <computerchat(at)billnot(dot)com>
Delivered-To: groups(at)billnot(dot)user
Received: (qmail 15032 invoked
by uid 503);
11 Aug 2006 16:46:32 -0000
Received: from unknown (HELO billnot.com) (80.35.22.107)
by hostserver150.com
with SMTP;
11 Aug 2006 16:46:32 -0000
Received: from sever([127.0.0.1])
by sever
with ESMTP for <groups(at)billnot(dot)com>;
Fri, 11 Aug 2006 18:47:50 +800
Return-Path: <barrie(dot)avis(at)aylesford(dot)net>
Delivered-To: computerchat(at)billnot(dot)user
Reply-To: computerchat(at)billnot(dot)com
From: "Barrie Avis" <barrie(dot)avis(at)aylesford(dot)net>
To: computerchat(at)billnot(dot)com (Computerchat Mailing List)
Subject: [Computerchat] - FUDforum - progress
Date: Fri, 11 Aug 2006 18:39:28 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1250"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
Importance: Normal
In-Reply-To:
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Hamster-Account-Reason: Matching lines in mailfilt.hst 18: add(arrow) To: "computerchat(at)billnot(dot)com"
X-Hamster-PostTo-Reason: 19: postto(lists.computerchat) To: "computerchat(at)billnot(dot)com"
X-Hamster-To: account:arrow,news:lists.computerchat
X-Hamster-Info: Score=0 UIDL=ebikba.27o.2 Received=20060811190410
X-Timestamp-in: Timed at 18:46:19 (UTC+0200) on 11:08:2006
X-Lines: Number of lines 36
X-lines2: Number of lines at end 36
Lines: 41
X-nder: computerchat(at)billnot(dot)com
X-turn-Path: computerchat(at)billnot(dot)com
X-rors-To: computerchat(at)billnot(dot)com
Message-ID: <ebikba(dot)27o(dot)1(at)billnot(dot)com>
X-Hamster-Account-Reason: Matching lines in mailfilt.hst 92: add(chat) To: "computerchat(at)billnot(dot)com"
X-Hamster-To: account:chat]



and, if it helps, these are the headers of the same message after maillist.php (wrongly) sent it back to the mailing list.

Received: from hostserver150.com [203.194.209.75]
by billnot.com (172.26.0.2)
with POP3 (Classic Hamster Vr. 2.1 Build 2.1.0.0) ;
Fri, 11 Aug 2006 19:09:59 +0200
Return-Path: <computerchat(at)billnot(dot)com>
Delivered-To: groups(at)billnot(dot)user
Received: (qmail 10793 invoked
by uid 503);
11 Aug 2006 17:07:17 -0000
Received: from unknown (HELO billnot.com) (80.35.22.107)
by hostserver150.com
with SMTP;
11 Aug 2006 17:07:17 -0000
Received: from sever([127.0.0.1])
by sever
with ESMTP for <groups(at)billnot(dot)com>;
Fri, 11 Aug 2006 19:08:22 +800
Return-Path: <barrie(dot)avis(at)aylesford(dot)net>
Delivered-To: computerchat(at)billnot(dot)user
Date: 11 Aug 2006 17:04:46 -0000
To: computerchat(at)billnot(dot)com (Computerchat Mailing List)
Subject: [Computerchat] - FUDforum - progress
From: Barrie Avis <barrie(dot)avis(at)aylesford(dot)net>
Errors-To: Barrie Avis <barrie(dot)avis(at)aylesford(dot)net>
X-Mailer: FUDforum v2.7.5
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: 8bit
Organization: Costa Blanca Expats
X-FUDforum: 261d6afdfa71011c4eb33619a9160b62 <71>
X-Hamster-Account-Reason: Matching lines in mailfilt.hst 18: add(arrow) To: "computerchat(at)billnot(dot)com"
X-Hamster-PostTo-Reason: 19: postto(lists.computerchat) To: "computerchat(at)billnot(dot)com"
X-Hamster-To: account:arrow,news:lists.computerchat
X-Hamster-Info: Score=0 UIDL=ebikm7.12c.2 Received=20060811190958
X-Timestamp-in: Timed at 19:06:33 (UTC+0200) on 11:08:2006
X-Lines: Number of lines 36
MIME-Version: 1.0
X-lines2: Number of lines at end 36
Lines: 41
Reply-To: computerchat(at)billnot(dot)com
X-nder: computerchat(at)billnot(dot)com
X-turn-Path: computerchat(at)billnot(dot)com
X-rors-To: computerchat(at)billnot(dot)com
Message-ID: <ebikm7(dot)12c(dot)1(at)billnot(dot)com>
X-Hamster-Account-Reason: Matching lines in mailfilt.hst 92: add(chat) To: "computerchat(at)billnot(dot)com"
X-Hamster-To: account:chat




--
Bill Hayles
El Inglés Loco
Re: maillist.php (again) [message #33136 is a reply to message #33133] Sat, 12 August 2006 19:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you check and see if the messages in question have the mlist_msg_id column in the msg table filled in and if so with what value?

FUDforum Core Developer
Re: maillist.php (again) [message #33137 is a reply to message #33136] Sat, 12 August 2006 20:02 Go to previous messageGo to next message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
They definitely have values filled on. Only a very few entries are NULL, and those are the ones sent directly from the forum.

It's hard for me to sort out exactly which message-id relates to each message; I'll need to do a database dump for that as they all come from the same IP and many of them have the same subject. If it helps, these are all the possibles - all the messages sent with the appropriate subject.

42(dot)44dca389(at)www(dot)costablancaexpats(dot)net
43(dot)44dca38a(at)www(dot)costablancaexpats(dot)net
44(dot)44dca8fe(at)www(dot)costablancaexpats(dot)net
45(dot)44dca8ff(at)www(dot)costablancaexpats(dot)net
46(dot)44dcb605(at)www(dot)costablancaexpats(dot)net
47(dot)44dcb8ad(at)www(dot)costablancaexpats(dot)net
48(dot)44dccfc4(at)www(dot)costablancaexpats(dot)net


If you need me to pin it down further, I will - tomorrow (it's getting late here in Spain).


--
Bill Hayles
El Inglés Loco
Re: maillist.php (again) [message #33141 is a reply to message #33104] Sun, 13 August 2006 07:42 Go to previous message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma: 0
Junior Member
Ilia, I owe you an apology.

The messages, as sent out by the mailing list, did NOT have a message i.d. In the examples I gave, That has been added later by my own local server and would only apply to my own e-mail address!.

I have checked through the archives of the support group for my mailing list program (Arrow), found out that I was not the first to encounter this problem (although the last was in 2002!) and that the author has issued a patch.

I've downloaded the patch, applied it, and now, joy of joys, everything works as it should do!!!!

Thanks to everybody on this forum who has put up with me over the last few days, especially you, Ilia. My own forum is now in a position to go live and, who knows, in the future I may even be able to come in here and help someone myself.

Keep up the good work - the support for what is a free package is incredible.


--
Bill Hayles
El Inglés Loco

[Updated on: Sun, 13 August 2006 10:58]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Moving to a new host
Next Topic: Wait, I only wanted the topics!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 22:43:24 GMT 2024

Total time taken to generate the page: 0.02330 seconds