[asterisk-users] Setup ReceiveFax(), fax2mail, mime-construct - but now Sendmail :(

Olivier oza-4h07 at myamail.com
Mon Dec 22 04:01:45 CST 2008


Hi,

2008/12/22 Andrew Thomas <andy at datavox.co.uk>

> You don't really need to use any local MTA if you use the sendEmail
> script.
>
> I got it from - http://www.caspian.dotconf.net/menu/Software/SendEmail/
>
> This actually works by 'talking' directly to any SMTP server - even
> remote ones (I use our Exchange server for our e-mails).


I will second Andrew's advice regrading SendEmail :
for me, SendEmail and esmtp were very easy to install, compared to default
exim4, which required a better understanding of emailing.

Though, I must also say I couldn't (in a short time frame) figure out how to
send emails using SendEmail and 1and1's AUTH LOGIN process.
(so I used another ISP which let me use AUTH PLAIN logins).

Cheers


>
>
> HTH
> Andy
>
>
> -->>  -----Original Message-----
> -->>  From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-
> -->>  bounces at lists.digium.com] On Behalf Of Anthony Messina
> -->>  Sent: 20 December 2008 02:47
> -->>  To: Asterisk Users Mailing List - Non-Commercial Discussion
> -->>  Subject: Re: [asterisk-users] Setup ReceiveFax(), fax2mail,mime-
> -->>  construct - but now Sendmail :(
> -->>
> -->>  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=<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?
> -->>  >
> -->>
> -->>  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<http://messinet.com/%7Eamessina/gallery>
> -->>  8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
>
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081222/3ca718bb/attachment.htm 


More information about the asterisk-users mailing list