asterisk-users at kfife.mailworks.org
2008-Oct-28 23:39 UTC
[asterisk-users] Sendmail for Voicemail
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
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. asterisk-users at kfife.mailworks.org 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 >
asterisk-users at kfife.mailworks.org 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 => 0000,David Abbott,myemail at bellsouth.net -- Powered by Gentoo GNU/LINUX http://www.linuxcrazy.com
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, asterisk-users at kfife.mailworks.org 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 >
On Tue, 28 Oct 2008, asterisk-users at kfife.mailworks.org 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
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 servermail=voicemail at mycompany.com 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 "voicemail at localhost" to the mail server. What ultimately solved the problem was setting mailcmd=/usr/sbin/sendmail -t -f voicemail at mycompany.com 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 asterisk-users at kfife.mailworks.org 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 >