problem with pipe command for mailbox

aardening

Verified User
Joined
Aug 20, 2004
Messages
7
I have a webmail programm (socketmail) running for a user group, where they can enlist and choose between different domains as mailaddress.

I use this programm in combination with a pipe command as catch all, so e-mail is sent directly to the programm.

In DA I have created a catch all like:

|/usr/local/bin/php -q /home/username/domains/domain.nl/public_html/mail/system-files/mx.php

This is working just fine for the same domain where the e-mail script has been installed.

However, when I use this pipe for other domainnames on my server, mail is not delivered and I receive an error message:

pipe to |/usr/local/bin/php -q /home/username/domains/domain.nl/public_html/mail/system-files/mx.php
generated by [email protected]
local delivery failed

So it seems to me that there is somthing wrong in the path in the pipe and the mx.php is activated.....

Is there anyone who knows more about this issue or knows how the path should be composed?

Thanx,

Ron.
 
I have solved the problem partly.

When I delete the domains, which are registered by another user (user 2) and I create them again under the same user (user 1) who is also running the mailscript, everything works fine an e-mail is delivered instantly to the users of the other domains.

So I am looking for a way to create a pipe that is using a php-script of another DA user.........

Ron
 
Back
Top