Re: [asterisk-users] Mail Server

2008-07-10 Thread Felipe Trevisan
;>> 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 (
>>>> [EMAIL PROTECTED]).
>>>> 5)  Presto!
>>>>
>>>> [EMAIL PROTECTED] ~]# 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 Aiurlocalhost.localdomain
>>>> localhost
>>>> ::1 localhost6.localdomain6 localhost6
>>>>
>>>>
>>>> --
>>>> Mike Hammett
>>>> Intelligent Computing Solutions
>>>> http://www.ics-il.com
>>>>
>>>>
>>>>
>>>> - Original Message -
>>>>  *From:* Mike Hammett <[EMAIL PROTECTED]>
>>>> *To:* Asterisk Users Mailing List - Non-Commercial 
>>>> Discussion
>>>>  *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
>>
>
>
> ___
> -- 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 --

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

Re: [asterisk-users] Mail Server

2008-03-19 Thread Al lists
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 <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
> 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 -
> >
> >
> > <[EMAIL PROTECTED]>
> > (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* [EMAIL PROTECTED]  *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 <[EMAIL PROTECTED]>
> > 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 (
> > > [EMAIL PROTECTED]).
> > > 5)  Presto!
> > >
> > > [EMAIL PROTECTED] ~]# 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 Aiurlocalhost.localdomain
> > > localhost
> > > ::1 localhost6.localdomain6 localhost6
> > >
> > >
> > > --
> > > Mike Hammett
> > > Intelligent Computing Solutions
> > > http://www.ics-il.com
> > >
> > >
> > >
> > > - Original Message -
> >

Re: [asterisk-users] Mail Server

2008-03-16 Thread linuxian iandsd
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 <[EMAIL PROTECTED]>
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 -
>
> <[EMAIL PROTECTED]>
> (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* [EMAIL PROTECTED]  *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 <[EMAIL PROTECTED]>
> 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 (
> > [EMAIL PROTECTED]).
> > 5)  Presto!
> >
> > [EMAIL PROTECTED] ~]# 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 Aiurlocalhost.localdomain
> > localhost
> > ::1     localhost6.localdomain6 localhost6
> >
> >
> > --
> > Mike Hammett
> > Intelligent Computing Solutions
> > http://www.ics-il.com
> >
> >
> >
> > - Original Message -
> >  *From:* Mike Hammett <[EMAIL PROTECTED]>
> > *To:* Asterisk Users Mailing List - Non-Commercial 
> > Discussion
> >  *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

Re: [asterisk-users] Mail Server

2008-03-14 Thread Felipe Trevisan
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 -
<[EMAIL PROTECTED]>
(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* [EMAIL PROTECTED]  *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 <[EMAIL PROTECTED]>
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 (
> [EMAIL PROTECTED]).
> 5)  Presto!
>
> [EMAIL PROTECTED] ~]# 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 Aiurlocalhost.localdomain   localhost
> ::1 localhost6.localdomain6 localhost6
>
>
> --
> Mike Hammett
> Intelligent Computing Solutions
> http://www.ics-il.com
>
>
>
> - Original Message -
> *From:* Mike Hammett <[EMAIL PROTECTED]>
> *To:* Asterisk Users Mailing List - Non-Commercial 
> Discussion
> *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

Re: [asterisk-users] Mail Server

2008-03-14 Thread Godwin Stewart
On Fri, 14 Mar 2008 13:06:27 +0200, "love U.all"
<[EMAIL PROTECTED]> wrote:

> ur mail erver isn authorized to redirect mails say for example to hotmail
> coz msn deal with it as spam

MSN and hotmail are not a reference in anything related to Internet e-mail.
Unless, that is, you're considering how *not* to form a mail body and how
*not* to deal with junk mail.

-- 
Godwin Stewart - Horwich IT services


___
-- 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] Mail Server

2008-03-14 Thread love U . all

ur mail erver isn authorized to redirect mails say for example to hotmail coz 
msn deal with it as spam> Date: Fri, 14 Mar 2008 02:25:37 -0400> From: [EMAIL 
PROTECTED]> To: asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] 
Mail Server> > tail /var/log/mail or /var/log/maillog> > On Thu, Mar 13, 2008 
at 5:04 PM, Mike Hammett <[EMAIL PROTECTED]> wrote:> >> >> > 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
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
-- 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] Mail Server

2008-03-13 Thread Andreas van dem Helge
tail /var/log/mail or /var/log/maillog

On Thu, Mar 13, 2008 at 5:04 PM, Mike Hammett <[EMAIL PROTECTED]> wrote:
>
>
> 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


Re: [asterisk-users] Mail Server

2008-03-13 Thread Lyle Giese
Mike,
Most newer Linux distro's use Postfix. It's simple to setup Postfix to
use SMTP AUTH to send email. You need to figure out why the primary mail
server is rejecting the emails and go from there. Contact me off list if
you want more info.

I think I have a quick how-to I wrote for myself on how to set Postfix
to use SMTP AUTH when sending email.

Lyle Giese
LCR Computer Services, Inc.

Mike Hammett wrote:
> I am the ISP.  ;-)
>
> I'll have to look into that smarthost deal as there is no reverse DNS at 
> this time (my upstream's server times out).
>
>
> --
> Mike Hammett
> Intelligent Computing Solutions
> http://www.ics-il.com
>
>
> - Original Message - 
> From: "Erik Anderson" <[EMAIL PROTECTED]>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> 
> Sent: Thursday, March 13, 2008 4:25 PM
> Subject: Re: [asterisk-users] Mail Server
>
>
>   
>> On Thu, Mar 13, 2008 at 4:04 PM, Mike Hammett <[EMAIL PROTECTED]> 
>> wrote:
>> 
>>> 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.
>>>   
>> Does your ISP provide an SMTP server you can use?  If so, it's usually
>> easiest to set that up as a "smarthost" and tell sendmail to send
>> through that server.  If this isn't an option, you need to make sure
>> that your asterisk server has a valid publicly-available DNS record
>> (and reverse DNS).  That's most likely the reason the remote server is
>> rejecting these emails.
>>
>> -erik
>>
>> ___
>> -- 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

Re: [asterisk-users] Mail Server

2008-03-13 Thread Mike Hammett
I am the ISP.  ;-)

I'll have to look into that smarthost deal as there is no reverse DNS at 
this time (my upstream's server times out).


--
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


- Original Message - 
From: "Erik Anderson" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 

Sent: Thursday, March 13, 2008 4:25 PM
Subject: Re: [asterisk-users] Mail Server


> On Thu, Mar 13, 2008 at 4:04 PM, Mike Hammett <[EMAIL PROTECTED]> 
> wrote:
>>
>> 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.
>
> Does your ISP provide an SMTP server you can use?  If so, it's usually
> easiest to set that up as a "smarthost" and tell sendmail to send
> through that server.  If this isn't an option, you need to make sure
> that your asterisk server has a valid publicly-available DNS record
> (and reverse DNS).  That's most likely the reason the remote server is
> rejecting these emails.
>
> -erik
>
> ___
> -- 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] Mail Server

2008-03-13 Thread Mike Hammett
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 ([EMAIL PROTECTED]).
5)  Presto!

[EMAIL PROTECTED] ~]# 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 Aiurlocalhost.localdomain   localhost
::1 localhost6.localdomain6 localhost6


--
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


  - Original Message - 
  From: Mike Hammett 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  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

Re: [asterisk-users] Mail Server

2008-03-13 Thread John Mason Jr
Mike Hammett wrote:
> 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
>  


I would look at the log file or use wireshark to capture the 
conversation. As I recall sendmail has logs in /var/log/maillog


A couple of things to look for;

1. Firewall blocking port 25

2. Relaying denied  based on domain name or ip address

3. DNS setup incorrectly



John


___
-- 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] Mail Server

2008-03-13 Thread Erik Anderson
On Thu, Mar 13, 2008 at 4:04 PM, Mike Hammett <[EMAIL PROTECTED]> wrote:
>
> 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.

Does your ISP provide an SMTP server you can use?  If so, it's usually
easiest to set that up as a "smarthost" and tell sendmail to send
through that server.  If this isn't an option, you need to make sure
that your asterisk server has a valid publicly-available DNS record
(and reverse DNS).  That's most likely the reason the remote server is
rejecting these emails.

-erik

___
-- 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] Mail Server

2008-03-13 Thread Steve Prior
Mike Hammett wrote:
> 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.

On the mail server machine add the IP address or name of the asterisk 
box to /etc/mail/relay-domains and restart sendmail.

Steve

___
-- 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] Mail Server

2008-03-13 Thread Mike Hammett
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

[Asterisk-Users] Mail server question

2005-10-13 Thread Hector Elias Menjivar
Hi there:
I have a simple question...can I use the internal mail server that
uses * as my organization pop-smtp server, if so how can I do it. Thanks

Hector

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

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