Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail to Pipe php script

Discussion in 'E-mail Discussion' started by jameshsi, Nov 9, 2006.

  1. jameshsi

    jameshsi Well-Known Member

    Oct 22, 2001
    Likes Received:
    Trophy Points:
    I have a setting in my /etc/valiases/ ,
    I set mail pipe to a php script :
    pipe to |php -q /home/xxx/www/modules/mail_pipe.php

    it was working fine before, pipe mail to the php script and save something in the MySQL database, and then, reply a email to sender.

    Now, it still working but sender will receive 2 emails, one is what we want, and the other is sent by , and shows below messages:

    This message was created automatically by mail delivery software.
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
     pipe to |php -q /home/xxx/www/modules/mail_pipe.php
       generated by
    The following text was generated during the delivery attempt:
    ------ pipe to |php -q /home/xxx/www/modules/mail_pipe.php
          generated by ------
    PHP Warning:  Unknown(): Unable to load dynamic library './php_domxml.dll' - ./php_domxml.dll: cannot open shared object file: No such file or directory in Unknown on line 0

    Anyone got an idea ?
  2. freedman

    freedman Well-Known Member

    Feb 13, 2005
    Likes Received:
    Trophy Points:
    umm. yeah.. your php script is trying to find a file './php_domxml.dll' which it can't find.
    check mail_pipe.php and all it's includes and find out which ones trying to load that DLL file. either remove the include line or put that file in the php include path.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice