Once upon a time (Mon Nov 28), Mark Jeftovic wrote:

>> Have you figured this out yet? If not, please send me your Postfix
>> main.cf file and I'll see whether it differs substantively from my
>> functioning versions.

> I am still working on this, but your response has me a little confused 
> because I'm not doing anything in my postfix main.cf to enable tmda 
> (maybe this is part of my problem?)

There are three things I can think of immediately in my
environment. First, the delimiter. Postfix uses + by default:

        recipient_delimiter = -

Then, the delivery agent in Postfix. If you use procmail, you need
the -p option to preserve environment variables:

        mailbox_command = /usr/bin/procmail -p

And then in the TMDA config file, set the MTA:

        MTA = "postfix"

> "| /home/myprivacy/inbound"

So in this case you are not using the Postfix delivery agent system,
you are piping, so the second item above doesn't matter. The config
you have shows that you set the MTA. How about the delimiter? I'm
sure that's correct as well if Postfix is routing the mail to the
script.

> Inbound is my wrapper, it does some preprocessing and invokes TMDA via 
> piping the email to it.

How about the environment variables that TMDA requires? I don't know
whether Postfix will pass those in when delivering via a pipe resolved
through an alias. Have your wrapper append a copy of the environment
to a file using env. Back when I had problems with TMDA originally,
it was the 'procmail -p' issue and the variables that got me.

Larry
-- 
Lawrence Weeks                                    [EMAIL PROTECTED]
Anabasis Consulting Ltd
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to