Forum OpenACS Development: Re: Re: Re: Re: Re: Re: Contacts package

Collapse
Posted by Jon Griffin on
Malte,
I am baffled with how acs-mail-lite is supposed to work. I can see mailto:bounce-292-AE2F291F86F3F079E91698832329ECA81E492657-258@mayuli.com

in my qmail delivery, but the message is never recieved. What is the purpose of this insane complexity to send a message?

Also, I notice that you need tcllib to work now, any hints on using it with OACS? I can't quite seem yo get it working right.

Thanks.

Collapse
Posted by Malte Sussdorff on
Don't ask me about the bouncing. All changes I did to acs-mail-lite have nothing to do with the bouncing code, though I know it worked two years ago and contains the user_id and I think the package_id, so if you setup bouncing correctly in postfix, you can record bounced messages.

As for the complexity, use acs_mail_lite::send. There is a reason why the one is called complex_send 😊. And as I said, the bouncing is nothing I can help with.

Tcllib is only required in OpenACS 5.3, if the higher "package require mime" sneaked into 5.2 code then I can take this out (and probably will remove complex_send as well, as this definitely depends on tcllib).

As for your question how to get TCLlib to work with AOLserver:

http://cognovis.de/entwickler/tips/aolserver/install/ contains a full install of AOLserver including TCLlib. The part that should interest you:

wget http://heanet.dl.sourceforge.net/sourceforge/tcllib/tcllib-1.7.tar.bz2
tar xvfj tcllib-1.7.tar.bz2
cd tcllib-1.7
./configure --prefix=/usr/local/aolserver
make install

Collapse
Posted by Jon Griffin on
Malte,
Thanks,
the tcllib stuff is not in the 5.2.2 package. I was just looking at head. There seem to be many changes for the better so the bug report I filed probably doesn't apply to these versions.

Anyway thanks for the info.