02-08-2013
Add mailhost with correct IP to your /etc/hosts
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to send mail to a pager. I am able to send e-mails to other systems, but this is not sending the message through. The page works but the text message is not displayed. Does anyone see anything wrong with this syntax or have any ideas.
We are using Unix 5.2 on an RS6000 box.
... (1 Reply)
Discussion started by: Barb
1 Replies
2. UNIX for Dummies Questions & Answers
I am using sendmail on salaris 9. This server gets a heavy load of emails as big as 100 mb. i nedd suggestion on two issues.1st what can be the most common reason for frequent mail cuurption. 2nd how to fix a currupt email. the method i know is vi and deltting the lines till From is the 1st word of... (0 Replies)
Discussion started by: mazharhasan
0 Replies
3. Shell Programming and Scripting
Hi
I created one CSV file and i need to append some message in the content of my mail.
$sales=sales.dat
$sales_csv=sales.csv
$sales_report=sales.txt
this is the command am using it.
echo "sales for `date`"| read subject
uuencode $sales $sales_csv | mailx -ms "${subject}."... (2 Replies)
Discussion started by: bobprabhu
2 Replies
4. Shell Programming and Scripting
Hi Unix Gurus,
Need your help regarding a weird issue that I'm facing. I have an automated unix script that sends out PGP encrypted reports/feeds to our users as mail attahments. Every thing has been going well and all the users have no issues except one, who instead of getting the attachment,... (1 Reply)
Discussion started by: arunsoman80
1 Replies
5. Solaris
Hi Gurus,
I have moved one of my servers(Sol-9) to client site and have an issue trying to send mails from their site through SMTP server in my site.
I get the below error when my server forwards mails to the SMTP server in another domain.
root: mailx -v hari.ganesh@fnis.com
Subject: test... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies
6. Red Hat
Hi Friends,
I wrote one shell script which will send some emails to the customers.
I am using the "mail" command on the script to send the mails.
As my hostname is "test.xxxx.com" and the username is "noreply", the sender address will become noreply@test.xxxx.com. As test.xxxx.com is not a... (2 Replies)
Discussion started by: arumon
2 Replies
7. Shell Programming and Scripting
I have used the mail command from the command line for sending mail from one machine to anther machine.
Example:
mail -s "Test" thillaselvan@xxx.co.in
Testing
But the mail is not getting received.
I have checked the logs in the following file.
tail -f /var/log/exim4/mainlog
It is... (0 Replies)
Discussion started by: thillai_selvan
0 Replies
8. Solaris
Solaris server does not receive email from other servers any more. For example, If we send mail from server A to server B, mail is not reaching server B and there is no message or warning about failure of sending mail in server A. What may be the issue of this?
Thankyou in advance!! (1 Reply)
Discussion started by: learner46
1 Replies
9. Shell Programming and Scripting
I have a script to run root commands on my server namely (alpha), If this commands run successfully I need to mail to myuser@domain.com
I need the email to be from alpha@domain.com not from root@alpha.com, Is there a way to do this while I'm running the script as a root
# cat myscript
... (2 Replies)
Discussion started by: Sara_84
2 Replies
LEARN ABOUT DEBIAN
pvm_addhosts
ADDHOSTS(3PVM) PVM Version 3.4 ADDHOSTS(3PVM)
NAME
pvm_addhosts - Add hosts to the virtual machine.
SYNOPSIS
C int info = pvm_addhosts( char **hosts, int nhost, int *infos )
Fortran call pvmfaddhost( host, info )
PARAMETERS
hosts An array of strings naming the hosts to be added. Pvmd must already be installed and the user must have an account on the speci-
fied hosts.
nhost Integer specifying the length of array hosts.
infos Integer array of length nhost which returns the status for each host. Values less than zero indicate an error, while positive val-
ues are TIDs of the new hosts.
host Character string naming the host to be added.
info Integer status code returned by the routine. Values less than nhost indicate partial failure, and values less than 1 indicate
total failure.
DESCRIPTION
The routine pvm_addhosts adds the computers named in hosts to the configuration of computers making up the virtual machine. The names
should have the same syntax as lines of a pvmd hostfile (see man page for pvmd3): A hostname followed by options of the form xx=y.
If pvm_addhosts is successful, info will be equal to nhost. Partial success is indicated by 0 < info < nhost, and total failure by info <
1. The array infos can be checked to determine which host caused the error.
The Fortran routine pvmfaddhost adds a single host to the configuration with each call. info will be 1 if successful or < 0 if error.
The status of hosts can be requested by the application using pvm_mstat and pvm_config. If a host fails it will be automatically deleted
from the configuration. Using pvm_addhosts a replacement host can be added by the application, however it is the responsibility of the
application developer to make his application tolerant of host failure. Another use of this feature would be to add more hosts as they
become available, for example on a weekend, or if the application dynamically determines it could use more computational power.
EXAMPLES
C:
static char *hosts[] = {
"sparky",
"thud.cs.utk.edu",
};
info = pvm_addhosts( hosts, 2, infos );
Fortran:
CALL PVMFADDHOST( 'azure', INFO )
ERRORS
The following error conditions can be returned by pvm_addhosts:
PvmBadParam
giving an invalid argument value.
PvmAlready
another task is currently adding hosts.
PvmSysErr
local pvmd is not responding.
and in the infos vector:
PvmBadParam
bad hostname syntax.
PvmNoHost
no such host.
PvmCantStart
failed to start pvmd on host.
PvmDupHost
host already configured.
PvmBadVersion
pvmd protocol versions don't match.
PvmOutOfRes
PVM has run out of system resources.
SEE ALSO
pvm_pvmd3(1PVM), pvm_delhosts(3PVM), pvm_start_pvmd(3PVM), pvm_config(3PVM), pvm_mstat(3PVM)
22 February, 1994 ADDHOSTS(3PVM)