Index: openacs-4/packages/acs-mail-lite/www/doc/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/www/doc/index.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-mail-lite/www/doc/index.adp 17 Feb 2018 17:08:31 -0000 1.3 +++ openacs-4/packages/acs-mail-lite/www/doc/index.adp 30 Apr 2018 08:25:10 -0000 1.4 @@ -1,42 +1,73 @@ - @title;noquote@ - @context;noquote@ -

@title@

-

- Acs Mail Lite provides a standard way for OpenACS packages to send and receive email. -

-

features

+@title;noquote@ +@context;noquote@ +

@title@

+ +Acs Mail Lite handles sending of email via sendmail or smtp and +includes a bounce management system for invalid email accounts. +

When called to send a mail, the mail will either get sent +immediately or placed in an outgoing queue (changeable via +parameter) which will be processed every few minutes.

+

ACS Mail Lite uses either sendmail (you have to provide the +location of the binary as a parameter) or SMTP to send the mail. If +the sending fails, the mail will be placed in the outgoing queue +again and be given another try a few minutes later when processing +the queue again.

+

Each email contains an X-Envelope-From address constructed as +follows:
+The address starts with "bounce" (can be changed by a +parameter) followed by the user_id, a hashkey and the package_id of +the package instance that sent the email, separated by +"-". The domain name of this address can be changed with +a parameter.

+

The system checks every 2 minutes (configurable) in a certain +maildirectory (configurable) for newly bounced emails, so the +mailsystem will have to place every mail to an address beginning +with "bounce" (or whatever the appropriate parameter +says) in that directory. The system then processes each of the +bounced emails, strips out the message_id and verifies the hashkey +in the bounce-address. After that the package-key of the package +sending the original mail is found out by using the package_id +provided in the bounce address. With that, the system then tries to +invoke a callback procedure via a service contract if one is +registered for that particular package-key. This enables each +package to deal with bouncing mails on their own - probably logging +this in special tables. ACS Mail Lite then logs the event of a +bounced mail of that user.

+

Every day a procedure is run that checks if an email account has +to be disabled from receiving any more mail. This is done the +following way:

-

Contents

- - -

Release Notes

- -

- A new IMAP4 feature. See planning notes and development and change notes for change details and reasoning. -

-

- Please file bugs in the Bug Tracker. -

+To use this system here is a quick guide how to do it with postfix. + + +In case of multiple services on one system, create a bounce email +for each of them (e.g. changeing "bounce" to +"bounce_service1") and create a new user that runs the +aolserver process for each of them. You do not want to have +service1 deal with bounces for service2. +

Release Notes

+

Please file bugs in the Bug Tracker.

Fisheye: Tag 1.5 refers to a dead (removed) revision in file `openacs-4/packages/acs-mail-lite/www/doc/index.html'. Fisheye: No comparison available. Pass `N' to diff? Index: openacs-4/packages/acs-service-contract/www/doc/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-service-contract/www/doc/index.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-service-contract/www/doc/index.adp 27 Mar 2018 11:18:00 -0000 1.5 +++ openacs-4/packages/acs-service-contract/www/doc/index.adp 30 Apr 2018 08:28:23 -0000 1.6 @@ -75,19 +75,17 @@

Creating Interfaces

creates a new contract to serve as a logical container for operations. contract_desc is a text description of the contract.

creates a new operation as part of a contract.

Creating Implementations