[quote user="syndrical"]
What I'm trying to achieve is the following example:
User A has an account in the system but doesn't have an email address. When an email comes in, I'd like a PHP file to analyze the email & if the user is in the database, then store pieces of the email in the database. I already have the code for the PHP file but how do I get the file to run when an email comes in? Currently Mercury sees that the user doesn't have an inbox and says the email is undelivered. How can I get around this?
I've tried a policy but it doesn't seem to work.
[/quote]
For a policy to work the email first has to be accepted as valid for the server. Why can't the user have a proper mailbox on the server?
[quote user="syndrical"]
<P>What I'm trying to achieve is the following example:
User A has an account in the system but doesn't have an email address. When an email comes in, I'd like a PHP file to analyze the email &amp; if the user is in the database, then store pieces of the email in the database. I already have the code for the PHP file but how do I get the file to run when an email comes in? Currently Mercury sees that the user doesn't have an inbox and says the email is undelivered. How can I get around this?</P>
<P><SPAN style="FONT-SIZE: 10pt">I've tried a policy but it doesn't seem to work. &nbsp;</SPAN></P>
<P>[/quote]</P>
<P>For a policy to work the email first has to be accepted as valid for the server. Why can't the user have a proper mailbox on the server?</P>