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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jesper Lindhardt
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] Re: Using Exim to "forward" certain messages to a PHP script?
Hi Derrick

Thank you for writing back to me.

If I use /etc/aliases to forward emails, how will it pass it to the PHP
files? (how can I get to the email in the php file?) Also, will it work
with virtual domains?

I looked at Mailman and some similar programs, but from what I could
tell they are actual mailing list managers. I'm not sure I would be able
to use them just to handle emails and pass the information on the a PHP
script.

Thank you,

Jesper

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
Behalf Of Derrick 'dman' Hudson
Sent: Thursday, July 11, 2002 7:26 PM
To: exim-users@???
Subject: [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 ]
--

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##