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

2008-12-24 Thread Anthony Messina
On Tuesday 23 December 2008 05:00:10 Tzafrir Cohen wrote:
 And this is a reminder: they don't queue mail. Hence if they fail to
 deliver once, the mail is lost. May not be the best idea for sending
 mail over the internet.

This is a great reminder as many systems use graylisting.  Emails to those 
systems will fail with a send once type system.
-- 
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

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

2008-12-23 Thread Tzafrir Cohen
On Mon, Dec 22, 2008 at 09:33:18AM -, Andrew Thomas wrote:
 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/

Which is essentially the same as using ssmtp  / esmtp / nullmailer 
(non-queuing sendmail replacements). 

The mentioned prorams actually give you the same command-line interface
as sendmail, and hence require less (if at all) change  of
voicemail.conf.

 
 This actually works by 'talking' directly to any SMTP server - even
 remote ones (I use our Exchange server for our e-mails).

And this is a reminder: they don't queue mail. Hence if they fail to
deliver once, the mail is lost. May not be the best idea for sending
mail over the internet.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- 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


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

2008-12-22 Thread Andrew Thomas
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).

HTH
Andy


--  -Original Message-
--  From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-
--  boun...@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=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


___
-- 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


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

2008-12-22 Thread Olivier
Hi,

2008/12/22 Andrew Thomas a...@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-boun...@lists.digium.com
 [mailto:asterisk-users-
 --  boun...@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=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/galleryhttp://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

___
-- 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

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

2008-12-19 Thread sean darcy
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?

sean


___
-- 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


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

2008-12-19 Thread Anthony Messina
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