05-12-2009
Hi,
If your smtp server name is abc.test.com the command you should use is
telnet abc.test.com 25
you have to execute this from the server where you are trying to send email.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone!
I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string.
Is there a way to send this message to a mail client using SMTP?
Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
5 Replies
2. UNIX for Advanced & Expert Users
How do I send an email with a subject and an attachment from a command prompt? (3 Replies)
Discussion started by: mskarica
3 Replies
3. Shell Programming and Scripting
Dear all,
how can i send mail using mailx or mail command?do i need to configure anything for sending mail?please help me.Its urgent.
the version i use is
Linux TDM 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Thanks
Regards,
Pankaj (15 Replies)
Discussion started by: panknil
15 Replies
4. HP-UX
Hi..
In Hp ux box,, mails are not being sent. they are getting queued up in mail queue. (3 Replies)
Discussion started by: kkhan
3 Replies
5. Ubuntu
Hi,
I have kubuntu 8.10 and I would like to configure Ubuntu to can send mail from command line with mailx.
I've saw that I need to install a MTA. But I don't know with install and how.
Do you know some howto or url where I find how could I configure it?
Many thanks and sorry for my... (2 Replies)
Discussion started by: mierdatuti
2 Replies
6. Shell Programming and Scripting
Hi there,
How can I send the automated log file, daily at 7 am to the respective mail .
Thanks in Advance,
Neha (2 Replies)
Discussion started by: NehaKrish
2 Replies
7. Shell Programming and Scripting
Hi guys...
I am busy writing a script to notify me via an mail if my application is down. I have done that.
Now I want this script to stop sending mails after five mails were sent but the script should keep on checking the application.
When the application is up again that count should be... (5 Replies)
Discussion started by: Phuti
5 Replies
8. Shell Programming and Scripting
Hi All,
I have a script that looks like this:
***********
#!/bin/sh -x
cd /u01/app/oracle/diag/rdbms/spdb/spdb/trace
cat alert_spdb.log|grep Archiver >/dev/null
if ;
then
mailx -s "Archiver message in Alert log" user@email.com
fi
************
Im using the -x option to see any... (1 Reply)
Discussion started by: oradba888
1 Replies
9. UNIX for Dummies Questions & Answers
How can i send a mail when user login in unix ENV.
How can i know present use mailID??
Moved out of Contact Us Forum - Please Do Not Post Technical Questions in Non-Technical Forum(s) (1 Reply)
Discussion started by: arun508.gatike
1 Replies
10. Red Hat
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Discussion started by: RedSpyder
1 Replies
LEARN ABOUT REDHAT
bos_listhosts
BOS_LISTHOSTS(8) AFS Command Reference BOS_LISTHOSTS(8)
NAME
bos_listhosts - Displays the contents of the CellServDB file
SYNOPSIS
bos listhosts -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos listh -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
bos getcell -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos getc -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
DESCRIPTION
The bos listhosts command formats and displays the list of a cell's database server machines from the /etc/openafs/server/CellServDB file
on the server machine named by the -server argument.
To alter the list of machines, use the bos addhost and bos removehost commands.
OPTIONS
-server <machine name>
Indicates the server machine from which to display the /etc/openafs/server/CellServDB file. Identify the machine by IP address or its
host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).
For consistent performance in the cell, the output must be the same on every server machine. The bos addhost reference page explains
how to keep the machines synchronized.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The first line of the output names the cell to which the server machine belongs. Each of the following lines names a database server
machine for that cell.
The "Host" number assigned to each database server machine is for server-internal use only and is not the same as, nor necessarily related
to, the machine's IP address. The BOS Server assigned it as part of performing the bos addhost command.
EXAMPLES
The following command displays the database server machines listed in the /etc/openafs/server/CellServDB file on the machine "fs7.abc.com".
% bos listhosts fs7.abc.com
Cell name is abc.com
Host 1 is db1.abc.com
Host 2 is db2.abc.com
Host 3 is db3.abc.com
PRIVILEGE REQUIRED
None
SEE ALSO
CellServDB(5), KeyFile(5), bos(8), bos_addhost(8), bos_removehost(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_LISTHOSTS(8)