Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] Reply-to not using virtual host domain
- From: "Allen, Pat" <address@concealed>
- To: "Liam Kirsher" <address@concealed>, "David Verdin" <address@concealed>
- Cc: "sympa-users" <address@concealed>
- Subject: RE: [sympa-users] Reply-to not using virtual host domain
- Date: Mon, 7 Apr 2008 11:27:14 -0700
Excuse me if I am muddying up the water on this but I'm trying to get the
same (or a very similar) problem to work. It appears as if there are some
different situations involved - at least in my case.
As Liam pointed out, it appears that the Errors-to and Return-Path headers
aren't being set correctly with the host value from the robot.conf file.
There is one more situation where things aren't being set correctly. If I
subscribe or unsubscribe, etc to a list on my virtual server, the From
address that is used does NOT use the host parameter in the robot.conf file.
For example, the host parameter in my robot.conf file is set to
listserver.mbari.org. However, when I subscribe to a list, the headers look
like:
From: address@concealed
Subject: Welcome to list vars
Content-Type: multipart/alternative; boundary="===Sympa==="
X-Mailer: Sympa 5.3.4
Return-Path: address@concealed
When I send messages to and from the list, the host parameter is used for
most of the headers but is not used for the Errors-to and Return-Path
addresses
Reply-To: address@concealed
X-Loop: address@concealed
X-Sequence: 2
Errors-to: address@concealed
Precedence: list
X-no-archive: yes
List-Id: <vars.listserver.mbari.org>
List-Archive: <http://listserver.mbari.org/sympa/arc/vars>
List-Help: <mailto:address@concealed?subject=help>
List-Owner: <mailto:address@concealed>
List-Post: <mailto:address@concealed>
List-Subscribe:
<mailto:address@concealed?subject=subscribe%20vars>
List-Unsubscribe:
<mailto:address@concealed?subject=unsubscribe%20vars>
Return-Path: address@concealed
Pat
-----Original Message-----
From: Liam Kirsher [mailto:address@concealed]
Sent: Sunday, April 06, 2008 11:53 AM
To: David Verdin
Cc: sympa-users
Subject: Re: [sympa-users] Reply-to not using virtual host domain
David,
That didn't seem to fix the problem.
I noticed that the Errors-to field was set incorrectly to
address@concealed (instead of lists.virtualhost.com),
which I think resulted in a bad Return-Path field, as well.
In List.pm distribute_msg() there appeared to be a discrepancy between
how $host was referenced. The X-Loop string comes out correct in the
email message, but the Errors-to one is incorrect.
> ## Add useful headers
> $hdr->add('X-Loop', "$name\@$host");
> $hdr->add('X-Sequence', $sequence);
> $hdr->add('Errors-to', $name.&Conf::get_robot_conf($robot,
> 'return_path_suffix').'@'.$host);
>
Results in message:
> Return-Path: <address@concealed>
<.....>
> X-Loop: address@concealed
> X-Sequence: 39
> Errors-to: address@concealed
I think that should be \@$host in the Errors-to line, shouldn't it?
Liam
David Verdin wrote:
> Liam,
>
> Yes there is a "host" parameter in robot.conf.
> See: https://www.sympa.org/manual/virtual-hosts?#robot.conf
> Its normal default value is the name of the directory of the virtual
> host. However, it seems that there could be a problem - with the
> "reply-to" only.
> If you set it in your robot.conf, can you tell me if it solves the
> problem? If it does, then there is a bug (which should not be too hard
> to fix).
>
> Regards,
>
> Liam Kirsher a écrit :
>> David,
>>
>> Are you referring to the "http_host" robot parameter? Those seem to be
>> correct. Or, is there a "host" parameter?
>> I don't have those in any of the robot files.
>>
>> Liam
>>
>> David Verdin wrote:
>>
>>> On second thought : Lists initialize their domain name using the
>>> "host" robot parameter. So it may be the reverse problem: host (robot)
>>> parameter badly defined or not defined at all (which would lead to use
>>> defaults).
>>>
>>> Liam Kirsher a écrit :
>>>
>>>> Hi --
>>>>
>>>> Can anyone tell me what's going on?
>>>>
>>>> On lists that have the reply_to_header set to 'list', the Reply-To:
>>>> field is using the server's fqdn, when it should be using the virtual
>>>> domain. Any idea where I go to fix this?
>>>> I recently moved over to a different server, and am using 5.3.4.
>>>>
>>>> Example:
>>>>
>>>> To: address@concealed
>>>> From: address@concealed
>>>> Subject: [listname] Is this list active?
>>>> Reply-To: address@concealed
>>>> X-Loop: address@concealed
>>>>
>>>>
>>>> Thanks in advance!
>>>>
>>>> Liam
>>>>
>>>>
>>>>
>>>>
>>
>>
>
--
Liam Kirsher
PGP: http://liam.numenet.com/pgp/
-
Re: [sympa-users] Reply-to not using virtual host domain,
Liam Kirsher, 04/06/2008
- RE: [sympa-users] Reply-to not using virtual host domain, Allen, Pat, 04/07/2008
- Re: [sympa-users] Reply-to not using virtual host domain, David Verdin, 04/11/2008
Archive powered by MHonArc 2.6.19+.