[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KMail and Message-ID: header field



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 19. September 2001 09:42 schrieb Frank Mehnert:
> On Tuesday 18 September 2001 21:17, Hendrik Sattler wrote:
> > is there any known way to tell kmail that the smtp-server shall create
> > the Message-ID: header field and _NOT_ kmail itself?
>
> Good question but I don't know. Because kmail (2.1.1 on potato) creates
> buggy message id's (only hostname without domain - in my case "noys"
> instead of "noys.inf.tu-dresden.de"), I've createt a small shell script
> which appends the missing stuff:
>
> #!/bin/sh
> /bin/sed "s/\(^Message-Id:.*\)noys/\1noys.inf.tu-dresden.de/g" \
>
>   | usr/sbin/sendmail $*
>
> This script is called sendmail_hack. I've changed the location of sendmail
> in settings to point to that script.

nice idea. A script now does what I want (with a small grep). Still an 
improper situation because that may also remove lines in the mail body, not 
just the header :-/
The change to FQHN can also be done by changing the content of /etc/hostname 
to the FQHN (at least it did here).

Hendrik

- -- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
        oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.schulnetz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7qL+Qzvr6q9zCwcERAs8GAJ0ULY8/cqwiqbyoRYnbS1AmTotpoQCfcYU9
YpqXU9NSnMI5r/M6FgYWcAA=
=1ehj
-----END PGP SIGNATURE-----



Reply to: