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

Top Page
Delete this message
Reply to this message
Author: Derrick 'dman' Hudson
Date:  
To: exim-users
Subject: [Exim] Re: Using Exim to "forward" certain messages to a PHP script?
--
On Thu, Jul 11, 2002 at 08:52:36PM +0200, Jesper Lindhardt wrote:
| Hi Derrick

|
| Thank you for writing back to me.


You're welcome.

| 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?)


Are you familiar with UNIX pipes? If not then I don't recommend that
you try to craft an mail bot.

| Also, will it work with virtual domains?


If you write the handler properly.

| 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.


Why would you need the php script?  In your original message you said
that the php script would serve the purpose of
    1)  accepting subscription requests
    2)  providing double-optin verification to prevent abuse of your list
    3)  managing maililng list subscriptions


This is what mailman (and others) do. By choosing mailman, you change
your job from "write a program to do X" to "configure existing (well
tested, too) program Y to do X".

Configuring an existing program is (almost always) easier and less
error prone than writing your own.

Email isn't the most straightforward data format to handle, even
though it seems that way on the surface.

HTH,
-D

--
A wise servant will rule over a disgraceful son,
and will share the inheritance as one of the brothers.
        Proverbs 17:2


http://dman.ddts.net/~dman/
--
[ Content of type application/pgp-signature deleted ]
--