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

Home » FUDforum » How To » 'From' email in postings to list
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
'From' email in postings to list [message #25114] Wed, 25 May 2005 20:17 Go to next message
heron is currently offline  heron   United States
Messages: 10
Registered: May 2005
Karma: 0
Junior Member
Hi,

I'm using FUDforum 2.6.13 in conjunction with mailing lists. The forum is hosted on a virtual domain. Postings made in the forum are posted to the corresponding mailing list, but the from address is wwwrun@<realhostname>.<realdomain>.com. That user is not subscribed to the list (and I can't do this since I have no control over the real domain of the server), so I have to approve all postings manually.

How can I change this 'From' address in the mails sent to the mailing lists?

Just to clarify: The mail also contains a 'From:' header that has the correct email of the user who posted the entry. But this is not used by the ML manager to determine if the user is autoapproved or not. It's that first 'From' header (without colon) that I want to change.

Chris
Re: 'From' email in postings to list [message #25117 is a reply to message #25114] Wed, 25 May 2005 21:02 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
The from address used by the forum when sending e-mails back to the mailing list is the e-mail address of the user making the post. If you want to change this functionality, then you need to edit imsg_edt.inc.t script and specify a custom From address.

FUDforum Core Developer
Re: 'From' email in postings to list [message #25118 is a reply to message #25117] Wed, 25 May 2005 21:21 Go to previous messageGo to next message
heron is currently offline  heron   United States
Messages: 10
Registered: May 2005
Karma: 0
Junior Member
Unfortunately this only affects the second 'From', not the first one that the ML manager uses.

This is a header of such a mail, sent by FUDforum to the mailing list. hostname.domain.com is the primary domain of the sever that hosts the forum. The forum is run in a virtual domain (mydomain.org).

The line I want to change is 'From wwwrun(at)hostname(dot)domain(dot)com'. The 'From: forumuser <forumuser(at)mydomain(dot)org>' line is fine. Changes in imsg_edt.inc.t only affect the 2nd From line.

From wwwrun(at)hostname(dot)domain(dot)com  Wed May 25 23:09:50 2005
Return-Path: wwwrun(at)hostname(dot)domain(dot)com
X-Original-To: svn-commits(at)mydomain(dot)org
Delivered-To: me(at)myself(dot)org
Received: by myself.org (Postfix, from userid 30)
        id AC27924A6662; Wed, 25 May 2005 23:09:50 +0200 (CEST)
To: svn-commits(at)mydomain(dot)org
Subject: test
From: forumuser <forumuser(at)mydomain(dot)org>
Errors-To: forumuser <forumuser(at)mydomain(dot)org>
X-Mailer: FUDforum v2.6.13
Content-Type: text/plain;
  charset="ISO-8859-15"
Content-Transfer-Encoding: 8bit
Organization: My Web Forum
X-FUDforum: 17532c702594a65e69b8ec094a0c0017 <5507>
Message-Id: <20050525210950(dot)AC27924A6662(at)hostname(dot)domain(dot)com>
Date: Wed, 25 May 2005 23:09:50 +0200 (CEST)
Re: 'From' email in postings to list [message #25119 is a reply to message #25118] Wed, 25 May 2005 21:30 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
The 1st from is set by your (sending) SMTP server, the forum has not way of altering that value.

FUDforum Core Developer
Re: 'From' email in postings to list [message #25120 is a reply to message #25119] Wed, 25 May 2005 21:43 Go to previous message
heron is currently offline  heron   United States
Messages: 10
Registered: May 2005
Karma: 0
Junior Member
I'm using the build-in mail server, not an external one. I'll see if I can add some alias to the list manager's subscriber list. That would solve the problem as well.

Thanks anyway,
Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How referring works?
Next Topic: How does Mailing List Manager Work
Goto Forum:
  

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

Current Time: Fri Sep 27 18:06:58 GMT 2024

Total time taken to generate the page: 0.02722 seconds