DevHeads.net

Postfix x TMDA x transport

Hi list
I understand perfectly that postfix has nothing to do with tmda, but I'm
so use it to transport, as follows, but so the tmda returns code 99 [2].
Well, what I am now is much the same set up as a transport:

In the master.cf file:

# TMDA
tmda unix - n n - - spawn
user=nobody argv=/bin/bash
/usr/local/tmda/contrib/tmda-postfix-policy.sh

In the main.cf
mailbox_transport_maps =
hash:/etc/postfix/maps/transport-tmda

smtpd_recipient_restrictions = ...
check_policy_service
unix:private/tmda,
....

# cat /etc/postfix/maps/transport-tmda
user tmda

But, message not delivery to maildir. Someone uses the tmda can give
some idea to work correctly with this software?

[1]. <a href="http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration" title="http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration">http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration</a>
[2]. Mar 7 17:17:48 mx postfix/local[6202]: 3F01F8480A1:
to=< ... at xxxx dot com.br>, relay=local, delay=0.07, delays=0.01/0/0/0.06,
dsn=5.3.0, status=bounced (Command died with status 99:
"/usr/local/tmda/bin/tmda-filter")

Comments

Re: Postfix x TMDA x transport

By Victor Duchovni at 03/08/2011 - 09:54

You can't use a policy service as a transport. They are completely
different beasts. If you try to use your sneakers as a hat, you'll
be disappointed.

This is a policy service script.

This is a policy service call, which is likely fine.

A pair of sneakers is not a hat, you can't use a policy service as a
transport.

The exit status of "99" is I believe designed with qmail in mind. Also
this message did not get routed to the transport you configured, it got
handled by "local(8)", the command "tmda-filter" is not what you
show above. You appear to be rather confused.

Re: Postfix x TMDA x transport

By =?ISO-8859-1?Q?... at 03/08/2011 - 10:17

Em 8/3/2011 10:54, Victor Duchovni escreveu:
Note that in [1], is the setting that takes a tmda documentation, and
[2] is the error that returns me to setup, but I believe that
transportation is the most interesting for that. I'm not no little confused.

[1]. <a href="http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration" title="http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration">http://tmda.sourceforge.net/cgi-bin/moin.cgi/ServerConfiguration</a>
[2]. Mar 7 17:17:48 mx postfix/local[6202]: 3F01F8480A1:
to=< ... at xxxx dot com.br>, relay=local, delay=0.07, delays=0.01/0/0/0.06,
dsn=5.3.0, status=bounced (Command died with status 99:
"/usr/local/tmda/bin/tmda-filter")