The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Email not sending to Hotmail thehaapyappy UNIX for Dummies Questions & Answers 3 05-12-2008 05:29 AM
I have some problem in sending an email, please help me. Sheethal Shell Programming and Scripting 2 10-12-2007 08:03 AM
Sending email w/ ftp log as attachment idesaj UNIX for Dummies Questions & Answers 2 07-19-2005 11:48 AM
sending email vasikaran UNIX for Dummies Questions & Answers 1 07-05-2005 05:50 AM
sending email in unix. need help! tads98 Shell Programming and Scripting 2 05-16-2005 08:33 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-16-2005
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
Exclamation Sending email

I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.

When i configured the application to do that, it asked me only about the recipient email address.

Quesiton: how to configure my Solaris 8 machine to send emails.
i added a default gateway, and i don't have a DNS server.
i can ping the mail server.

Waiting for your urgent answer.
  #2 (permalink)  
Old 02-16-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Set your sendmail to send mail to the mail server. Look in /etc/mail/ for sendmail.cf - save a copy of it - edit it and look for Smart relay host. Put your mailserver host/domain in as the relay.

Example:
# "Smart" relay host (may be null)
DSmymailserver.mydomain.com

Test that Sendmail is 'happy' with everything:
$ /usr/lib/sendmail -d0.1 -bt < /dev/null

This command will give you output of the sendmail config - if you aren't running DNS, you have a major problem since sendmail works with DNS to insure a your server doesn't become a illegal mail relay. See the Sendmail FAQ for trying to set up sendmail without DNS.
  #3 (permalink)  
Old 02-17-2005
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
i tried it and this is the result....

root@inc1 # $ /usr/lib/sendmail -d0.1 -bt < /dev/null
$: not found
root@inc1 # /usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.11.6+Sun
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS
QUEUE SCANF SMTP USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = inc1
(canonical domain name) $j = inc1.
(subdomain name) $m = <null>
(node name) $k = inc1
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> root@inc1 #


do you think it will not work if i don't have a domain name or if i am not configured with a DNS?????
  #4 (permalink)  
Old 02-17-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
You need to read the FAQ on sendmail's site - link was provided in other post.
  #5 (permalink)  
Old 02-17-2005
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
hi again;

is there a special format i should put my hostname in my /etc/hosts??

thanks
  #6 (permalink)  
Old 02-20-2005
bcheaib bcheaib is offline
Registered User
  
 

Join Date: Jul 2004
Location: Beirut
Posts: 25
This is really confusing:

in /etc/hosts i added.

<IP> myhost myhost.domainname
<IP> mailserver mailhost mailserver.anotherdomainname

i can ping the mail server and telnet to port 25 and send an email from there.

i changed the configuration of sendmail.cf as described above by our freind RTM.

i am trying to send mail like this:
mail from root@inc1
to: name@anotherdomainname
this is a test mail
.

but still the mail is not received.!!!!
Closed Thread

Bookmarks

Tags
ping, ping port, port, port ping, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0