I'm running OneOrZero Task Managament System version 1.7.0.1 with PHP Version 5.2.1-pl3-gentoo, Apache 2 and MySQL 5. OS is Linux 2.6.19-gentoo-r5 #1 SMP.
Outbound mail works fine but inbound does not work at all. Well ok, smtp-traffic to my server works fine,
but sendmail can not forward mail to OneOrZero software:
Apr 27 10:21:54 helpdeskserver smrsh: uid 2: attempt to use "php /var/www/localhost/htdocs/
mailgate/m
ailGate.ph
p" (stat failed)
Apr 27 10:21:54 helpdeskserver sm-mta[10703]: l3R7LsUG010702: to="|php /var/www/localhost/htdocs/
mailgate/m
ailGate.ph
p", ctladdr=<helpdesk@helpdesk
server.myd
omain.com>
(2/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=32695, dsn=5.0.0, stat=Service unavailable
Apr 27 10:21:54 helpdeskserver sm-mta[10703]: l3R7LsUG010702: l3R7LsUG010703: DSN: Service unavailable
Well, I added symlinks to both php and mailGate.php in smrsh's folder which in this server is /usr/adm/sm.bin
Did not work, the error just changed to this:
Apr 27 10:26:21 helpdeskserver sm-mta[10814]: l3R7QLRJ010813: to="|php /var/www/localhost/htdocs/
mailgate/m
ailGate.ph
p", ctladdr=<helpdesk@helpdesk
server.myd
omain.com>
(2/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=32755, dsn=5.3.0, stat=unknown mailer error 255
Apr 27 10:26:21 helpdeskserver sm-mta[10814]: l3R7QLRJ010813: l3R7QLRJ010814: DSN: unknown mailer error 255
I also tried hard links and I even copied php and mailGate.php to /usr/adm/sm.bin
Still got that same unknown mailer error 255.
Here's what I have tried in my /etc/aliases, both variations seem to work same way:
#inbound mail for Task Management system
#helpdesk: "|php -c /etc/php/apache2-php5/php.
ini /var/www/localhost/htdocs/
mailgate/m
ailGate.ph
p"
helpdesk: "|php /var/www/localhost/htdocs/
mailgate/m
ailGate.ph
p"
As far as I can see there's also nothing in php.ini that could prevent this system to work.
I'm totally in dead end now and any help would be appreciated...
Start Free Trial