I checked postfix, and the 'recipient_delimiter' is '+' and matches the
.tmdarc config.
The contents of .forward is:
"|/usr/bin/python /usr/bin/tmda-filter"

tmda version is 0.51 (on debian). Maybe I need to upgrade to tmda 0.68 or 69
?

I believe that is all correct, so I did some more investigating, and it
looks like messages we not being released correctly. Our web interface here
(we are an ISP), had the option for the user to immediately release
messages, however the was this was done was the msg was just moved from dir
'pending' to dir '../../Maildir' so effectively just moved to the users
mailbox.

So I've tried looking at re-writing our web interface, so msg's are released
correctly, and the only way I can see for messages to be released, is to use
the "tmda-pending -b -r $msg" command. However I need to be able to call
this command from a web inteface where the user is a variable (depending on
who is logged in), and after playing around with "tmda-pending" you need to
be running as that user on the server to run the command.
At the moment I have a perl script sitting on our mailserver, acting as a
server, with the webserver running a client, so when I try to release a msg
through the web interface, I send the "tmda-pending" command to the server,
but it runs as root, and tries to lookup /root/.tmda/crypt_key which it
can't find.... obviously because the perl script is running as root.

Is tmda-pending the best way to go for releasing msg's on a user by user
basis when the username is variable? Or is there another way?
I'm going to look at making the perl script setuid, so it runs as the user
who is using the inteface.

Any comments?

Thanks in advance.
Mike

----- Original Message -----
From: "Jason R. Mastaler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 2:14 PM
Subject: Re: Mail released/deleted before confirmation


> "Mike Usmar" <[EMAIL PROTECTED]> writes:
>
> > But because user1 has already released/deleted it, user2 receives a
> > bounce back from the mailer-daemon (postfix or whatever is running)
> > saying that the user1 does not exist.
>
> No, this is not correct behavior. user2 should have received back a
> nice reply from TMDA stating that the message has already been
> released by user1.
>
> > The Postfix program
> >
> > <[EMAIL PROTECTED]>: unknown user:
> > "<[EMAIL PROTECTED]>"
>
> Doesn't look like Postfix is properly configured to handle extension
> addresses (i.e, mike+foobar). Did you follow the instructions at
> http://tmda.net/config-pre.html#postfix ?
>
> What version of TMDA are you running? What does your .forward look
> like?
> _____________________________________________
> 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

Reply via email to