[Lazarus] processing incoming mail

duilio foschi octopushole at gmail.com
Thu Feb 18 10:23:46 CET 2016


we have a linux server with domain (say)

www.ourserver.com

A mail server of some type is installed.

The mail server uses the following mysql tables:

+----------------------+
| Tables_in_mailserver |
+----------------------+
| view_aliases         |
| view_users           |
| virtual_aliases      |
| virtual_domains      |
| virtual_users        |
+----------------------+

Probably some of you will quickly recognize the sort of mailserver used
here (I dont remember its name).

By accessing these tables from MySQL I know how to create a new email
account and how to forward emails sent to each mail account.

Is there a way to programmatically intercept all incoming emails, process
them and eventually store them in a database ?

If possible, I'd like to do that by Lazarus CGIs.

What exactly I'd like to do is to check for some special tokens in the
incoming emails and store or forward them accordingly.

Please instruct me re where to start.

Thank you

Peppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160218/8c0673e6/attachment-0002.html>


More information about the Lazarus mailing list