Forum Moderators: coopster

Message Too Old, No Replies

qmail alias / to send to PHP file

         

MedCenter

5:16 pm on Feb 25, 2004 (gmt 0)

10+ Year Member



I want to read mail via php.

I need mail to be sent to my php script.

I'm running qmail, and PLESK with multidomains.

been searching for this for a while, any help is GREATLY appreciated.

i want my php script to get incoming mail addressed to user@domain.com

user@domain.com currently has a mailbox in plesk under the Mail tab for domain.com.

in /var/qmail/alias/ i created the following aliases:

.qmail-user@domain.com
.qmail-user
.qmail-user-user
.qmail-user:domain.com

[because i dont know what format to use]

I also added this to /var/qmail/control/virtualhosts
user@domain.com:user

In the line above, "user" is not a unix user account though. Does it need to be?

How should I set up an alias? As you can see I've tried anything I could, but nothing so far has called my script.

p.s. where are logfiles i could check for this?

coopster

6:57 pm on Mar 3, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have you read through the qmail FAQ?

h**p://cr.yp.to/qmail/faq.html