Fax configuration

Discussion in 'General' started by vitsoft, Aug 8, 2007.

  1. vitsoft

    Joined:
    Jun 5, 2007
    Messages:
    13
    Likes Received:
    1
    A few question about configuration of the virtual fax :

    1) when I put an email address with a minus sign ('-'), for example info@it-example.com, I receive an error "wrong email address". Why, this is not a wrong email address ?

    2) The email received from the fax server contain the link to ftp. Where I can modify the message to remove the ftp link ?

    Thanks in advance.
     
  2. vitsoft

    Joined:
    Jun 5, 2007
    Messages:
    13
    Likes Received:
    1
    I find the solutions :

    1) modify the file

    /var/www/html/libs/paloSantoValidar.class.php
    change this line

    if(!eregi("^([a-z0-9]+(\.[a-z0-9\-_]+)*@[a-z0-9]+(\.[a-z0-9\-_]+)*(\.[a-z-]{2,3}))+$", $variable)) {

    with

    if(!eregi("^([a-z0-9]+(\.[a-z0-9\-_]+)*@[a-z0-9.-]+(\.[a-z0-9\-_]+)*(\.[a-z-]{2,3}))+$", $variable)) {

    2) The file that are involved are in the following directory :
    /var/spool/hylafax/etc/templates/en
     

Share This Page