09-23-2011
Do you have a mail relay configured in your server, look for mailhost in /etc/hosts.
If not there then add the entry and restart sendmail.
It needs to communicate to a mail server to send mails.
The above error comes when mailhost is set to localhost [127.0.0.1].
Regards,
Vishal
10 More Discussions You Might Find Interesting
1. SCO
I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies
2. Shell Programming and Scripting
I'm trying to use rsh command to read a variable on a remote machine. I can rlogin with no problem. If I rsh HOST I also get connection like with rlogin. There is no need for passwords. But when I rsh HOST COMMAND it waits 30 seconds then gives me a connection refused error message. Any ideas?
... (4 Replies)
Discussion started by: Mace
4 Replies
3. IP Networking
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)
Discussion started by: Dudu1984
1 Replies
4. UNIX for Dummies Questions & Answers
hardware = raq550 running on strongbolt2.
my sendmail log is littered with this entry all through the day:
localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Discussion started by: tonj
0 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. UNIX and Linux Applications
I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01).
a. server.log
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Discussion started by: lhareigh890
1 Replies
7. IP Networking
From my machine (ubuntu), I can do
$ nc somemachine 80
But, when I want to connect to other machine that runs nc on different ports, it throws "Connection refused" error.
The same error occurs on my local machine. For example,
nc -l 5555
nc x.x.x.x 5555 --> this throws "Connection... (2 Replies)
Discussion started by: dinga
2 Replies
8. UNIX for Advanced & Expert Users
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
Discussion started by: yanis
3 Replies
9. Debian
I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies
10. Programming
Hi
I tried FTP transfer from WEC7(Windows Embedded Compact 7) to another windows 7.I am getting the connection refused error.
Could you please help me to resolve this.
what are the reasons one person can get connection refused while trying to connect through QFTP.
Tool : Qt 4.8
Thank... (4 Replies)
Discussion started by: SA_Palani
4 Replies
LEARN ABOUT SUNOS
asadmin-create-javamail-resource
asadmin-create-javamail-resource(1AS) User Commands asadmin-create-javamail-resource(1AS)
NAME
asadmin-create-javamail-resource, create-javamail-resource - registers the JavaMail resource
SYNOPSIS
create-javamail-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive] --mailhost hostname --mailuser username --fromaddress address [--storeprotocol imap]
[--storeprotocolclass com.sun.mail.imapIMAPStore] [--transprotocol smtp] [--transprotocolclass com.sun.mail.smtp.SMTPTransport]
[--debug=false][--enabled=true] [--description text] [--property (name=value)[:name=value]*] jndi_name
Registers the Javamail resource. This command can only be run remotely.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
--mailhost mail server host.
--mailuser mail account user name.
--fromaddress email address.
--storeprotocol mail server stored protocol.
--storeprotocolclass mail server stored protocol class name.
--transprotocol mail server transport protocol.
--transprotocolclass mail server transport protocol class name.
--debug if set to true, server startsup in debug mode for this resource.
--enabled determines whether the resource is enabled at runtime.
--description text description of the Javamail resource.
--property optional attribute name/value pairs for configuring the Javamail resource.
OPERANDS
jndi_name JNDI name of the Javamail resource to be created.
Example 1: Using create-javamail-resource
asadmin> create-javamail-resource --user admin
--password adminadmin --host fuyako --port 7070 --mailhost localhost
--mailuser sample --fromaddress sample@sun.com mail_resourc/MyMailSession
Command create-javamail-resource executed successfully
Where: mail/MyMailSession is the JavaMail resource created. The escape character () is used in the --fromaddress option to distinguish the
dot (.) and at sign (@). The JNDI name for a JavaMail resource customarily includes the mail/ naming subcontext.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-javamail-resource(1AS), asadmin-list-javamail-resources(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-javamail-resource(1AS)