ISPConfig 3 - Custom Rules question

Discussion in 'Installation/Configuration' started by Vilk, Jun 25, 2009.

  1. Vilk

    Vilk New Member

    Hello !

    I just migrating my old mail server to new one on ubuntu and ispconfig 3 everything works fine but i got small problem. In old mail serwer i use procmail to inform some users by sms about new email, this works this way i got special email address from my mobile operator for each user and when i send email to this address user get subject in mobile, my procmail looks this way:
    :0 ch
    * ^From:.*(
    | (formail -I"To: [email protected]" -I"Cc: " -I"Content-Type: "; echo ":" ) | $SENDMAIL -t [email protected]
    how do this using custom rules ?
    pls help
    Last edited: Jun 25, 2009
  2. Vilk

    Vilk New Member

    problem resolve :)

    this is how i do this:
    if (/^From:.*myserver\.com/:h)
    exception {
    cc '| /usr/bin/formail -X "" -I"To: [email protected]" -I"Cc: " -I"Content-Type: " | $SENDMAIL -f "[email protected]" [email protected]'
    ### END FILTER_ID:1
  3. xxfog

    xxfog New Member

    Hi Vilk,

    which mobile-operator do you use?

Share This Page