[sylpheed:31756] Re: How can I disable X-Mail header in sylpheed?

N.Novozhilov nna at darim.com
Tue Sep 25 15:34:24 JST 2007


Yes, it's the best solution!

On Tue, 25 Sep 2007 11:20:17 +0900
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp> wrote:

> Hello,
> 
> Hmm, should I add an option to enable/disable X-Mailer headers?
> 
> On Fri, 21 Sep 2007 22:15:51 +0200
> zelehaist <zelehaist at greyforest.org> wrote:
> 
> > On Wed, 19 Sep 2007 14:47:46 -0400
> > misc <misc at mail333.com> wrote:
> > 
> > > I would like to remove X-Mailer header.
> > 
> > Edit and recompile src/compose.c source file removing/commenting:
> > 
> > >>start
> >  /* Program version and system info */
> >         if (compose->to_list && !IS_IN_CUSTOM_HEADER("X-Mailer")) {
> >                 fprintf(fp, "X-Mailer: %s (GTK+ %d.%d.%d; %s)\n",
> >                         prog_version,
> >                         gtk_major_version, gtk_minor_version,
> > gtk_micro_version, TARGET_ALIAS);
> >         }
> >         if (compose->newsgroup_list && !IS_IN_CUSTOM_HEADER
> > ("X-Newsreader")) { fprintf(fp, "X-Newsreader: %s (GTK+ %d.%d.%d; %
> > s) \n", prog_version,
> >                         gtk_major_version, gtk_minor_version,
> > gtk_micro_version, TARGET_ALIAS);
> >         }
> > >>end
> > 
> > or simply use attached patch for sylhpeed 2.4.6 linux version.
> > (hint: patch -p1 < no-useragent.patch ) If you want to use x-mailer
> > again you can add it to customheaders.
> 
> 
> -- 
> Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Regards
Nicholas A. Novozhilov, NAN6-RIPE

 NTR Lab
 System administrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20070925/2373b68d/attachment.bin 


More information about the Sylpheed mailing list