[asterisk-users] Setup ReceiveFax(), fax2mail, mime-construct - but now Sendmail :(
sean darcy
seandarcy2 at gmail.com
Fri Dec 19 20:24:11 CST 2008
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=<admin at myco.com>, ctladdr=<root at 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=<admin at myco.com>, ctladdr=<root at 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?
sean
More information about the asterisk-users
mailing list