[asterisk-users] Mail Server

Al lists asteriskal at gmail.com
Wed Mar 19 22:16:11 CDT 2008


Or maybe you can show him some links ;)
Try this for send mail:
http://docs.snake.de/smtp-auth.html

this is very common these days and to make it more fun each mailserver
(provider) has their own criteria to decide if your email is spam or not.
to give you and example:
make sure you are using static public IP address for outgoing mails, have a
PTR record for that IP and also A record for the fqn that those mails are
coming from.
For smtp auth you need to have saslauth in place and most recent sendmails
are compile with saslauth these days.
I did not have 100% success with smtp and sasl and i believe that was caused
due to have different TLS versions.
anyway that link should put you in the right direction and if anyone else
has a better/easier mta that handles smarthost and auth flawlessly, please
comment.


On Sun, Mar 16, 2008 at 3:48 PM, linuxian iandsd <pylinuxian at gmail.com>
wrote:

> well, maybe ou're on the wrong list (talkin sendmail in an asterisk list
> !!!) you're better in sendmail's list.
>
> anyway, you need to modify sendmail.cf file, just a few tweaks & it will
> be ok.  you will need a smarthost, what is a smarthost ? thats an smtp
> server that is allowed to send mail to the world, without it you can't send
> mail, & this smarthost will be your isp's smtp server & noone else's unless
> you know a lot of ppl around. otherwise your mails will get nowhere.
>
> if you need an sendmail.cf file example i can paste it for you here.
> also dovecot.conf will be valuable for you.
>
>
> hope this helps.
>
>
> On Fri, Mar 14, 2008 at 1:52 PM, Felipe Trevisan <asteriskbr99 at gmail.com>
> wrote:
>
> > How would you relay on Google Apps, as Google requires SSL or TLS
> > authentication?
> >
> > How can I configure sendmail to do this?
> >
> >
> > Actually, sendmail is trying to send email directly, and I get the
> > response below. I´ll now try Mike Hammett´s solution.
> >
> > Thanks,
> >
> > Felipe Trevisan
> >
> >
> >
> > *Message contents*
> >
> > The original message was received at Thu, 13 Mar 2008 23:49:31 -0300
> > from trixbox1.localdomain [127.0.0.1]
> >
> >    ----- The following addresses had permanent fatal errors -----
> >
> >
> > <fetrevisan at gmail.com>
> >     (reason: 550-5.7.1 [201.6.192.115] The IP you're using to send email is not authorized
> >
> > )
> >
> >    ----- Transcript of session follows -----
> >
> > ... while talking to gmail-smtp-in.l.google.com.:
> > >>> DATA
> > <<< 550-5.7.1 [201.6.192.115] The IP you're using to send email is not authorized
> >
> >
> > <<< 550-5.7.1 to send email directly to our servers. Please use
> > <<< 550 5.7.1 the SMTP relay at your service provider instead. a44si4966479rne.2
> > 554 5.0.0 Service unavailable
> >
> >  *Failed delivery status*   *Final recipient* fetrevisan at gmail.com  *Reason
> > for failure* 550-5.7.1 [201.6.192.115] The IP you're using to send email
> > is not authorized  *Remote mail server* gmail-smtp-in.l.google.com  *Reporting
> > mail server* trixbox1.localdomain
> >
> >
> >
> > On Thu, Mar 13, 2008 at 7:13 PM, Mike Hammett <asterisk-users at ics-il.net>
> > wrote:
> >
> > >  Through help from people on the lists and then further investigation
> > > based on those results, here is what I did.
> > >
> > > 1)  I set the office to a statically assigned IP instead of from the
> > > pool.
> > > 2)  I made an A entry on one of my domains aiur.ics-il.net (where aiur
> > > is the machine name).
> > > 3)  I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts
> > > file (copied below).
> > > 4)  I set the from email address (serveremail) in
> > > /etc/asterisk/voicemail.conf to something at the domain I created (
> > > voicemail at aiur.ics-il.net).
> > > 5)  Presto!
> > >
> > > [root at Aiur ~]# cat /etc/hosts
> > > # Do not remove the following line, or various programs
> > > # that require network functionality will fail.
> > > 127.0.0.1       aiur.ics-il.net Aiur    localhost.localdomain
> > > localhost
> > > ::1     localhost6.localdomain6 localhost6
> > >
> > >
> > > ----------
> > > Mike Hammett
> > > Intelligent Computing Solutions
> > > http://www.ics-il.com
> > >
> > >
> > >
> > > ----- Original Message -----
> > >  *From:* Mike Hammett <asterisk-users at ics-il.net>
> > > *To:* Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com>
> > >  *Sent:* Thursday, March 13, 2008 4:04 PM
> > > *Subject:* [asterisk-users] Mail Server
> > >
> > > I need to setup a small mail server on a local network.  It only needs
> > > SMTP ability as it's just so Asterisk can send out emails.  The machine has
> > > sendmail installed.  My primary mail server seems to be rejecting the
> > > messages.  Some research says something isn't configured properly.  What do
> > > I have to do so the outside world accepts emails from my Asterisk box?  It
> > > is behind a NAT.
> > >
> > >
> > > ----------
> > > Mike Hammett
> > > Intelligent Computing Solutions
> > > http://www.ics-il.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
> > >
> >
> >
> > _______________________________________________
> > -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080319/acd64fcb/attachment.htm 


More information about the asterisk-users mailing list