[Asterisk-Users] Question with email notification

dabigshiznizzle dabigshiznizzle at sctelcom.net
Mon Mar 7 19:12:37 MST 2005


I had this problem and solved by editing /etc/hosts and moved 
localhost.localdomain to appear after my fully qualified domain name.  I 
am running sendmail on RH9.

127.0.0.1       domain.net asterisk asterisk.domain.net localhost 
localhost.localdomain

Happy Hunting

>--- J P Edmund <listmail at acedsl.com> wrote:
>  
>
>>I have been searching all over for the answer on all
>>sources online and 
>>have come to the conclusion that it must be
>>rudimentary or I am asking 
>>the wrong question.
>>
>>I cannot figure out how to configure the box to set
>>the "from" address 
>>to a correct domain, as my outgoing isp will not
>>pass mail from 
>>root at asterisk1.local, as I expect it wouldn't.
>>
>>Any help is appreciated, even just what should I be
>>looking for to find 
>>the correct information.
>>
>>    
>>
>
>This is more of a straight Linux question ... you
>probably need to either set hostname for your
>machine(s) or configure sendmail (assuming you're
>using the default mailer) properly to set the correct
>"from" address. You won't find the answer on the
>asterisk wiki or mailing-list archives, I suspect. :)
>
>Try reading the man pages for hostname and sendmail
>... or do a google search. I remember having to do
>something like that myself a while ago when I was
>setting up my Linux boxen. 
>
>Cheers,
>Maya
>
>
>
>	
>		
>__________________________________ 
>Celebrate Yahoo!'s 10th Birthday! 
>Yahoo! Netrospective: 100 Moments of the Web 
>http://birthday.yahoo.com/netrospective/
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at 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
>
>  
>





More information about the asterisk-users mailing list