[asterisk-users] sendmail

2009-12-19 Thread Thomas Perron
Anyone have a cookbook on configuring sendmail to work with Asterisk?
Or,a few config examples.

___
-- 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] sendmail problems

2003-12-23 Thread jr.richardson
Hello,

I'm having some * and sendmail integration problems, probably because i don't know too 
much about sendmail.  My server crashes when I forward voicemail from one * voicemail 
box to another, everything else works.  E-mail notification works on all boxes when 
new mail arives, the problem only seems to occur during this forwarding function.  
It's a difficult problem to troubleshoot.  If I start * -gc, the server doesn't crash, 
just hangs up for about 60 seconds then completes the task, so i can't seem to get a 
core dump to dive into the specifics of what's going on.  I'm not sure how to debug 
sendmail to look at that side.  If someone would be kind enough to e-mail me some 
sample sendmail.cf files, I may be able to see if I'm not configure properly.  I've 
been reading the sendmail.org site but this application is really archain and 
difficult for me to understand enough to fix it myself.  Thanks in advance.

JR

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] sendmail file

2008-06-29 Thread fateme fatah
Hi:
How can I configure sendmail file to asterisk send voicemails to my 
mail.sendmail file in /usr/sbin is a read only file.
I'd appreciate any help.




  ___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] sendmail problem

2007-02-12 Thread Pezhman Lali
Hi
We have a SER + asterisk server, on the same computer.
after starting sendmail service , the ser will be
confused.
we need sendmail to send voicemails .
best
Mani



 

Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] sendmail

2009-12-19 Thread Jim Dickenson
You do not need any special sendmail options/settings/configuration to use it 
with Asterisk. If you are talking about sending voicemail notices then you just 
need to point mailcmd in voicemail.conf to a command that can send the message.
-- 
Jim Dickenson
mailto:dicken...@cfmc.com

CfMC
http://www.cfmc.com/



On Dec 19, 2009, at 8:20 AM, Thomas Perron wrote:

> Anyone have a cookbook on configuring sendmail to work with Asterisk?
> Or,a few config examples.
> 
> ___
> -- 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


Re: [asterisk-users] sendmail

2009-12-19 Thread Steve Edwards
On Sat, 19 Dec 2009, Thomas Perron wrote:

> Anyone have a cookbook on configuring sendmail to work with Asterisk? 
> Or,a few config examples.

You don't configure sendmail to work with Asterisk, you configure Asterisk 
to work with sendmail.

What are you trying to accomplish?

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

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

2009-12-20 Thread James Stocks
On 19 Dec 2009, at 16:20, Thomas Perron wrote:

> Anyone have a cookbook on configuring sendmail to work with Asterisk?
> Or,a few config examples.

Postfix is a drop-in replacement for sendmail.  I find it to be far, far 
simpler to administer.

Take a look at http://www.postfix.org/documentation.html
___
-- 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] sendmail

2009-12-20 Thread Luis Morales
Try installa sstmp for mail delivery.

Regards,


On Sun, Dec 20, 2009 at 11:50 AM, Thomas Perron  wrote:
> Anyone have a cookbook on configuring sendmail to work with Asterisk?
> Or,a few config examples.
>
> ___
> -- 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
>



-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
"Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible"

Leonardo Da'Vinci
-

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

2009-12-20 Thread Steve Edwards
On Mon, 21 Dec 2009, Luis Morales wrote:

> Try installa sstmp for mail delivery.

Or ssmtp :)

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

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

2009-12-20 Thread Tzafrir Cohen
On Sun, Dec 20, 2009 at 08:41:43AM -0800, Steve Edwards wrote:
> On Mon, 21 Dec 2009, Luis Morales wrote:
> 
> > Try installa sstmp for mail delivery.
> 
> Or ssmtp :)

Note, however, that ssmtp (and similar programs, such as nullmailer)
are simpler mainly because they do not handle a mail queue. If they
can't send a mail they simply fail. OTOH, Asterisk will not attempt to
resend a message it has failed to send. I'm not even sure it will give
you a decent warning about it.

Thus if you expect voicemail messages or to be dewlivered by email, and
the network was down for a short while, voicemail messages will be lost.

-- 
   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] sendmail

2009-12-20 Thread meetmecall


I used msmtp for delivering mail and this is the procedure I  
documented once, based on info I found on the internet. I hope it is  
of help.



Erik

Step 1  Installing needed packages/libs on your system

install this packages (I'm not sure if all the packages are needed but  
with this packages it works)


 apt-get install libwww-perl
 apt-get install openssl
 apt-get install libcrypt-ssleay
 apt-get install libnet-ssleay-perl
 apt-get install libcrypt-ssleay-perl


Step 2  download msmtp

download msmtp van sourceforge (http://sourceforge.net/projects/ 
msmtp/) to /usr/src/


Step 3

bunzip2 msmtp.tar.bz2

tar -xvf msmtp.tar
cd  /usr/src/msmtp[tab]

Step 4

built msmtp

./configure
make
make install


Step 5

check if msmtp is on the system and if the output looks like below.

# msmtp --version

msmtp version 1.4.9
TLS/SSL library: GnuTLS
Authentication library: GNU SASL
Supported authentication methods:
plain cram-md5 digest-md5 gssapi external login
IDN support: enabled
NLS: enabled, LOCALEDIR is /usr/share/locale
System configuration file name: /etc/msmtprc
User configuration file name: /root/.msmtprc

Copyright (C) 2006 Martin Lambers and others.
This is free software.  You may redistribute copies of it under the  
terms of

the GNU General Public License .
There is NO WARRANTY, to the extent permitted by law.

Step 6
Make a symlink from /usr/local/bin/msmtp to /usr/sbin/sendmail  (the  
name of the symlink is sendmail)


#  ln -s /usr/local/bin/msmtp /usr/sbin/sendmail

Step 7
Add /root/.msmtprc (be aware of the dot) to the system with only owner  
read and write permissions and with this lines (adjust to your x...@gmail.com 
 account).  This way it works for a gmail account



defaults
logfile /var/log/msmtp.log

account default
from @gmail.com
protocol smtp
host smtp.gmail.com
port 587
user @gmail.com
password 
auth on
tls on
tls_certcheck on
tls_trust_file /root/cert.pem



Step 8  certificate file

copy the certificate file to the root directory
/root/cert.pem copied on system  (see attachement)


Step 9 configuration of /etc/asterisk/voicemail.conf

Add this to /etc/asterisk/voicemail.conf as a replacement of the  
"mailcmd =" line

mailcmd=/usr/sbin/sendmail -v -t -f @gmail.com

and uncomment  "attach = yes

Add a vociemailbox to the system in [default] of voicemail.conf

[default]
; Define maximum number of messages per folder for a particular context.
;maxmsg=50

500 => 1234,,

step 10 adding a test extension to the system

Add an extension to /etc/asterisk/extension.conf to test de setup

something like

exten => 888,1,Answer()
exten => 888,n,Voicemail(500)

If you call 888 with in internal phone you enter the voicemail routine  
and a recording will be made. After finishing you will receive an e- 
mail with the recording as an attachement.



And you are done

On 20 dec 2009, at 11:51, James Stocks wrote:


On 19 Dec 2009, at 16:20, Thomas Perron wrote:


Anyone have a cookbook on configuring sendmail to work with Asterisk?
Or,a few config examples.


Postfix is a drop-in replacement for sendmail.  I find it to be far,  
far simpler to administer.


Take a look at http://www.postfix.org/documentation.html
___
-- 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

Re: [asterisk-users] sendmail

2009-12-20 Thread Tzafrir Cohen
On Sun, Dec 20, 2009 at 06:38:54PM +0100, meetmecall wrote:
>
> I used msmtp for delivering mail and this is the procedure I documented 
> once, based on info I found on the internet. I hope it is of help.
>
>
> Erik
>
> Step 1  Installing needed packages/libs on your system
>
> install this packages (I'm not sure if all the packages are needed but  
> with this packages it works)
>
>  apt-get install libwww-perl
>  apt-get install openssl
>  apt-get install libcrypt-ssleay
>  apt-get install libnet-ssleay-perl
>  apt-get install libcrypt-ssleay-perl
>
>
> Step 2  download msmtp
>
> download msmtp van sourceforge (http://sourceforge.net/projects/msmtp/) 
> to /usr/src/
>
> Step 3
>
> bunzip2 msmtp.tar.bz2
>
> tar -xvf msmtp.tar
> cd  /usr/src/msmtp[tab]
>
> Step 4
>
> built msmtp
>
> ./configure
> make
> make install
>
>
> Step 5
>
> check if msmtp is on the system and if the output looks like below.
>
> # msmtp --version
>
> msmtp version 1.4.9
> TLS/SSL library: GnuTLS
> Authentication library: GNU SASL
> Supported authentication methods:
> plain cram-md5 digest-md5 gssapi external login
> IDN support: enabled
> NLS: enabled, LOCALEDIR is /usr/share/locale
> System configuration file name: /etc/msmtprc
> User configuration file name: /root/.msmtprc
>
> Copyright (C) 2006 Martin Lambers and others.
> This is free software.  You may redistribute copies of it under the  
> terms of
> the GNU General Public License .
> There is NO WARRANTY, to the extent permitted by law.

Alternatively: 

  aptitude install msmtp

Try also:

  dpkg-reconfigure msmtp

to reconfigure it.

>
> Step 6
> Make a symlink from /usr/local/bin/msmtp to /usr/sbin/sendmail  (the  
> name of the symlink is sendmail)
>
> #  ln -s /usr/local/bin/msmtp /usr/sbin/sendmail
>
> Step 7
> Add /root/.msmtprc (be aware of the dot) to the system with only owner  
> read and write permissions and with this lines (adjust to your 
> x...@gmail.com account).  This way it works for a gmail account

Asterisk running as root?

>
>
> defaults
> logfile /var/log/msmtp.log
>
> account default
> from @gmail.com
> protocol smtp
> host smtp.gmail.com
> port 587
> user @gmail.com
> password 
> auth on
> tls on
> tls_certcheck on
> tls_trust_file /root/cert.pem
>
>
>
> Step 8  certificate file
>
> copy the certificate file to the root directory
> /root/cert.pem copied on system  (see attachement)

Why would you mess with that? Why would you need a worthless
(self-signed) certificate?

>
>
> Step 9 configuration of /etc/asterisk/voicemail.conf
>
> Add this to /etc/asterisk/voicemail.conf as a replacement of the  
> "mailcmd =" line
> mailcmd=/usr/sbin/sendmail -v -t -f @gmail.com
>
> and uncomment  "attach = yes
>
> Add a vociemailbox to the system in [default] of voicemail.conf
>
> [default]
> ; Define maximum number of messages per folder for a particular context.
> ;maxmsg=50
>
> 500 => 1234,,
>
> step 10 adding a test extension to the system
>
> Add an extension to /etc/asterisk/extension.conf to test de setup
>
> something like
>
> exten => 888,1,Answer()
> exten => 888,n,Voicemail(500)
>
> If you call 888 with in internal phone you enter the voicemail routine  
> and a recording will be made. After finishing you will receive an e-mail 
> with the recording as an attachement.
>
>
> And you are done
>
> On 20 dec 2009, at 11:51, James Stocks wrote:
>
>> On 19 Dec 2009, at 16:20, Thomas Perron wrote:
>>
>>> Anyone have a cookbook on configuring sendmail to work with Asterisk?
>>> Or,a few config examples.
>>

>> Postfix is a drop-in replacement for sendmail.  I find it to be far,  
>> far simpler to administer.

Let's abuse the fact that someone overquoted to demonstrate that. Though
this is untested.


aptitude install postfix
cat <>/etc/postfix/main.cf
relayhost = relayhost = [smtp.gmail.com]:587

# The following options set parameters needed by Postfix to enable
# Cyrus-SASL support for authentication of mail servers.
#
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous

# TLS client support:
# see /usr/share/doc/postfix-tls/html/conf.html
smtp_use_tls = yes
smtp_tls_CApath = /etc/ssl/certs/
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_session_cache_database = btree:/etc/postfix/smtp_scache
smtp_tls_security_level = may
EOF

echo 'smtp.gmail.com @gmail.com ' >/etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd
/etc/init.d/postfix reload

echo testing, 1, 2 3 | mail -s test ...@example.net


-- 
   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/a

Re: [asterisk-users] sendmail

2009-12-20 Thread Darrick Hartman
On 12/20/2009 11:38 AM, meetmecall wrote:
>
> I used msmtp for delivering mail and this is the procedure I documented
> once, based on info I found on the internet. I hope it is of help.
>

msmtp also has a rudimentary 'queue' option if you use the msmtpQ/msmtpq 
scripts

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

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

2009-12-21 Thread Lenz Emilitri
I think that ssmtp has something like that, IIRC. I think it can spool
failed deliveries and you can then push them though a cronjob.
l.


2009/12/20 Darrick Hartman 

> On 12/20/2009 11:38 AM, meetmecall wrote:
> >
> > I used msmtp for delivering mail and this is the procedure I documented
> > once, based on info I found on the internet. I hope it is of help.
> >
>
> msmtp also has a rudimentary 'queue' option if you use the msmtpQ/msmtpq
> scripts
>

-- 
Loway - home of QueueMetrics - http://queuemetrics.com
___
-- 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] sendmail problems

2003-12-23 Thread Chris Albertson


You say "The server crashes"  I assume you mean that Asterisk
core dumps and sendmail continues to run just fine.  If you
can send mail out of the box sendmail is confgured well
enough and I doubt the problem is there.

If you can get Asterisk to dump then what you need to do is
use a debugger to get a backtrace.  This will tell to the
line (as i line of coe) that caused the crash.  The thing to
remember to that if a program crashed it is due to t bug..
There _should_ be no way for a user through misconfiguration
to cause a core dump.  What you are looking for is a little
bit od C cde that doesn't handle some condition well.  If yu
use "gdb" and the "bt" commad you can find the line 
Asterisk was executing when it crashed.

I'd not suspect sendmail 

--- [EMAIL PROTECTED] wrote:
> Hello,
> 
> I'm having some * and sendmail integration problems, probably because
> i don't know too much about sendmail.  My server crashes when I
> forward voicemail from one * voicemail box to another, everything
> else works.  E-mail notification works on all boxes when new mail
> arives, the problem only seems to occur during this forwarding
> function.  It's a difficult problem to troubleshoot.  If I start *
> -gc, the server doesn't crash, just hangs up for about 60 seconds
> then completes the task, so i can't seem to get a core dump to dive
> into the specifics of what's going on.  I'm not sure how to debug
> sendmail to look at that side.  If someone would be kind enough to
> e-mail me some sample sendmail.cf files, I may be able to see if I'm
> not configure properly.  I've been reading the sendmail.org site but
> this application is really archain and difficult for me to understand
> enough to fix it myself.  Thanks in advance.
> 
> JR
> 
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users


=
Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Sendmail for Voicemail

2008-10-28 Thread asterisk-users
When I send email from my local asterisk machine, my IP address get's
RBL'd.  

Asterisk is my only reason for running sendmail, so to keep it simple, I
tried to make my ISP's mail server a 'smart host' (relaying to a trusted
mail server) but my ISP doesn't allow ANY kind of relaying these days.  

I imagine there are many like me who are not sendmail experts who want
to send Asterisk Voicemal.  Can someone direct me to the quick, dirty
and secure way to send mail from my asterisk box?  The good news is that
I'm on a Fixed IP on a registered network with working reverse
in-addr.arpa lookups, and as you might have guessed, all mail would
originate from the local host.

Suggestions?
Thanks!

-Karl

___
-- 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] sendmail file

2008-06-29 Thread Pezhman Lali
your mail is not clear at all.
if you want to change the path of sendmail ,do this with mailcmd, in the 
voicemail.conf,
if you want to send a voicemail to a class of emails, using dbase is more 
easier.

let me to know more, about your problem.


--- On Sun, 6/29/08, fateme fatah <[EMAIL PROTECTED]> wrote:

> From: fateme fatah <[EMAIL PROTECTED]>
> Subject: [asterisk-users] sendmail file
> To: asterisk-users@lists.digium.com
> Date: Sunday, June 29, 2008, 12:18 PM
> Hi:
> How can I configure sendmail file to asterisk send
> voicemails to my mail.sendmail file in /usr/sbin is a read
> only file.
> I'd appreciate any
> help.___
> -- Bandwidth and Colocation Provided by
> http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> 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 --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Sendmail with exchange

2006-02-10 Thread Jordan Novak
 
I am using Asterisk to send Voicemail out as Email. I am running into a
problem I believe to be caused by the exchange server requiring SMTP
authentication. I cannot get the sys admin's to turn it off. Does anyone
know enough about sendmail to help me. I am assuming that the default
mail client is sendmail. It will also send to other non-SMTP
authenticated servers. Your help is much appreciated.

Jordan Novak
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] sendmail or postfix?

2006-11-29 Thread Zeeshan Zakaria

For voicemail to email solution, just wanted to ask the experts, which one
is better and why: sendmail or postfix, or something other.

--
Zeeshan A Zakaria
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Sendmail not on localhost

2003-12-09 Thread Ralf Illing








Hi …

 

I already set-up sendmail on
another network server thus it would be nice to use that one or is sendmail on * server required!?

I had a look in the archive but couldn’t find any
information where to set the mail server from localhost
to my network server …

 

Cheers

Ralf

 








Re: [asterisk-users] Sendmail for Voicemail

2008-10-28 Thread Lyle Giese
You need to implement SMTP-AUTH and log in when sending mail to your
smart host. I have a template for Postfix to do that. Many *nix distros
have Postfix with a sendmail compatible binary in front of it.

Lyle Giese
LCR Computer Services, Inc.

[EMAIL PROTECTED] wrote:
> When I send email from my local asterisk machine, my IP address get's
> RBL'd.  
>
> Asterisk is my only reason for running sendmail, so to keep it simple, I
> tried to make my ISP's mail server a 'smart host' (relaying to a trusted
> mail server) but my ISP doesn't allow ANY kind of relaying these days.  
>
> I imagine there are many like me who are not sendmail experts who want
> to send Asterisk Voicemal.  Can someone direct me to the quick, dirty
> and secure way to send mail from my asterisk box?  The good news is that
> I'm on a Fixed IP on a registered network with working reverse
> in-addr.arpa lookups, and as you might have guessed, all mail would
> originate from the local host.
>
> Suggestions?
> Thanks!
>
> -Karl
>
> ___
> -- 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


Re: [asterisk-users] Sendmail for Voicemail

2008-10-28 Thread David
[EMAIL PROTECTED] wrote:
> When I send email from my local asterisk machine, my IP address get's
> RBL'd.  
>   

I use msmtp;
http://msmtp.sourceforge.net/



Here is my /etc/msmtprc

account default
host mail.bellsouth.net
auto_from on
maildomain bellsouth.net
syslog LOG_MAIL

/etc/asterisk/voicemail.conf
[default]

1000 => ,David Abbott,[EMAIL PROTECTED]



-- 
Powered by Gentoo GNU/LINUX
http://www.linuxcrazy.com



___
-- 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] Sendmail for Voicemail

2008-10-29 Thread Todd
I use PostFix and MailHop Outbound from Dyndns.com.  They will accept  
your outgoing email on multiple ports to help with the blocking  
problem.  It's $15/year for a limited number of messages.
   Todd


On Oct 28, 2008, at 7:39 PM, [EMAIL PROTECTED] wrote:

> When I send email from my local asterisk machine, my IP address get's
> RBL'd.
>
> Asterisk is my only reason for running sendmail, so to keep it  
> simple, I
> tried to make my ISP's mail server a 'smart host' (relaying to a  
> trusted
> mail server) but my ISP doesn't allow ANY kind of relaying these days.
>
> I imagine there are many like me who are not sendmail experts who want
> to send Asterisk Voicemal.  Can someone direct me to the quick, dirty
> and secure way to send mail from my asterisk box?  The good news is  
> that
> I'm on a Fixed IP on a registered network with working reverse
> in-addr.arpa lookups, and as you might have guessed, all mail would
> originate from the local host.
>
> Suggestions?
> Thanks!
>
> -Karl
>
> ___
> -- 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


Re: [asterisk-users] Sendmail for Voicemail

2008-10-29 Thread Gordon Henderson
On Tue, 28 Oct 2008, [EMAIL PROTECTED] wrote:

> When I send email from my local asterisk machine, my IP address get's
> RBL'd.
>
> Asterisk is my only reason for running sendmail, so to keep it simple, I
> tried to make my ISP's mail server a 'smart host' (relaying to a trusted
> mail server) but my ISP doesn't allow ANY kind of relaying these days.

So how do you normally send email? How did you send this one?

> I imagine there are many like me who are not sendmail experts who want
> to send Asterisk Voicemal.

One solution would be to switch from sendmail to something you know - but 
I'm guessing you're using some canned asterisk solution which comes with 
sendmail?

>  Can someone direct me to the quick, dirty
> and secure way to send mail from my asterisk box?  The good news is that
> I'm on a Fixed IP on a registered network with working reverse
> in-addr.arpa lookups, and as you might have guessed, all mail would
> originate from the local host.

So the fixed IP with reverse DNS isn't helping you get by the RBLs - a lot 
of which "know" the ISP end-user ranges...

Your ISP must allow some sort of email relaying to let you send email from 
your desktop - unless they're forcing you to use a webmail solution?

Do they actively block outbound port 25?

If they genuinely don't provide email relaying, then you might have to 
enlist the services of an indepedant ISP and relay via their servers - 
this will almsot certinly involve some sort of authentication - usually 
SMTP-AUTH, which is very possible in sendmail, but might not work in a 
pre-canned version.

I've used and worked with sendmail for more years than I care to remember, 
but it seems here that the issue isn't neccessarily with sendmail, but 
with your ISP..

Gordon


___
-- 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] Sendmail for Voicemail

2008-10-30 Thread Olivier
I tried successfully esnmp ...

2008/10/29 David <[EMAIL PROTECTED]>

> [EMAIL PROTECTED] wrote:
> > When I send email from my local asterisk machine, my IP address get's
> > RBL'd.
> >
>
> I use msmtp;
> http://msmtp.sourceforge.net/
>
>
>
> Here is my /etc/msmtprc
>
> account default
> host mail.bellsouth.net
> auto_from on
> maildomain bellsouth.net
> syslog LOG_MAIL
>
> /etc/asterisk/voicemail.conf
> [default]
>
> 1000 => ,David Abbott,[EMAIL PROTECTED]
>
>
>
> --
> Powered by Gentoo GNU/LINUX
> http://www.linuxcrazy.com
>
>
>
> ___
> -- 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

Re: [asterisk-users] Sendmail for Voicemail

2008-10-31 Thread Brent Davidson
I ran into almost this exact same problem when I first installed 
asterisk.  My company uses a virtualdomain hosted by our isp.  We'll 
call it mycompany.com for example.  When I first set everything up I 
wasn't able to send any mail from the asterisk server even though it was 
on an accepted IP.  The problem turned out to be that I did not use an 
FQDN along with the e-mail address on the server.  Setting 
[EMAIL PROTECTED] in voicemail.conf didn't solve the 
problem so I tried creating an actual mailbox under our virtual domain 
called voicemail.  That still didn't work.  For some reason sendmail was 
still passing "[EMAIL PROTECTED]" to the mail server.  What ultimately 
solved the problem was setting mailcmd=/usr/sbin/sendmail -t -f 
[EMAIL PROTECTED] in voicemail.conf.  After that relaying worked 
perfectly.

Apparently the account had to both exist under our domain and be passed 
correctly by sendmail.

Good luck,
Brent

[EMAIL PROTECTED] wrote:
> When I send email from my local asterisk machine, my IP address get's
> RBL'd.  
>
> Asterisk is my only reason for running sendmail, so to keep it simple, I
> tried to make my ISP's mail server a 'smart host' (relaying to a trusted
> mail server) but my ISP doesn't allow ANY kind of relaying these days.  
>
> I imagine there are many like me who are not sendmail experts who want
> to send Asterisk Voicemal.  Can someone direct me to the quick, dirty
> and secure way to send mail from my asterisk box?  The good news is that
> I'm on a Fixed IP on a registered network with working reverse
> in-addr.arpa lookups, and as you might have guessed, all mail would
> originate from the local host.
>
> Suggestions?
> Thanks!
>
> -Karl
>   

___
-- 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] Sendmail for Voicemail

2008-10-31 Thread Tzafrir Cohen
On Fri, Oct 31, 2008 at 03:12:44PM -0500, Brent Davidson wrote:
> I ran into almost this exact same problem when I first installed 
> asterisk.  My company uses a virtualdomain hosted by our isp.  We'll 
> call it mycompany.com for example.  When I first set everything up I 
> wasn't able to send any mail from the asterisk server even though it was 
> on an accepted IP.  The problem turned out to be that I did not use an 
> FQDN along with the e-mail address on the server.  Setting 
> [EMAIL PROTECTED] in voicemail.conf didn't solve the 
> problem so I tried creating an actual mailbox under our virtual domain 
> called voicemail.  That still didn't work.  For some reason sendmail was 
> still passing "[EMAIL PROTECTED]" to the mail server.  What ultimately 
> solved the problem was setting mailcmd=/usr/sbin/sendmail -t -f 
> [EMAIL PROTECTED] in voicemail.conf.  After that relaying worked 
> perfectly.
> 
> Apparently the account had to both exist under our domain and be passed 
> correctly by sendmail.

MTAs (postfix, sendmail, exim, whatever) can be configured to manipulate
the doman part of the sent mail as well. Specifically attaching a
defualt domain name to outgoing name is a well-known manipulation. The
program sending the mail shouldn't always have to care about who is the
sender.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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


[asterisk-users] Sendmail using SMTP authorization

2008-11-04 Thread hugolivude
Hi -

OK not really an Asterisk question but it is affecting one of my
favorite features - emailing voice mail!  I've posted on some Linux
forums and sendmail.org but no response so I'm hoping someone will
take pity on me ;-)

My ISP requires SMTP authorization and I'm having a heck of a time
getting it to work.  I've included the following below:

Asterisk 1.4.21
CentOS 5
Sendmail 8.13.8
=== bounced mail ===
=== maillog ===
=== hosts ===
=== access ===
=== authinfo ===
=== sendmail.mc ===

The "bounced mail" file shows the authentication problem, although
there's also a troubling "DSN: Service unavailable" message that
appears in "maillog".  I'm not sure whether the two are related or if
the latter is really a problem at all.

Any help would be welcome.  Thanks in advance!

Cheers,
Hugh

CentOS 5
Sendmail 8.13.8

=== bounced mail ===
=
>From [EMAIL PROTECTED]  Sun Nov  2 11:53:57 2008
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (localhost)
by rapperyo.com (8.13.8/8.13.8) id mA2Gru4B002917;
Sun, 2 Nov 2008 11:53:56 -0500
Date: Sun, 2 Nov 2008 11:53:56 -0500
From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="mA2Gru4B002917.1225644836/rapperyo.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--mA2Gru4B002917.1225644836/rapperyo.com

The original message was received at Sun, 2 Nov 2008 11:53:56 -0500
from rapperyo.com [127.0.0.1]

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 530 authentication required - for help go to
http://help.yahoo.com/help/us/mail/pop/pop-11.html)

   - Transcript of session follows -
... while talking to smtp-rog.mail.yahoo.com.:
>>> MAIL From:<[EMAIL PROTECTED]>

<<< 530 authentication required - for help go to
http://help.yahoo.com/help/us/mail/pop/pop-11.html
554 5.0.0 Service unavailable

--mA2Gru4B002917.1225644836/rapperyo.com
Content-Type: message/delivery-status

Reporting-MTA: dns; rapperyo.com
Received-From-MTA: DNS; rapperyo.com
Arrival-Date: Sun, 2 Nov 2008 11:53:56 -0500

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.0.0
Diagnostic-Code: SMTP; 530 authentication required - for help go to
http://help.yahoo.com/help/us/mail/pop/pop-11.html
Last-Attempt-Date: Sun, 2 Nov 2008 11:53:56 -0500

--mA2Gru4B002917.1225644836/rapperyo.com
Content-Type: message/rfc822

Return-Path: <[EMAIL PROTECTED]>
Received: from rapperyo.com (rapperyo.com [127.0.0.1])
by rapperyo.com (8.13.8/8.13.8) with ESMTP id mA2Gru4B002915
for <[EMAIL PROTECTED]>; Sun, 2 Nov 2008 11:53:56 -0500
Received: (from [EMAIL PROTECTED])
by rapperyo.com (8.13.8/8.13.8/Submit) id mA2GrtoD002914;
Sun, 2 Nov 2008 11:53:55 -0500
Date: Sun, 2 Nov 2008 11:53:55 -0500
From: root <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: I'm sending mail from the Terminal!

--mA2Gru4B002917.1225644836/rapperyo.com--

=== maillog ===

Nov  2 11:49:35 pbx sendmail[2421]: alias database /etc/aliases
rebuilt by root
Nov  2 11:49:35 pbx sendmail[2421]: /etc/aliases: 76 aliases, longest
10 bytes, 765 bytes total
Nov  2 11:49:35 pbx sendmail[2426]: starting daemon (8.13.8): SMTP
[EMAIL PROTECTED]:00:00
Nov  2 11:49:35 pbx sm-msp-queue[2434]: starting daemon (8.13.8):
[EMAIL PROTECTED]:00:00
Nov  2 11:53:56 pbx sendmail[2914]: mA2GrtoD002914: from=root,
size=71, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Nov  2 11:53:56 pbx sendmail[2915]: mA2Gru4B002915:
from=<[EMAIL PROTECTED]>, size=318, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP,
daemon=MTA, relay=rapperyo.com [127.0.0.1]
Nov  2 11:53:56 pbx sendmail[2914]: mA2GrtoD002914:
[EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:01,
xdelay=00:00:00, mailer=relay, pri=30071, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (mA2Gru4B002915 Message accepted for
delivery)
Nov  2 11:53:56 pbx sendmail[2917]: mA2Gru4B002915:
to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120318, relay=smtp-
rog.mail.yahoo.com. [206.190.36.18], dsn=5.0.0, stat=Service
unavailable
Nov  2 11:53:56 pbx sendmail[2917]: mA2Gru4B002915: mA2Gru4B002917:
DSN: Service unavailable
Nov  2 11:53:57 pbx sendmail[2917]: mA2Gru4B002917:
to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=local,
pri=31546, dsn=2.0.0, stat=Sent

=== hosts ===
===
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1   rapperyo.com pbx.local pbx localhost.localdomain localhost
192.168.2.160   www.rapperyo.com
::1 localhost6.localdomain6 localhost6

=== access ===

# Check the /usr/share/doc/sendmail/README.cf 

RE: [Asterisk-Users] Sendmail with exchange

2006-02-10 Thread kevin ling
Hi,

Can you make some test to send voicemail to other mail account? (e.g,
@yahoo.com, @hotmail.com...). If it's work. I think not a SMTP authetication
problem. Or you can check the asterisk maillog first.

Kevin 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jordan Novak
Sent: Saturday, February 11, 2006 5:42 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Sendmail with exchange

 
I am using Asterisk to send Voicemail out as Email. I am running into a
problem I believe to be caused by the exchange server requiring SMTP
authentication. I cannot get the sys admin's to turn it off. Does anyone
know enough about sendmail to help me. I am assuming that the default mail
client is sendmail. It will also send to other non-SMTP authenticated
servers. Your help is much appreciated.

Jordan Novak
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Sendmail with exchange

2006-02-10 Thread Steve Totaro
They should be willing to turn on relaying for your specific IP or host.
Since I have Comcast cable, I am on a lot of blacklists (they blacklist
all of Comcast's home users subnets).  

To get around this, and I am sure there is a much simpler way
(eliminating Exchange), I allow my Exchange server to relay from one
specific host.  There is no authentication required coming from this
specific host.  

This still doesn't solve the blacklist problem but I use a service
called www.dnsexit.com which has email relay as one of their services.
They are not on any blacklists (that I am aware of)and the reason why I
make the hop to Exchange is because they have an easy how-to with
pictures :-) on their website for authentication from Exchange. 

I followed their instructions and have checked my logs, I am not an open
relay and only use about 500 relays a day average.

I pay $50/yr for 600 relays which is fine for now.  Here are their
prices.

Pricing  
Fully refundable within 30 days of the payment if service is not
satisfied. 
 150 relays per day - $14.95/year 
 300 relays per day - $26.95/year 
 450 relays per day - $38.95/year 
 600 relays per day - $49.95/year 
 900 relays per day - $79.95/year 
 1200 relays per day - $107.95/year 
 1500 relays per day - $139.95/year 
 2000 relays per day - $179.95/year  

Rock solid delivery and have not had any bounced blacklist emails.  Not
sure if the prices are good but I like the service they provide and may
look at somem of the other services they have if I ever need them.

I have no affiliation with this company. 

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
 

> -Original Message-
> From: kevin ling [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 10, 2006 7:45 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] Sendmail with exchange
> 
> Hi,
> 
> Can you make some test to send voicemail to other mail account? (e.g,
> @yahoo.com, @hotmail.com...). If it's work. I think not a SMTP
> authetication
> problem. Or you can check the asterisk maillog first.
> 
> Kevin
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jordan
Novak
> Sent: Saturday, February 11, 2006 5:42 AM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] Sendmail with exchange
> 
> 
> I am using Asterisk to send Voicemail out as Email. I am running into
a
> problem I believe to be caused by the exchange server requiring SMTP
> authentication. I cannot get the sys admin's to turn it off. Does
anyone
> know enough about sendmail to help me. I am assuming that the default
mail
> client is sendmail. It will also send to other non-SMTP authenticated
> servers. Your help is much appreciated.
> 
> Jordan Novak
> ___
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> ___
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail with exchange

2006-02-11 Thread Peter Bowyer
On 10/02/06, Jordan Novak <[EMAIL PROTECTED]> wrote:
>
> I am using Asterisk to send Voicemail out as Email. I am running into a
> problem I believe to be caused by the exchange server requiring SMTP
> authentication. I cannot get the sys admin's to turn it off. Does anyone
> know enough about sendmail to help me. I am assuming that the default
> mail client is sendmail. It will also send to other non-SMTP
> authenticated servers. Your help is much appreciated.

Install MSMTP as your local MTA (replacing sendmail). Configure
Asterisk to use the local MTA, and configure MSMTP to forward to the
Exchange server with authentication.

http://msmtp.sourceforge.net/

Peter
--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail with exchange

2006-02-11 Thread Tzafrir Cohen
On Sat, Feb 11, 2006 at 08:29:31AM +, Peter Bowyer wrote:
> On 10/02/06, Jordan Novak <[EMAIL PROTECTED]> wrote:
> >
> > I am using Asterisk to send Voicemail out as Email. I am running into a
> > problem I believe to be caused by the exchange server requiring SMTP
> > authentication. I cannot get the sys admin's to turn it off. Does anyone
> > know enough about sendmail to help me. 

Have you RTFMed? 

http://sendmail.org/ has, under the section "Primary Sources for
Information":

please read the FAQ[1], as well as Compiling[2] and Configuration[3]
before asking any questions.

[1] http://sendmail.org/faq/
[2] http://sendmail.org/compiling.html
[3] http://sendmail.org/m4/readme.html

Under the Configuration link, the table of contents refers you to a page
about SMTP authentication:
http://sendmail.org/m4/smtp_auth.html

The relevant parts of it are the parts where sendmail is a SMTP client
to another SMTP server (the MS-Exchange server, in this case).

> > I am assuming that the default
> > mail client is sendmail. It will also send to other non-SMTP
> > authenticated servers. Your help is much appreciated.

BTW: you really don't have to use sendmail. You can use just about any
other mailer that provider a /usr/sbin/sendmail program . postfix, exim
and qmail will also do. I personally prefer postfix. Generally stick to
the default one of your distro if you don't have a good reason to change
it, as it will probably be the most maitained.

> 
> Install MSMTP as your local MTA (replacing sendmail). Configure
> Asterisk to use the local MTA, and configure MSMTP to forward to the
> Exchange server with authentication.
> 
> http://msmtp.sourceforge.net/

The problem with msmtp and similar programs (ssmtp, nullmailer) is that
they don't queue. Thus if there was a temporary problem at the network
or the recieving side, the message is lost.

And frankly, you may not want every message from the crond to end over
remotely.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail with exchange

2006-02-11 Thread Sean Cook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The only way you would need authenticated SMTP is for relaying.  My
suggestion would be to not set up sendmail to use a smart host but have
it act as an internet mail server.  It will lookup the mx records and
make the sending determinations based on the domain it is sending to.

The exchange server should accept (with out authentication) anything
that it is addressed to a locally hosted domain.

Sean

kevin ling wrote:
> Hi,
> 
> Can you make some test to send voicemail to other mail account? (e.g,
> @yahoo.com, @hotmail.com...). If it's work. I think not a SMTP authetication
> problem. Or you can check the asterisk maillog first.
> 
> Kevin 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Novak
> Sent: Saturday, February 11, 2006 5:42 AM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] Sendmail with exchange
> 
>  
> I am using Asterisk to send Voicemail out as Email. I am running into a
> problem I believe to be caused by the exchange server requiring SMTP
> authentication. I cannot get the sys admin's to turn it off. Does anyone
> know enough about sendmail to help me. I am assuming that the default mail
> client is sendmail. It will also send to other non-SMTP authenticated
> servers. Your help is much appreciated.
> 
> Jordan Novak
> ___
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> ___
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD7jCfy9wPyZpnL2URAgXyAKCjBI0l9NDP+4q2eyfvEN6WBGHuxACeJK2d
A1DmW/JxcGO1bRsRwUyZ1Eg=
=c0j/
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail with exchange

2006-02-11 Thread Michiel van Baak
On 13:44, Sat 11 Feb 06, Sean Cook wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> The only way you would need authenticated SMTP is for relaying.  My
> suggestion would be to not set up sendmail to use a smart host but have
> it act as an internet mail server.  It will lookup the mx records and
> make the sending determinations based on the domain it is sending to.

Actually this is only true when your ip is a static one that
you can list as provider ip.
A lot of blacklists put all the cable and dsl enduser ip's
somewhere under "dynamic or domestic use"
A lot of mailservers will block this.

Sorry for being totally unrelated to asterisk, but this has
been a big issue for several of my clients asterisk boxes.

> 
> The exchange server should accept (with out authentication) anything
> that it is addressed to a locally hosted domain.

When it's internal this should work. Otherwise, see my point
above

-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Why is it drug addicts and computer afficionados are both called users?"

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail with exchange

2006-02-11 Thread Tzafrir Cohen
On Sat, Feb 11, 2006 at 12:30:51PM +0200, Tzafrir Cohen wrote:
> On Sat, Feb 11, 2006 at 08:29:31AM +, Peter Bowyer wrote:

> > Install MSMTP as your local MTA (replacing sendmail). Configure
> > Asterisk to use the local MTA, and configure MSMTP to forward to the
> > Exchange server with authentication.
> > 
> > http://msmtp.sourceforge.net/
> 
> The problem with msmtp and similar programs (ssmtp, nullmailer) is that
> they don't queue. Thus if there was a temporary problem at the network
> or the recieving side, the message is lost.

But now when I think about it, why won't asterisk queue the mail? The
message itself is stored in the mailbox. So Asterisk only needs to
remember where it is stored.

Basically:

If the sendmail command returns an error, The voicemail app knowss it
need to be queued. So it remembers the path to the message and the
details of the message in a queue. 

Every once in a while there is an attempt to re-end messages in that
"queue".

If someone checks the messages in the mailbox, any waiting messages
should be invalidated.


Anybody feels like trying to see if this is close to implementable?

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Sendmail with exchange

2006-02-12 Thread brian
You need to enable the Exchange SMTP gateway to receive email from your
* server's IP address.  There is a way to do that if you look closely in
the Advanced section of the SMTP connector.  It's under relaying. 


Brian Greul
Texas Shirt Company
www.txshirts.com
713-802-0369 / 713-861-6261 (fax)
ASI/343253

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kevin ling
Sent: Friday, February 10, 2006 6:45 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Sendmail with exchange

Hi,

Can you make some test to send voicemail to other mail account? (e.g,
@yahoo.com, @hotmail.com...). If it's work. I think not a SMTP
authetication problem. Or you can check the asterisk maillog first.

Kevin 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jordan
Novak
Sent: Saturday, February 11, 2006 5:42 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Sendmail with exchange

 
I am using Asterisk to send Voicemail out as Email. I am running into a
problem I believe to be caused by the exchange server requiring SMTP
authentication. I cannot get the sys admin's to turn it off. Does anyone
know enough about sendmail to help me. I am assuming that the default
mail client is sendmail. It will also send to other non-SMTP
authenticated servers. Your help is much appreciated.

Jordan Novak
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] sendmail or postfix?

2006-11-29 Thread Tzafrir Cohen
On Wed, Nov 29, 2006 at 04:48:37AM -0500, Zeeshan Zakaria wrote:
> For voicemail to email solution, just wanted to ask the experts, which one
> is better and why: sendmail or postfix, or something other.

As far as carrying voicemail messages and delivering them on a system
that does not have a high load of messages, they are both quite good.

Note that postfix (as well as exim and others) provides /usr/sbin/sendmail 
binary that Asterisk uses to send mail.

I'd start with whatever is the default with the distro, or whatever
you're more comfortable with setting up.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] sendmail when no response

2013-06-05 Thread Salaheddine Elharit
hello list,

i need  your help please regarding send mail i use astreisk 1.4;

i try to send mail when no response like below


exten => 5xx,1,Dial(SIP/223, 10)
exten => 5xx,n,system(echo test ${DNIS} Email| mail -s 'Call failed'
myadresseem...@gmail.com)

when i launch the CLI i found :

You have new mail in /var/spool/mail/root

i check the root and i found :

Return-Path: 
Received: (from root@localhost)
by localhost.localdomain (8.13.1/8.13.1/Submit) id r55B3Deh023821;
Wed, 5 Jun 2013 11:03:13 GMT
Date: Wed, 5 Jun 2013 11:03:13 GMT
From: root 
Message-Id: <201306051103.r55B3Deh023821@localhost.localdomain>
To: failed, myadresseem...@gmail.com
Subject: Call

test Email

--r55B3Dei023821.1370430193/localhost.localdomain--

could you please tell me how to do in order to send email to my address
gmail for example

thanks and regards
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Sendmail not on localhost

2003-12-09 Thread Steven Critchfield
On Tue, 2003-12-09 at 22:47, Ralf Illing wrote:
> Hi …
> 
>  
> 
> I already set-up sendmail on another network server thus it would be
> nice to use that one or is sendmail on * server required!?
> 
> I had a look in the archive but couldn’t find any information where to
> set the mail server from localhost to my network server …

All you need is a sendmail equivalent. You need to install it to help
get mail off of your linux machine, but it doesn't need to accept mail
at all. You should be able to install sendmail/postfix/exim and just
turn off the port via /etc/inetd.conf. Just configure it to use a
smarthost of your mail server.
-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-10 Thread Chris Albertson


You would have to look at the code in the VM app.
and see if the hostname for the mail server is configurable.
Likely it is simply hard coded to "localhost" which would
send the mail to port 25 on the * sever.   In theory
the VM application _could_ use a remote mail server but it
would have to be written that way.  

I'd prefer to run a local sendmail.  Ths means you have a local
queue and the mail gets handed off quikly even if your
other server is down or slow.  

--- Ralf Illing <[EMAIL PROTECTED]> wrote:
> Hi .
>  
> I already set-up sendmail on another network server thus it would be
> nice to use that one or is sendmail on * server required!?
> I had a look in the archive but couldn't find any information where
> to
> set the mail server from localhost to my network server .
>  
> Cheers
> Ralf
>  
> 


=
Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-10 Thread Alastair Maw
On 10/12/03 07:41, Chris Albertson wrote:

I'd prefer to run a local sendmail.  Ths means you have a local
queue and the mail gets handed off quikly even if your
other server is down or slow.  
A better solution would be an SMTP fowarding agent, such as ssmtp. I'd 
prefer *not* to have to patch/configure/nurse multiple sendmails in my 
organization unless I really need to.

Regards,

Alastair

Alastair Maw
MXTelecom.com
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-10 Thread Olle E. Johansson
Alastair Maw wrote:

On 10/12/03 07:41, Chris Albertson wrote:

I'd prefer to run a local sendmail.  Ths means you have a local
queue and the mail gets handed off quikly even if your
other server is down or slow.  


A better solution would be an SMTP fowarding agent, such as ssmtp. I'd 
prefer *not* to have to patch/configure/nurse multiple sendmails in my 
organization unless I really need to.
Okokok.
I've contributed a patch so you can configure any mailer for vm, but with
the recent changes in voicemail.c it's out of date. I'll update this and
you can help me try it out if it works for you. If so, add comments in
bugs.digium.com.
Give me a day or two to fix this, then download from bugs.digium.com.
With that patch, you can configure ssmtp, postfix or anything to send
the mail.
/O

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-10 Thread Steven Critchfield
On Wed, 2003-12-10 at 13:46, Olle E. Johansson wrote:
> Alastair Maw wrote:
> 
> > On 10/12/03 07:41, Chris Albertson wrote:
> > 
> >> I'd prefer to run a local sendmail.  Ths means you have a local
> >> queue and the mail gets handed off quikly even if your
> >> other server is down or slow.  
> > 
> > 
> > A better solution would be an SMTP fowarding agent, such as ssmtp. I'd 
> > prefer *not* to have to patch/configure/nurse multiple sendmails in my 
> > organization unless I really need to.
> Okokok.
> I've contributed a patch so you can configure any mailer for vm, but with
> the recent changes in voicemail.c it's out of date. I'll update this and
> you can help me try it out if it works for you. If so, add comments in
> bugs.digium.com.
> 
> Give me a day or two to fix this, then download from bugs.digium.com.
> With that patch, you can configure ssmtp, postfix or anything to send
> the mail.

postfix and exim should provide a sendmail link or binary that should be
command line compatible as the original for sending mail. I don't know
about ssmtp.
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-10 Thread Andrew Kohlsmith
> I already set-up sendmail on another network server thus it would be
> nice to use that one or is sendmail on * server required!?
> I had a look in the archive but couldn't find any information where to
> set the mail server from localhost to my network server .

Get nullmailer.  it is the best "dumb" mailer I've ever run across.  The 
system never knows it isn't running a full-blown mail server.

Regards,
Andrew
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Sendmail not on localhost

2003-12-11 Thread Alastair Maw
On 10/12/03 20:07, Steven Critchfield wrote:

postfix and exim should provide a sendmail link or binary that should be
command line compatible as the original for sending mail. I don't know
about ssmtp.
SSMTP does indeed provide command line sendmail compatibility (within 
reason).

Regards,

Alastair
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Sendmail using SMTP authorization

2008-11-04 Thread Matt Gibson
Try using SSMTP 

http://www.linux.com/articles/132006

It works with any provider for mail sending, and takes 30 seconds to setup. 

Thanks,
Matt G

: http://www.voipphreak.ca
: http://www.ratemydialplan.com
: http://www.asterisk-jobs.com

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of hugolivude
> Sent: Tuesday, November 04, 2008 6:50 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] Sendmail using SMTP authorization
> 
> Hi -
> 
> OK not really an Asterisk question but it is affecting one of my
> favorite features - emailing voice mail!  I've posted on some Linux
> forums and sendmail.org but no response so I'm hoping someone will
> take pity on me ;-)
> 
> My ISP requires SMTP authorization and I'm having a heck of a time
> getting it to work.  I've included the following below:
> 
> Asterisk 1.4.21
> CentOS 5
> Sendmail 8.13.8
> === bounced mail ===
> === maillog ===
> === hosts ===
> === access ===
> === authinfo ===
> === sendmail.mc ===
> 
> The "bounced mail" file shows the authentication problem, although
> there's also a troubling "DSN: Service unavailable" message that
> appears in "maillog".  I'm not sure whether the two are related or if
> the latter is really a problem at all.
> 
> Any help would be welcome.  Thanks in advance!
> 
> Cheers,
> Hugh
> 
> CentOS 5
> Sendmail 8.13.8
> 
> === bounced mail ===
> =
> From [EMAIL PROTECTED]  Sun Nov  2 11:53:57 2008
> Return-Path: <[EMAIL PROTECTED]>
> Received: from localhost (localhost)
> by rapperyo.com (8.13.8/8.13.8) id mA2Gru4B002917;
> Sun, 2 Nov 2008 11:53:56 -0500
> Date: Sun, 2 Nov 2008 11:53:56 -0500
> From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
> Message-Id: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type=delivery-status;
> boundary="mA2Gru4B002917.1225644836/rapperyo.com"
> Subject: Returned mail: see transcript for details
> Auto-Submitted: auto-generated (failure)
> 
> This is a MIME-encapsulated message
> 
> --mA2Gru4B002917.1225644836/rapperyo.com
> 
> The original message was received at Sun, 2 Nov 2008 11:53:56 -0500
> from rapperyo.com [127.0.0.1]
> 
>- The following addresses had permanent fatal errors -
> <[EMAIL PROTECTED]>
> (reason: 530 authentication required - for help go to
> http://help.yahoo.com/help/us/mail/pop/pop-11.html)
> 
>- Transcript of session follows -
> ... while talking to smtp-rog.mail.yahoo.com.:
> >>> MAIL From:<[EMAIL PROTECTED]>
> 
> <<< 530 authentication required - for help go to
> http://help.yahoo.com/help/us/mail/pop/pop-11.html
> 554 5.0.0 Service unavailable
> 
> --mA2Gru4B002917.1225644836/rapperyo.com
> Content-Type: message/delivery-status
> 
> Reporting-MTA: dns; rapperyo.com
> Received-From-MTA: DNS; rapperyo.com
> Arrival-Date: Sun, 2 Nov 2008 11:53:56 -0500
> 
> Final-Recipient: RFC822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: SMTP; 530 authentication required - for help go to
> http://help.yahoo.com/help/us/mail/pop/pop-11.html
> Last-Attempt-Date: Sun, 2 Nov 2008 11:53:56 -0500
> 
> --mA2Gru4B002917.1225644836/rapperyo.com
> Content-Type: message/rfc822
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: from rapperyo.com (rapperyo.com [127.0.0.1])
> by rapperyo.com (8.13.8/8.13.8) with ESMTP id mA2Gru4B002915
> for <[EMAIL PROTECTED]>; Sun, 2 Nov 2008 11:53:56 -0500
> Received: (from [EMAIL PROTECTED])
> by rapperyo.com (8.13.8/8.13.8/Submit) id mA2GrtoD002914;
> Sun, 2 Nov 2008 11:53:55 -0500
> Date: Sun, 2 Nov 2008 11:53:55 -0500
> From: root <[EMAIL PROTECTED]>
> Message-Id: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: I'm sending mail from the Terminal!
> 
> --mA2Gru4B002917.1225644836/rapperyo.com--
> 
> === maillog ===
> 
> Nov  2 11:49:35 pbx sendmail[2421]: alias database /etc/aliases
> rebuilt by root
> Nov  2 11:49:35 pbx sendmail[2421]: /etc/aliases: 76 aliases, longest
> 10 bytes, 765 bytes total
> Nov  2 11:49:35 pbx sendmail[2426]: starting daemon (8.13.8): SMTP
> [EMAIL PROTECTED]:00:00
> Nov  2 11:49:35 pbx sm-msp-queue[2434]: starting daemon (8.13.8):
> [EMAIL PROTECTED]:00:00
> Nov  2 11:53:56 pbx sendmail[2914]: mA2GrtoD002914: from=root,
> size=71, class=0, nrcpts=1,
> msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> No

Re: [asterisk-users] Sendmail using SMTP authorization

2008-11-08 Thread OCG Technical Support
Could you send a link to the post you referenced?  I'd like to get sendmail
working with rogers too...

Thanks

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hugolivude
Sent: November 8, 2008 8:37 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] Sendmail using SMTP authorization

Fixed thanks to Tilman's post on comp.mail.sendmail.

I had smtp.broadband.rogers.com in authinfo, the same as what I had
for SMART_HOST in sendmail.mc but I had to change authinfo to
smtp-rog.mail.yahoo.com
.
I wasn't worried about this at first because a "dig" on
smtp.broadband.rogers.com shows that it resolves to
smtp-rog.mail.yahoo.com (Rogers uses Yahoo's infrastructure) so as far
as I was concerned it was the same thing.  In fact sendmail ends up
trying to deliver the mail to the right place, but beacuse
smtp-rog.mail.yahoo.com cannot be found in authinfo, the credentials
cannot be found.

Hope this helps someone else!

Thanks for checking my post Matt.

H


On Tue, Nov 4, 2008 at 7:06 PM, Matt Gibson <[EMAIL PROTECTED]> wrote:
> Try using SSMTP
>
> http://www.linux.com/articles/132006
>
> It works with any provider for mail sending, and takes 30 seconds to
setup.
>
> Thanks,
> Matt G
>
> : http://www.voipphreak.ca
> : http://www.ratemydialplan.com
> : http://www.asterisk-jobs.com
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:asterisk-users-
>> [EMAIL PROTECTED] On Behalf Of hugolivude
>> Sent: Tuesday, November 04, 2008 6:50 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] Sendmail using SMTP authorization
>>
>> Hi -
>>
>> OK not really an Asterisk question but it is affecting one of my
>> favorite features - emailing voice mail!  I've posted on some Linux
>> forums and sendmail.org but no response so I'm hoping someone will
>> take pity on me ;-)
>>
>> My ISP requires SMTP authorization and I'm having a heck of a time
>> getting it to work.  I've included the following below:
>>
>> Asterisk 1.4.21
>> CentOS 5
>> Sendmail 8.13.8
>> === bounced mail ===
>> === maillog ===
>> === hosts ===
>> === access ===
>> === authinfo ===
>> === sendmail.mc ===
>>
>> The "bounced mail" file shows the authentication problem, although
>> there's also a troubling "DSN: Service unavailable" message that
>> appears in "maillog".  I'm not sure whether the two are related or if
>> the latter is really a problem at all.
>>
>> Any help would be welcome.  Thanks in advance!
>>
>> Cheers,
>> Hugh
>>
>> CentOS 5
>> Sendmail 8.13.8
>>
>> === bounced mail ===
>> =
>> From [EMAIL PROTECTED]  Sun Nov  2 11:53:57 2008
>> Return-Path: <[EMAIL PROTECTED]>
>> Received: from localhost (localhost)
>> by rapperyo.com (8.13.8/8.13.8) id mA2Gru4B002917;
>> Sun, 2 Nov 2008 11:53:56 -0500
>> Date: Sun, 2 Nov 2008 11:53:56 -0500
>> From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
>> Message-Id: <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> MIME-Version: 1.0
>> Content-Type: multipart/report; report-type=delivery-status;
>> boundary="mA2Gru4B002917.1225644836/rapperyo.com"
>> Subject: Returned mail: see transcript for details
>> Auto-Submitted: auto-generated (failure)
>>
>> This is a MIME-encapsulated message
>>
>> --mA2Gru4B002917.1225644836/rapperyo.com
>>
>> The original message was received at Sun, 2 Nov 2008 11:53:56 -0500
>> from rapperyo.com [127.0.0.1]
>>
>>- The following addresses had permanent fatal errors -
>> <[EMAIL PROTECTED]>
>> (reason: 530 authentication required - for help go to
>> http://help.yahoo.com/help/us/mail/pop/pop-11.html)
>>
>>- Transcript of session follows -
>> ... while talking to smtp-rog.mail.yahoo.com.:
>> >>> MAIL From:<[EMAIL PROTECTED]>
>>
>> <<< 530 authentication required - for help go to
>> http://help.yahoo.com/help/us/mail/pop/pop-11.html
>> 554 5.0.0 Service unavailable
>>
>> --mA2Gru4B002917.1225644836/rapperyo.com
>> Content-Type: message/delivery-status
>>
>> Reporting-MTA: dns; rapperyo.com
>> Received-From-MTA: DNS; rapperyo.com
>> Arrival-Date: Sun, 2 Nov 2008 11:53:56 -0500
>>
>> Final-Recipient: RFC822; [EMAIL PROTECTED]
>> Action: failed
>> Status: 5.0.0
>> Diagnostic-Code: SMTP; 530 authentication re

Re: [asterisk-users] Sendmail using SMTP authorization

2008-11-08 Thread hugolivude
Fixed thanks to Tilman's post on comp.mail.sendmail.

I had smtp.broadband.rogers.com in authinfo, the same as what I had
for SMART_HOST in sendmail.mc but I had to change authinfo to
smtp-rog.mail.yahoo.com
.
I wasn't worried about this at first because a "dig" on
smtp.broadband.rogers.com shows that it resolves to
smtp-rog.mail.yahoo.com (Rogers uses Yahoo's infrastructure) so as far
as I was concerned it was the same thing.  In fact sendmail ends up
trying to deliver the mail to the right place, but beacuse
smtp-rog.mail.yahoo.com cannot be found in authinfo, the credentials
cannot be found.

Hope this helps someone else!

Thanks for checking my post Matt.

H


On Tue, Nov 4, 2008 at 7:06 PM, Matt Gibson <[EMAIL PROTECTED]> wrote:
> Try using SSMTP
>
> http://www.linux.com/articles/132006
>
> It works with any provider for mail sending, and takes 30 seconds to setup.
>
> Thanks,
> Matt G
>
> : http://www.voipphreak.ca
> : http://www.ratemydialplan.com
> : http://www.asterisk-jobs.com
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:asterisk-users-
>> [EMAIL PROTECTED] On Behalf Of hugolivude
>> Sent: Tuesday, November 04, 2008 6:50 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] Sendmail using SMTP authorization
>>
>> Hi -
>>
>> OK not really an Asterisk question but it is affecting one of my
>> favorite features - emailing voice mail!  I've posted on some Linux
>> forums and sendmail.org but no response so I'm hoping someone will
>> take pity on me ;-)
>>
>> My ISP requires SMTP authorization and I'm having a heck of a time
>> getting it to work.  I've included the following below:
>>
>> Asterisk 1.4.21
>> CentOS 5
>> Sendmail 8.13.8
>> === bounced mail ===
>> === maillog ===
>> === hosts ===
>> === access ===
>> === authinfo ===
>> === sendmail.mc ===
>>
>> The "bounced mail" file shows the authentication problem, although
>> there's also a troubling "DSN: Service unavailable" message that
>> appears in "maillog".  I'm not sure whether the two are related or if
>> the latter is really a problem at all.
>>
>> Any help would be welcome.  Thanks in advance!
>>
>> Cheers,
>> Hugh
>>
>> CentOS 5
>> Sendmail 8.13.8
>>
>> === bounced mail ===
>> =
>> From [EMAIL PROTECTED]  Sun Nov  2 11:53:57 2008
>> Return-Path: <[EMAIL PROTECTED]>
>> Received: from localhost (localhost)
>> by rapperyo.com (8.13.8/8.13.8) id mA2Gru4B002917;
>> Sun, 2 Nov 2008 11:53:56 -0500
>> Date: Sun, 2 Nov 2008 11:53:56 -0500
>> From: Mail Delivery Subsystem <[EMAIL PROTECTED]>
>> Message-Id: <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> MIME-Version: 1.0
>> Content-Type: multipart/report; report-type=delivery-status;
>> boundary="mA2Gru4B002917.1225644836/rapperyo.com"
>> Subject: Returned mail: see transcript for details
>> Auto-Submitted: auto-generated (failure)
>>
>> This is a MIME-encapsulated message
>>
>> --mA2Gru4B002917.1225644836/rapperyo.com
>>
>> The original message was received at Sun, 2 Nov 2008 11:53:56 -0500
>> from rapperyo.com [127.0.0.1]
>>
>>- The following addresses had permanent fatal errors -
>> <[EMAIL PROTECTED]>
>> (reason: 530 authentication required - for help go to
>> http://help.yahoo.com/help/us/mail/pop/pop-11.html)
>>
>>- Transcript of session follows -
>> ... while talking to smtp-rog.mail.yahoo.com.:
>> >>> MAIL From:<[EMAIL PROTECTED]>
>>
>> <<< 530 authentication required - for help go to
>> http://help.yahoo.com/help/us/mail/pop/pop-11.html
>> 554 5.0.0 Service unavailable
>>
>> --mA2Gru4B002917.1225644836/rapperyo.com
>> Content-Type: message/delivery-status
>>
>> Reporting-MTA: dns; rapperyo.com
>> Received-From-MTA: DNS; rapperyo.com
>> Arrival-Date: Sun, 2 Nov 2008 11:53:56 -0500
>>
>> Final-Recipient: RFC822; [EMAIL PROTECTED]
>> Action: failed
>> Status: 5.0.0
>> Diagnostic-Code: SMTP; 530 authentication required - for help go to
>> http://help.yahoo.com/help/us/mail/pop/pop-11.html
>> Last-Attempt-Date: Sun, 2 Nov 2008 11:53:56 -0500
>>
>> --mA2Gru4B002917.1225644836/rapperyo.com
>> Content-Type: message/rfc822
>>
>> Return-Path: <[EMAIL PROTECTED]>
>> Received: from rapperyo.com (rapperyo.c

Re: [asterisk-users] Sendmail using SMTP authorization

2008-11-10 Thread hugolivude
You may want the original link I started out with:
http://www.newthink.net/2007/05/18/smarthost-authentication-with-sendmail/

I deviated a bit though - I put the AuthInfo stuff into its own authinfo
file though, which also required me to add this line to sendmail.mc:

FEATURE(`authinfo', `hash -o /etc/mail/authinfo.db')dnl

Don't forget to use smtp-rog.mail.yahoo.com in authinf and not
smtp.broadband.rogers.com!

Yours,
H

On Sun, Nov 9, 2008 at 12:15 PM, hugolivude <[EMAIL PROTECTED]> wrote:

>
> http://groups.google.ca/group/comp.mail.sendmail/browse_thread/thread/fe30c6b628c60e0e#
>
> Cheers,
> H
>
> On Sat, Nov 8, 2008 at 9:05 PM, OCG Technical Support <[EMAIL PROTECTED]>
> wrote:
> > Could you send a link to the post you referenced?  I'd like to get
> sendmail
> > working with rogers too...
> >
> > Thanks
>
___
-- 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] sendmail when no response

2013-06-05 Thread jg
Your problem looks more like an MTA configuration problem. You need at 
least a valid relay host.


jg

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Sendmail and exchange for voicemail integration

2007-03-23 Thread Jordan Novak
I am having real trouble getting Asterisk to send to exchange. They are
on the same LAN. Does anyone know of a walkthrough for this setup. I
have gotten it to work before, but that was to a hotmail account.
 
Jordan Novak
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] sendmail invocation in voicemail and voicemail2 applications

2003-06-06 Thread Simon J Mudd
The voicemail and voicemail2 applications both invoke sendmail as
/usr/sbin/sendmail -t.  However sendmail is invoked using popen(3), the
input being terminated when the pipe is closed and not when a . is entered
on a new line.

While it looks like the code at the moment can't generate a single line
with a '.', it might be prudent to apply the following patch which tells
sendmail to ignore a line with a single dot on it (thus messages
will terminate only when the pipe is closed).

--- apps/app_voicemail.c.orig2003-06-06 10:57:06.0 +0200
+++ apps/app_voicemail.c 2003-06-06 11:01:33.0 +0200
@@ -43,7 +43,7 @@
 #define VOICEMAIL_CONFIG "voicemail.conf"
 #define ASTERISK_USERNAME "asterisk"

-#define SENDMAIL "/usr/sbin/sendmail -t"
+#define SENDMAIL "/usr/sbin/sendmail -oi -t"

 #define INTRO "vm-intro"

--- apps/app_voicemail2.c.orig   2003-06-06 10:57:14.0 +0200
+++ apps/app_voicemail2.c2003-06-06 11:01:53.0 +0200
@@ -46,7 +46,7 @@
 #define VOICEMAIL_CONFIG "voicemail.conf"
 #define ASTERISK_USERNAME "asterisk"

-#define SENDMAIL "/usr/sbin/sendmail -t"
+#define SENDMAIL "/usr/sbin/sendmail -oi -t"

 #define INTRO "vm-intro"


Simon
-- 
Simon J Mudd, Postfix RPM Packager, Amsterdam, The Netherlands.
email: [EMAIL PROTECTED], Tel: +31-627-592 627, http://postfix.WL0.org

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Sendmail and exchange for voicemail integration

2007-03-23 Thread Bruce Reeves

Jordan,

Assuming that the voicemail users are email users on the domain for exchange
then your DNS entries for MX will take care of most of the work. Sendmail on
the Centos installs I have done has required no changes to the default
config to work with our exchange servers. You probably will want to make
sure that the SMTP protocol on Exchange allows the Sendmail server to relay.

On 3/23/07, Jordan Novak <[EMAIL PROTECTED]> wrote:


 I am having real trouble getting Asterisk to send to exchange. They are
on the same LAN. Does anyone know of a walkthrough for this setup. I have
gotten it to work before, but that was to a hotmail account.

 Jordan Novak

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





--
Bruce Reeves
Nortex Networks
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Sendmail and exchange for voicemail integration

2007-03-23 Thread Michael Collins
Jordan,

 

I don't know if you've down this step before, but my network admin sent
me these instructions a few months ago.  It allows you to tell your
Exchange Server's SMTP to allow relays from specific domains, hosts, or
subnets.  Hope it helps.  (Works for Exch 2000 and 2003.)

-MC

1.  Go to Exchange System Manager

2.  Drill down to Servers, (your Exchange server), Protocols, SMTP,
Default SMTP Virtual server.

3.  On Default Virtual Server, right click on it, select properties.
Select the Access tab on the top, then select the "Relay" button.

4.  On the "Relay Restrictions" window, make sure the "Only the list
below" button is selected.  

5.  Add an allowed IP, subnet or domain name

6.  When done, hit OK 3 times and that's it.

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce
Reeves
Sent: Friday, March 23, 2007 10:59 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Sendmail and exchange for voicemail
integration

 

Jordan,

Assuming that the voicemail users are email users on the domain for
exchange then your DNS entries for MX will take care of most of the
work. Sendmail on the Centos installs I have done has required no
changes to the default config to work with our exchange servers. You
probably will want to make sure that the SMTP protocol on Exchange
allows the Sendmail server to relay. 

On 3/23/07, Jordan Novak <[EMAIL PROTECTED]> wrote:

I am having real trouble getting Asterisk to send to exchange. They are
on the same LAN. Does anyone know of a walkthrough for this setup. I
have gotten it to work before, but that was to a hotmail account.

 

Jordan Novak


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
<http://lists.digium.com/mailman/listinfo/asterisk-users> 




-- 
Bruce Reeves
Nortex Networks 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Sendmail and exchange for voicemail integration

2007-03-24 Thread C F

Can you post the SMTP logs from the exchange server? Or try the mqueue
on the Asterisk box. Post them so someone can help you further.

On 3/23/07, Jordan Novak <[EMAIL PROTECTED]> wrote:



I am having real trouble getting Asterisk to send to exchange. They are on
the same LAN. Does anyone know of a walkthrough for this setup. I have
gotten it to work before, but that was to a hotmail account.


Jordan Novak


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users