sieve error when adding pipe to costum mail fields

Discussion in 'ISPConfig 3 Priority Support' started by nokia80, Oct 4, 2014.

  1. nokia80

    nokia80 Member HowtoForge Supporter

    Hi all,

    I got a problem i always get this error in sieve.log

    sieve: info: started log at xxxx.
    main script: line 5: error: unexpected string found at (the presumed) end of file.
    main script: error: parse failed.
    sieve: info: started log at xxxx.
    main script: line 5: error: unexpected string found at (the presumed) end of file.
    main script: error: parse failed.

    The web site whit the pipe.php file is on ns1.xxx.xx
    The mail server is on ns4.xxx.xx
    And the controle ispconfig panel is on ns2.xxx.xx

    in the controle panel i tired "|/var/www/xxx.xx/web/xxx/pipe/pipe.php" and
    |/var/www/xxx.xx/web/xxx/pipe/pipe.php

    I use debian and mine pipe.php file begins whit:

    #!/usr/bin/php
    <?php
    ....
    rest of code....
    ....
    ?>

    no sucses yet always a error like this:
    sieve: info: started log at xxx.
    main script: line 5: error: unexpected character(s) starting with '|'.
    main script: line 5: error: unexpected unknown characters found at (the presumed) end of file.
    main script: error: parse failed.
    sieve: info: started log at xxx.
    main script: line 5: error: unexpected character(s) starting with '''.
    main script: line 5: error: unexpected unknown characters found at (the presumed) end of file.
    main script: error: parse failed.
    sieve: info: started log at xxx.
    main script: line 5: error: unexpected character(s) starting with '''.
    main script: line 5: error: unexpected unknown characters found at (the presumed) end of file.
    main script: error: parse failed.

    I doit get it

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The sieve filtering language does not support piping emails to a script. Thats not ispconfig specific, its a limitation of sieve.
     
  3. nokia80

    nokia80 Member HowtoForge Supporter

    Ok understand

    Solved i use now pop script to load the mails in the support system.
     

Share This Page