Tim Legant <[EMAIL PROTECTED]> writes:

> You can explicitly set this to /var/qmail/bin/sendmail or to
> /var/qmail/bin/qmail-inject, as both of them understand the -f
> switch that TMDA uses to set the envelope sender.

Actually SENDMAIL_PROGRAM doesn't support calling qmail-inject
directly because of a command-line argument conflict (see UPGRADE).
However, this does not matter, as /var/qmail/bin/sendmail uses
qmail-inject, and thus you don't lose any functionality.  i.e, there
is no need to use qmail-inject directly.

So, Chris, the short answer is that unless you have changed the
default value of MAIL_TRANSPORT or SENDMAIL_PROGRAM, you can use
qmail's MFT features.

The qmail-inject man page says:

  If QMAILMFTFILE is set, qmail-inject reads a list of mailing list
  addresses, one per line, from that file.  If To+Cc includes one of
  those addresses (without regard to case), qmail-inject adds a
  Mail-Followup-To field with all the To+Cc addresses.  qmail-inject
  does not add Mail-Followup-To to a message that already has one.

So I'd imagine that in your ~/.tmda/config on the machine where
tmda-ofmipd is running, you'd need to add something like this:

os.environ['QMAILMFTFILE'] = os.path.expanduser('~/.lists')

And then populate the ~/.lists file.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to