Sponsored Content
Operating Systems Solaris Configuring send mail client in solaris 10 Post 302410480 by vishwanathhcl on Tuesday 6th of April 2010 06:19:44 AM
Old 04-06-2010
Configuring send mail client in solaris 10

Dear all,

We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..

kindly help .......
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris Mail Client & MS Exchange

Is it possible to configure the Solairs (2.6) mail client to get it's email from an MS Exchange server ? If so can soemone point me in the right direction. Thanx :confused: (5 Replies)
Discussion started by: ianf
5 Replies

2. UNIX for Dummies Questions & Answers

Need help for configuring outgoing mail in Solaris 9

G'day, I've a solaris 9 box that I want to configure so that users can send out mails to internet. How can I do it? Can someone pls list me the steps or direct me to a detailed website. Thanks in advance. (1 Reply)
Discussion started by: Albert J.
1 Replies

3. Solaris

mail problems - how to send mail on solaris

Hello I am new user on solaris... I need to configure my solaris to be able to send mails... I know mailx command mailx -s hello address@address.com but I get an error... you have mail in /var/mail/root # hello... User unknown /dead.letter... Saved message in /dead.letter what... (10 Replies)
Discussion started by: amon
10 Replies

4. UNIX for Dummies Questions & Answers

Can not send mail in solaris 5.9

Hi !! I'm trying to send myself a mail from my Solaris server, i had tryed with this commands: mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies

5. UNIX for Dummies Questions & Answers

how to send mail from server to client's email-id

i want to send email from server to the client's email-id. server is solaris. please help me out.i want to send mail to the email-id not to the var/spool/mail. (8 Replies)
Discussion started by: parmeet
8 Replies

6. UNIX for Advanced & Expert Users

How to allow roaming client to send mails via its mail server

Hi folks OS- Debian Etch Xen postfix courier perdition perdition-mysql MySQL Single public IP Dom0 - Debian Etch workstation Server-1, domU1 for routing with perdition and perdition-mysql installed Server-2, domU2, mail server for domain-A Server-3, domU3, mail server for... (2 Replies)
Discussion started by: satimis
2 Replies

7. UNIX for Advanced & Expert Users

send attachments using send mail in Solaris

Hi All, I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

8. UNIX for Dummies Questions & Answers

Configuring mail to send email from server to client

Hi, I want to send an email from server to my gmail account for all critical messages reported in the server. Kindly help me in configuring the same. Regards Rochit (1 Reply)
Discussion started by: rochitsharma
1 Replies

9. Shell Programming and Scripting

Need to send file through mail from Solaris

I have Solaris-10 and some job is writing a log. My client needs this log file every two hour in his mail. Usually I send manual mail through mailx command, as sendmail is configured with relay server, but I am not sure, how to attach file in a mail and set it in cronjob. Please give me some... (3 Replies)
Discussion started by: solaris_1977
3 Replies

10. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
Mail::SendEasy::SMTP(3pm)				User Contributed Perl Documentation				 Mail::SendEasy::SMTP(3pm)

NAME
Mail::SendEasy::SMTP - Handles the communication with the SMTP server without dependencies. DESCRIPTION
This module will handle the communication with the SMTP server. It hasn't dependencies and supports authentication. USAGE
use Mail::SendEasy ; $smtp = Mail::SendEasy::SMTP->new( 'domain.foo' , 25 , 120 ) ; if ( !$smtp->auth ) { warn($smtp->last_response_line) ;} if ( $smtp->MAIL("FROM:<$mail{from}>") !~ /^2/ ) { warn($smtp->last_response_line) ;} if ( $smtp->RCPT("TO:<$to>") !~ /^2/ ) { warn($smtp->last_response_line) ;} if ( $smtp->RCPT("TO:<$to>") !~ /^2/ ) { warn($smtp->last_response_line) ;} if ( $smtp->DATA =~ /^3/ ) { $smtp->print("To: foo@foo") ; $smtp->print("Subject: test") ; $smtp->print(" ") ; $smtp->print("This is a sample MSG!") ; if ( $smtp->DATAEND !~ /^2/ ) { warn($smtp->last_response_line) ;} } $smtp->close ; METHODS
new ($host , $port , $timeout , $user , $pass) Create the SMTP object and connects to the server. connect Connect to the server. auth_types The authentication types supported by the SMTP server. auth($user , $pass) Does the authentication. print (data) Send data to the socket connection. cmd (CMD , @MORE) Send a command to the server. response Returns the code response. If wantarray returns an ARRAY with the response lines. last_response Returns an ARRAY with the response lines. last_response_msg The last response text. last_response_line The last response line (code and text). close QUIT and close the connection. AUTHOR
Graciliano M. P. <gm@virtuasites.com.br> COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2004-04-09 Mail::SendEasy::SMTP(3pm)
All times are GMT -4. The time now is 10:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy