[Exim] Re: Using Exim to "forward" certain messages to a PHP…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Derrick 'dman' Hudson
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Re: Using Exim to "forward" certain messages to a PHP script?
--
On Thu, Jul 11, 2002 at 02:03:33PM +0200, Jesper Lindhardt wrote:

| I don't know if this is possible at all, but can you tell me if/how I
| can set up Exim to check predefined email addresses and in case someone
| sends an email, then forward (part of it) to a PHP script.


Put an alias in /etc/aliases that looks like

the_local_part: "|/usr/bin/php /usr/local/script/foo.php"

| What I need is to set up some kind of autoresponder, where people can
| send a blank email to a given email address and then will be added to a
| mailing list with their name and email address.

|
| I hope this makes sense ?


Have you investigated Mailman or other existing MLMs? Given the
complexity of such a tool, I expect that using an existing
implementation will be easier and more robust than creating your own.

HTH,
-D

--

The Consultant's Curse:
    When the customer has beaten upon you long enough, give him
what he asks for, instead of what he needs.  This is very strong
medicine, and is normally only required once.


http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--