Leandro,

> The python-script works very well with qmail-qfilter, qmail-scanner-queue
> and qmail-queue !!!

Happy to hear that it works for you. I would have felt ashamed to give
you some code which does not work.

> Can you rewrite the script to append footer/disclaimer as text in email (not
> as attachment)?

The only time this script add text to the mail itself is when there is
no other mime part than plain/text. For example, Outlook Express
messages text only message will be directly appended. 

It is a _bad_ idea to change the content of a mime type. You could be
corrupting data.

From your message, I will guess that you are using Outlook and not
Outlook Express. Outlook messages (or any message with attachments) will
have a new footer added. Some mail client will display this "inline" at
the end of the message (like thunderbird or OE) but it is a per client
thing.

I am not aware of any better solution to the problem.

> The tests are slow (my test server is poor computer, but I supose that
> phthon-script is slower than C or perl).
> Can anyone rewrite in C or Perl?

I think you are mis-understanding the goal of this list. People (I speak
for myself but will take the risk to include other list members) will
happily help you if you have problem, but we/I are not here to do your
job. If you want me to, I will happily provide you a quote but I guess
it is not what you are after.

Use the time you saved up to now with this code to read it, understand
it, learn C if you need, and do the conversion yourself. It is really
not hard to do.

Like most people here, I have my own job/time consuming activities, I
will surely rewrite this code in C (and surely post it), but only when I
have a problem with its performance.

Finally, it is seen as polite TO NOT SHOUT ON THE SUBJECT OF ANY E-MAIL,
only spammer do that. I think you have already been told. People do not
like when advice is ignored and tend to ignore the people doing it in
return.

Yours,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to