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

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Tue Sep 25 11:20:17 JST 2007


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>


More information about the Sylpheed mailing list