Custom mail filter recipe Sieve syntax

Discussion in 'Installation/Configuration' started by bluebirdnet, Mar 11, 2013.

  1. bluebirdnet

    bluebirdnet New Member

    Hello,

    I hope someone can save me here, i moved my support system to a new server and we went from Courrier to Dovecot, so its in Sieve format now.

    I have been looking at .sieve.log file and there are errors when emails come in and they dont get piped.

    I am trying to pipe emails into our support system. The script is a php script, more specifically var/www/clients/client1/web3/web/pipe/pipe.php

    Does anyone know the exact syntax to pipe into a php script?

    The old way i was doing was

    to "| php -q /var/www/whmcs/pipe/pipe.php"

    but thats Maildrop format i believe.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Sieve does not support piping of emails to scripts or other applications.
     
  3. bluebirdnet

    bluebirdnet New Member

    Hi Till,

    Thanks for your reply.

    Must i now remove Dovecot and install Courrier?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I dont think thats nescessary. There are other options to pipe mail to a script e.g. by using a postfix alias.
     

Share This Page