LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-05-2007, 11:42 AM   #1
havok1977
Member
 
Registered: Apr 2005
Distribution: Mint KDE on the Desktop, Debian on the Server
Posts: 66

Rep: Reputation: 15
MTA + Asterisk + Hylafax mail2fax configuration


Hello everyone, i have been trying to set up a reliable mail2fax service for a couple of months now; using Asterisk as the responsible software for making the actual FAX transmission.

I have tested quite extensively a solution called Asterfax (http://asterfax.sourceforge.net/) which does a fine job in converting any kind of document attached in the email and would work great if it didnt depend on the current development snapshots of the spandsp libraries and Asterisk extensions rx_fax and tx_fax (http://www.soft-switch.org/), which have not reached a production status and during my testing have proved to be unreliable and with a hit and miss performance when the actual faxing is made.

I am pressed to come up with a solution, so ive found implementations of Hylafax and Iaxmodem that log into Asterisk and are capable of faxing services and even mail2fax when configured in sync with a MTA.

I found a very complete hylafax+Asterisk howto, and after following it I have a set up that is able to make calls and in theory send faxes:

http://www.julianmenendez.es/documen...lafax_iaxmodem

But, i am currently stuck at configuring a MTA to achieve the mail2fax functionality, i have tried with exim and qmail with no success so far. I have been able to set up both MTAs to receive and send normal email messages, but the actual mail2fax configuration eludes me. This is what ive tried based on what i have found online:


Exim, based on example C035 of the config samples found at the main site, i have not found the right way to set up reception in a FAXNUMBER@domain manner:

######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
# ORDER DOES NOT MATTER #
# Only one appropriate transport is called for each delivery. #
######################################################################

# A transport is used only when referenced from a director or a router that
# successfully handles an address.

# Estas configuracoes sao para habilitar a envio de fax por email
fax:
driver = pipe
user = cpd
command ="/usr/bin/faxmail -d ${local_part}@${extract{1}{.}{$domain}}"
home_directory = /usr/bin

######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################

# Estas configuracoes sao para habilitar o envia de fax por email
fax:
driver = domainlist
transport = fax
route_list ="*.fax"

# End of Exim configuration file

I am sure that modifying the ${local_part}@${extract{1}{.}{$domain}} parameter sent to the faxmail binary is the key to be able to receve from FAXNUMBER@domain, but i have not found the right syntax.




And with qmailtoaster, hylafax includes a script named mailfax.sh-qmail, which states:


#!/bin/sh
#
# mailfax - email to fax gateway for qmail.
#
# This file should be installed as /local/etc/mailfax, and the
# following changes made to the qmail configuration:
#
# Add the following to /var/qmail/control/virtualdomains
# .fax:fax
#
# Add the following to /var/qmail/alias/.qmail-fax-default
# | /local/etc/mailfax
#

And after following the instructions, it also doesnt like the FAXNUMBER@domain incoming mail address syntax, i only get "no mailbox here by that name" reply message.

Does anyone here know how to correctly set this up? Ive been with this for quite some time dont know what else to try. Thanks in advance.

Last edited by havok1977; 01-18-2007 at 04:41 PM.
 
Old 04-18-2007, 12:47 PM   #2
cjunevicus
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Rep: Reputation: 15
Lightbulb Automated setup of iaxmodem and asterisk

The adminsparadise voip phone and fax server automatically setuup avantfax, hylafax, sambafax for you -- you will be able to send faxes from your desktop, or send them through a web page.

There are flash tutorials that guide you through it and screenshots
http://www.adminsparadise.com/walkth...adise-pbx.html

Its web based faxing make easy.. www.adminsparadise.com
and its free...

Quick start guide..
http://www.adminsparadise.com/Downlo...ne_and_Fax.pdf

later
 
Old 08-17-2008, 01:09 AM   #3
pkombala
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
adminsparadise

But adminsparadise not working thir site down no support don't try ...it time ..lose
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
asterisk configuration to make a call PC - PC through asterisk priya001 Linux - Server 0 11-08-2006 06:06 AM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 06:54 AM
sendmail configuration problems (hylafax mail to fax gateway) ricky_ds Linux - Software 0 11-07-2004 12:11 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
qmail configuration srikz Linux - Newbie 1 01-19-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration