Thanks for your help Jason, I did some further searching around at the
previous code that was written on our interface before I took it over, and
manged to find the problems and fix them.
I also upgraded to tmda 0.56, as that is the stable package that comes with
debian woody, otherwise I'd have to d/l a whole lot of new *.debs to get
tmda 0.68 going... and maybe even python2.2 . But thats something I can do
at a later stage.

Basically the interface was realeasing messages by just moving them from
pending to maildir (eg qx( 'mv $home/.tmda/pending/$msg
$home/Maildir/new' ) ).
So when the sender replies to a confirmation email, there is no pending msg
in /pending/ and there is no entry in the .delivered_cache file , so it is
bounced back.

I have solved this by using:
qx ( "su $user -c 'exec tmda-pending -b -r -q $msgid'" );
in the perl server daemon in on our mail server, so if someone happens to
release an email before a sender confirms it, the sender will receive a "the
email has already been released and delivered" message.

So all working good now, and I must say with the past few days of it working
fully with the interface I've completed, seems to be a great system!
Cheers.

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


> "Mike Usmar" <[EMAIL PROTECTED]> writes:
>
> > I checked postfix, and the 'recipient_delimiter' is '+' and matches
> > the .tmdarc config.
>
> I'm not sure why you are getting the bounce then. Does mail to other
> extension addresses work? e.g, if you create a ~/.forward+foo file and
> then send mail to mike+foo, does it bounce?
>
> > tmda version is 0.51 (on debian). Maybe I need to upgrade to tmda
> > 0.68 or 69 ?
>
> Yes, please upgrade. 0.51 is nearly a year old at this point, and very
> different from the TMDA of today, so it would be difficult for us to
> support.
>
> > So I've tried looking at re-writing our web interface, so msg's are
> > released correctly
>
> Have you seen the web-interface that comes with TMDA? See
> http://tmda.net/tmda-cgi.html. It might be easier to adopt this to
> your needs instead of writing your own.
>
> > Is tmda-pending the best way to go for releasing msg's on a user by
> > user basis when the username is variable?
>
> I think so, yes.
> _____________________________________________
> 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