Re: Any way to only add a header when there's not one there already?

Dennis Preiser <[email protected]> Thu, 16 May 2013 17:33:02 +0200
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
On Thu, May 16, 2013 at 02:01:20PM +0100, Chris Green wrote:
> On Thu, Mar 21, 2013 at 03:39:43PM +0000, Chris Green wrote:
>> ... and I have finally found what the interface from gmane to DBA needs,
>> a Content-Type: header.  I have added this to the bottom of my
>> attributes file:-
>> 
>>     x_headers=Content-Type: text/plain; charset=UTF-8; format=flowed
>> 
>> and now it seems to work OK.
>> 
> However, it only works for posts I initiate.
> 
> If I followup a post there will already be a Content-Type: header there
> and my posting gets rejected because of the duplicate Content-Type:

You could put a sign into your signature that is outside ascii.
For instance a MIDDLE DOT (U+00B7):

ยท

This ensures that every post gets a Content-Type header. (And don't
forget to remove the x_headers line from your attributes file.
Otherwise, there are again two Content-Type: header.)

Dennis