On Friday 19 December 2008 20:24:11 sean darcy wrote: > Using 1.6 on Fedora Core 9 I'm trying to receive faxes. I've got this far: > > [incoming-fax] > exten => > s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0 >${CALLERIDNUM}) exten => s,2,ReceiveFAX(${FAXFILE}.tif) > exten => s,3,Hangup() > exten=>h,1,System(/usr/local/bin/fax2mail --cid-number "0${CALLERIDNUM}" > --cid-name "home fax" --dest-name "admin" --dest-email "${admin_email}" > -f "${FAXFILE}") > > which all seems work well on the CLI. No errors. > > fax2mail uses mime-contruct to send the fax by sendmail. That didn't work. > > No email. /var/log/maillog: > > Dec 19 21:04:53 asterisk sendmail[2628]: mBH2mWvQ006043: > to=<ad...@myco.com>, ctladdr=<r...@localhost.localdomain> (0/0), > delay=2+23:16:09, xdelay=00:00:00, mailer=esmtp, pri=6640305, > relay=mx01.1and1.com., dsn=4.0.0, stat=Deferred: Connection timed out > with mx01.1and1.com. > Dec 19 21:04:53 asterisk sendmail[2628]: mBH2mWvS006043: > to=<ad...@myco.com>, ctladdr=<r...@localhost.localdomain> (0/0), > delay=2+23:16:09, xdelay=00:00:00, mailer=esmtp, pri=6640312, > relay=mx00.1and1.com., dsn=4.0.0, stat=Deferred: Connection timed out > with mx00.1and1.com. > > I've avoided MTA's like sendmail for a _long_ time. So I need help. > > 1. Is this the right list to try to resolve this? If not, which list? > > 2. postfix seems to considered much easier to configure than sendmail. > Do I install postfix? If so, will this work out of the box? > > 3. If sendmail, what's the magic configuration? >
i'm still working on this, but take a look at http://messinet.com/viewvc/asterisk-fax-gw/trunk/ currently, i use postfix, which seems easier to me to configure than sendmail -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users