informatica:linux:hylafax
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:hylafax [2009/10/27 18:57] – editor externo 127.0.0.1 | informatica:linux:hylafax [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| fax hylafax facsimil hylafax-server faxsend hfaxd | fax hylafax facsimil hylafax-server faxsend hfaxd | ||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Instalación y configuración inicial ===== | ===== Instalación y configuración inicial ===== | ||
| Line 96: | Line 92: | ||
| Si en el campo nº 11 (contando por la izquierda) hay un " | Si en el campo nº 11 (contando por la izquierda) hay un " | ||
| + | |||
| ===== Enviar por correo fax recibido ===== | ===== Enviar por correo fax recibido ===== | ||
| Line 111: | Line 108: | ||
| * [[informatica: | * [[informatica: | ||
| * Salida a internet de la máquina donde está instalado el servidor de faxes hylafax | * Salida a internet de la máquina donde está instalado el servidor de faxes hylafax | ||
| - | * Tener configurado un servidor de correo saliente, o bien [[informatica: | + | * Tener configurado un servidor de correo saliente, o bien [[informatica: |
| (Todo como root) | (Todo como root) | ||
| - | 1. nano / | + | 1. Editar: |
| + | |||
| + | | ||
| + | |||
| + | Y añadirle el siguiente contenido: | ||
| FILETYPE=pdf; | FILETYPE=pdf; | ||
| SENDTO=FaxMaster; | SENDTO=FaxMaster; | ||
| - | 2. nano / | + | 2. Editar: |
| + | |||
| + | | ||
| + | |||
| + | Y añadirle el siguiente contenido: | ||
| #!/bin/sh | #!/bin/sh | ||
| uuencode -m $1 $1 | grep -E -v " | uuencode -m $1 $1 | grep -E -v " | ||
| - | 3. chmod +x / | + | 3. Hacer el archivo ejecutable: |
| + | |||
| + | | ||
| 4. Crear los siguientes archivos: | 4. Crear los siguientes archivos: | ||
| Line 142: | Line 149: | ||
| TEMPLATE=es | TEMPLATE=es | ||
| - | 5. cp / | + | 5. Renombrar archivo: |
| - | 6. nano / | + | cp / |
| + | |||
| + | 6. Editar: | ||
| + | |||
| + | | ||
| Añadir estas dos lineas: | Añadir estas dos lineas: | ||
| Line 220: | Line 231: | ||
| / | / | ||
| + | |||
| ===== Fijar un horario de funcionamiento ===== | ===== Fijar un horario de funcionamiento ===== | ||
| Line 228: | Line 240: | ||
| Según esta configuración, | Según esta configuración, | ||
| + | |||
| + | |||
| + | |||
| + | ===== Configurar tiempos de espera máximos, reintentos... ===== | ||
| + | |||
| + | 1. Si se quiere para todo el sistema editar: | ||
| + | |||
| + | nano / | ||
| + | |||
| + | Si se quiere solo par un módem, por ejemplo ' | ||
| + | |||
| + | nano / | ||
| + | |||
| + | Y añadirle el siguiente código: | ||
| + | |||
| + | < | ||
| + | ##################### | ||
| + | |||
| + | # The delay in seconds to wait before retrying a job whose | ||
| + | # dialing attempt failed with a BUSY status result. | ||
| + | JobReqBusy: 10 | ||
| + | |||
| + | # The delay in seconds to wait before retrying a job whose | ||
| + | # dialing attempt failed with a NO ANSWER status result. | ||
| + | JobReqNoAnswer: | ||
| + | |||
| + | # The delay in seconds to wait before retrying a job whose | ||
| + | # dialing attempt failed with a NO CARRIER status result. | ||
| + | JobReqNoCarrier: | ||
| + | |||
| + | # requeue interval for data connection dial result | ||
| + | JobReqDataConn: | ||
| + | |||
| + | # requeue interval for carrier without +FCON dial result | ||
| + | JobReqNoFCon: | ||
| + | |||
| + | # requeue interval for '' | ||
| + | JobReqOther: | ||
| + | |||
| + | # requeue interval after fax protocol error | ||
| + | JobReqProto: | ||
| + | |||
| + | ##################### | ||
| + | |||
| + | # The number of times to redial a phone number after receiving | ||
| + | # a BUSY result code when the number has not been successfully dialed before. | ||
| + | JobRetryBusy: | ||
| + | |||
| + | # The number of times to redial a phone number after the dialing | ||
| + | # attempt failed because of NO ANSWER when the number has not been successfully dialed before. | ||
| + | JobRetryNoAnswer: | ||
| + | |||
| + | # The number of times to redial a phone number after the dialing | ||
| + | # attempt failed because of NO CARRIER when the number has not been successfully dialed before. | ||
| + | JobRetryNoCarrier: | ||
| + | |||
| + | # number of times to retry dialing on '' | ||
| + | NoCarrierRetrys: | ||
| + | |||
| + | # max phone calls to make to transmit a job | ||
| + | MaxDials: 6 | ||
| + | |||
| + | </ | ||
| + | |||
| + | 2. Grabar el archivo y salir | ||
| + | |||
| + | 3. Para que los cambios tomen efecto hay que reiniciar el servidor de faxes: | ||
| + | |||
| + | / | ||
| + | |||
| + | |||
| + | ===== El comando ' | ||
| + | |||
| + | *Solución*: | ||
| + | |||
| + | sudo faxadduser usuario | ||
| + | |||
| + | Eso solo no me funciona, asi que edito: | ||
| + | |||
| + | sudo vim / | ||
| + | |||
| + | Y le anyado lo siguiente: | ||
| + | |||
| + | < | ||
| + | localhost: | ||
| + | ^www-data@ | ||
| + | ^usuario@ | ||
| + | ^root@ | ||
| + | </ | ||
| + | |||
| + | Por si acaso reinicio hylafax: | ||
| + | |||
| + | sudo / | ||
| + | |||
informatica/linux/hylafax.1256669852.txt.gz · Last modified: (external edit)
