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 > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mailx is not working outside e-mails raosurya Shell Programming and Scripting 3 08-18-2007 12:32 AM
cannot send any mails using mailx ccc Debian 11 09-14-2006 08:35 AM
Send email from solaris to exchange jowvid SUN Solaris 1 08-21-2006 05:14 AM
Does Mailx store the mails sent munira_johar UNIX for Dummies Questions & Answers 6 05-09-2006 02:08 AM
Using mailx to send email to multiple users. priyaksingh Shell Programming and Scripting 4 02-21-2006 01:37 AM

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

Join Date: Nov 2005
Posts: 3
Question how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it
  #2 (permalink)  
Old 11-15-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
I don't undersand what this has to do with AD. You should just be able to send the email to the full email addresses of the users and provided your mx records are correctly configured in dns it should get there.
  #3 (permalink)  
Old 11-16-2005
ganeshh ganeshh is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 3
In my script I am picking up the user IDs from /etc/passwd database.
Now this requirement then comes into picture to find out related mail address on the exchange server, for the user ID (derived from /etc/passwd database).
Is there any way by which I can resolve mail id for the user on unix box.
  #4 (permalink)  
Old 11-17-2005
mr_manny mr_manny is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 144
creative /etc/hosts resolving and utilizing your company's SMTP server...

You could introduce your company's SMTP server and some creative /etc/hosts resolving on your SUNbox?

Our sendmail is configured w/the following options:
DMyourCOMPANY.com (masquerade company email address)
DSmail.COMPANY.com (this is the default route for all outgoing mail, which will be resolved in hosts file locally)

now in /etc/hosts, resolve mailCOMPANY.com by associating it w/your company's SMTP server (It will also include an alais for your exchange server domain).

192.x.x.x EXCHANGEdefaultDOMAIN.net mailCOMPANY.com

I believe it is this EXCHANGEdefaultDOMAIN.net entry that allows exchange to receive incoming mail. You will notice that it is recognized when performing a sendmail test (sendmail -v exchangeUSER@COMPANY.com).

no DNS, everything is resolved locally.
  #5 (permalink)  
Old 11-17-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
It would be much easier to use ldapsearch to get the correct email addresses for users.
  #6 (permalink)  
Old 11-18-2005
ganeshh ganeshh is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 3
ganeshh

Any Idea how to go for ldapsearch....a script.. something like that..?
Sponsored Links
Closed Thread

Bookmarks

Tags
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 03:52 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