it seems that your python is out of date. to keep your ports
up-to-date, FreeBSD has a good utility: "portupgrade". You
can get this from the ports.
Then do "pkg_version -L ="
and you will see which ports need to be updated. Python
should be there. I'm using 2.3.3 on my FreeBSD 4.9
to upgrade python:
portupgrade -o /usr/ports/lang/python python
of course, you should also have the latest ports tree on your
system too. (man cvsup)
b.
On Wed, Apr 14, 2004 at 06:46:49PM +0400, Mikhail Vladimirov wrote:
> Hi!
>
> Could somebody answer me the question please?
> Yesterday I have installed and configured tmda-1.0.2 and python-2.2 on my test
> mailserver
> (FreeBSD 4.9 + Postfix) but nothing works. :-(
>
> When I try to send test mail to somewhere I have only standard error messages in
> maillog like this:
>
> MAIL_TRANSFER_AGENT = "postfix" Apr 14 18:33:19 mailserver postfix/local[10736]:
> 9C14454BA: to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=bounced (Command
> died with status 1: "/usr/local/bin/python2.2". Command output: File "<stdin>",
> line 1 >From [EMAIL PROTECTED] Wed Apr 14 18:33:19 2004 ^ SyntaxError: invalid
> syntax )
> Apr 14 18:33:19 mailserver postfix/local[10736]: 9C14454BA: to=<[EMAIL PROTECTED]>,
> relay=local, delay=0, status=bounced (cannot append message to destination file
> /usr/local/tmda/bin/tmda-filter: cannot open file: Permission denied)
>
>
> All permissions is OK
> I think there is an error somewhere in python scripts but devil knows where :-(
>
> Thanks in advance
> Mikhail Vladimirov
> SysAdmin
>
> P.S.
> My tmda config:
> MAIL_TRANSFER_AGENT = "postfix"
> RECIPIENT_DELIMITER = "+"
> DELIVERY = "/var/mail/wlgi"
> CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed")
> LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
> LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
> LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
--
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users