Email to scripts

Discussion in 'Installation/Configuration' started by kippi, Nov 12, 2006.

  1. kippi

    kippi New Member

    Hey,

    Is there away to send e-mails to a script?

    For our helpdesk when people e-mail in it goes to a script that logs it in the helpdesk.

    Many Thanks

    Chris.
     
  2. djtremors

    djtremors ISPConfig Developer ISPConfig Developer

    What i do is redirect the email (ie. forward it) to one of the local account for processing via an aliase. ie

    support@virtdomain.com -> maillistfilter@localhostdomain.com

    /etc/postfix/aliases
    PHP:
    maillistfilter"| /bin/maillistfilter"
    then run 'newaliases'

    process what you need to do in the script and redirect it to your real local mail account with whatever changes or just finish it if it's not to forward the mail on.

    works for me.
    PHP:
     
    Last edited: Nov 12, 2006
  3. falko

    falko Super Moderator ISPConfig Developer

Share This Page