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


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


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