[EMAIL PROTECTED] writes:

> I believe tmda-pending needs to clear its environment at startup.
> For example, if I set QMAILHOST and QMAILUSER, then all messages
> released from tmda-pending will have From: set to
> [EMAIL PROTECTED] instead of the original sender.
>
> I have noticed this since I do set QMAILHOST, QMAILUSER and
> QMAILINJECT=f in my .bashrc.

This is puzzling because tmda-pending is supposed to be avoiding the
shell when invoking /usr/sbin/sendmail.  But you're right, I can
reproduce this.

> Is there a quick workaround?

The quick workaround is to add the following code to /etc/tmdarc or
~/.tmda/config:

import os
if os.environ.has_key('QMAILINJECT'): 
    del os.environ['QMAILINJECT']

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to