Hey, Martin. Martin T wrote in <CAJx5YvFgN0jomjo-TVphNTcKLYMd4FKLbOu5wkuWbW4QUFMmpQ@m\ ail.gmail.com>: |> No, i am sorry. This code path just does not know anything about |> readily prepared mail messages, it assumes a plain text body and |> optionally supports some (raw, plain text) header fields. | |First of all, thanks for reply! As I'm anyway using a wrapper and |header fields should be at the top of the message, then I could |replace the first line of stdin matching the "^Subject: .*" regex with |plain text "Subject: apt-listchanges: changelogs for vps" line: | |$ cat /usr/sbin/sendmail |#!/usr/bin/env bash | |sed '0,/^Subject: .*/ s//Subject: apt-listchanges: changelogs for |vps/' | /usr/bin/mailx -t |$ | |This seems to work fine.
Well. I will keep working on this and hopefully at some future day this thing just works. Until then i hope (again) that you stay satisfied with your solution, Martin! Ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
