The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can not send mail in solaris 5.9 irasela UNIX for Dummies Questions & Answers 1 07-04-2006 11:29 PM
mail problems - how to send mail on solaris amon SUN Solaris 10 04-06-2006 10:31 AM
Unable to send mail - but no errors found :-( csaha Linux 6 02-03-2006 04:21 PM
unable to send mail? shahnazurs SUN Solaris 1 07-28-2005 11:07 AM
Send mail to any user (@hotmail,@yahoo etc) from Solaris zing UNIX for Dummies Questions & Answers 2 02-17-2004 08:53 PM

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 05-27-2008
saisivakumar saisivakumar is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
Unable to send mail, on sun solaris

hi experts,

I m new to the sun solaris.

on our OS (sun solaris 5.8) i m trying to send mail but i not getting any mail, i have tried doing following .

$mailx -s "Test" sivakumars@kesd.com

But no response there no error also...
pls let me know:
1) How can test sending mail through (sun solari)
2) where i wat to check whether my OS capable to send mails or not?
pls help me where i m going wrong,

thanks in advance
  #2 (permalink)  
Old 05-27-2008
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Quote:
Originally Posted by saisivakumar View Post
hi experts,

I m new to the sun solaris.

on our OS (sun solaris 5.8) i m trying to send mail but i not getting any mail, i have tried doing following .

$mailx -s "Test" sivakumars@kesd.com

But no response there no error also...
pls let me know:
1) How can test sending mail through (sun solari)
2) where i wat to check whether my OS capable to send mails or not?
pls help me where i m going wrong,

thanks in advance
Hi,
Often you just set the smart host to your mail gateway and you're done, look for smart host relay in /etc/mail/sendmail.cf and add your mail gateway right just after the 2 letters DS ...
Good luck
  #3 (permalink)  
Old 05-27-2008
saisivakumar saisivakumar is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
hi andryk,

i have opend for edit sendmail.cf , but i not finding any mail gateway option my sendmail.cf is
#
# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Copyright (c) 1993, 1997 - 2000
# Sun Microsystems, Inc. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of# the sendmail distribution.
#
#

######################################################################
######################################################################
#####
##### SENDMAIL CONFIGURATION FILE
#####
######################################################################
######################################################################

##### $Id: cfhead.m4,v 8.76 2000/03/21 23:56:59 gshapiro Exp $ #####
##### @(#)cf.m4 8.24 (Berkeley) 8/16/95 #####

##### @(#)remote_mode.m4 1.2 (Sun) 05/01/00 #####
##### @(#)subsidiary-v7sun.mc 1.7 (Sun) 05/27/00 #####

##### $Id: solaris2.m4,v 8.22 1999/09/24 21:43:53 ca Exp $ #####
##### $Id: local_lmtp.m4,v 8.15 1999/11/18 05:06:22 ca Exp $ #####

##### @(#)solaris-generic.m4 1.6 (Sun) 05/27/00 #####

##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $
#####

##### @(#)use_cw_file.m4 8.1 (Berkeley) 6/7/93 #####


##### @(#)use_ct_file.m4 8.1 (Berkeley) 9/17/95 #####


##### @(#)accept_unqualified_senders.m4 8.3 (Berkeley) 5/19/98 #####

##### @(#)accept_unresolvable_domains.m4 8.7 (Berkeley) 5/19/98 #####
  #4 (permalink)  
Old 05-28-2008
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
Quote:
Originally Posted by saisivakumar View Post
hi andryk,

i have opend for edit sendmail.cf , but i not finding any mail gateway option my sendmail.cf is
#
# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Copyright (c) 1993, 1997 - 2000
# Sun Microsystems, Inc. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of# the sendmail distribution.
#
#

######################################################################
######################################################################
#####
##### SENDMAIL CONFIGURATION FILE
#####
######################################################################
######################################################################

##### $Id: cfhead.m4,v 8.76 2000/03/21 23:56:59 gshapiro Exp $ #####
##### @(#)cf.m4 8.24 (Berkeley) 8/16/95 #####

##### @(#)remote_mode.m4 1.2 (Sun) 05/01/00 #####
##### @(#)subsidiary-v7sun.mc 1.7 (Sun) 05/27/00 #####

##### $Id: solaris2.m4,v 8.22 1999/09/24 21:43:53 ca Exp $ #####
##### $Id: local_lmtp.m4,v 8.15 1999/11/18 05:06:22 ca Exp $ #####

##### @(#)solaris-generic.m4 1.6 (Sun) 05/27/00 #####

##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $
#####

##### @(#)use_cw_file.m4 8.1 (Berkeley) 6/7/93 #####


##### @(#)use_ct_file.m4 8.1 (Berkeley) 9/17/95 #####


##### @(#)accept_unqualified_senders.m4 8.3 (Berkeley) 5/19/98 #####

##### @(#)accept_unresolvable_domains.m4 8.7 (Berkeley) 5/19/98 #####
Hi,
There must be DS at the beginning of a line somewhere in sendmail.cf, so search for these 2 letters 'DS' and add your mailgateway just right after
Closed Thread

Bookmarks

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 11:43 PM.


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