Bluehost.com Web Hosting $6.95

Re: [PATCH] Feed myhostname attribute to policy servers

This is a discussion on Re: [PATCH] Feed myhostname attribute to policy servers within the mailing.postfix.users forums, part of the Mail Servers and Related category; Luc Pardon: > Some policy servers add headers that show the host that processed the > request. An example is ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2004
Wietse Venema
 
Posts: n/a
Default Re: [PATCH] Feed myhostname attribute to policy servers

Luc Pardon:
> Some policy servers add headers that show the host that processed the
> request. An example is SPF, who adds a Received-SPF header.
>
> If the public host name differs from gethostname() and you want the
> public name in the header, you have to configure the correct name into
> the policy server. That seems a waste, since postfix already knows its
> $myhostname.
>
> So I patched 2.2-20041013 to make smtpd pass a "myhostname" attribute
> along with the other attributes that it sends to the policy server.
>
> The patch is at:
>
>
> http://www.skopos.be/downloads/postf...name.patch.txt
>
> http://www.skopos.be/downloads/postf...e.patch.tar.gz


I can see some benefit in propagating local endpoint information
(from getsockname() and/or gethostbyaddr()) to the policy daemon,
because it is like the other policy attributes: it is dynamic state
that carries information about the context of a message delivery
request.

I can also see some benefit in the ability to specify a list of
user-controlled (name, value) pairs that get to be sent across with
each policy service request:

<policy service name>_attributes = hostname=$myhostname foo=bar

But I see little benefit in a patch that adds support for a hard-coded
hostname attribute only.

Wietse
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0