09-23-2011
I don't quite understand what you're trying to say.
iirc, I solved that sendmail problem simply by modifying crontab so that it doesn't try to send command output with sendmail.
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
mailstats
mailstats(1) User Commands mailstats(1)
NAME
mailstats - print statistics collected by sendmail
SYNOPSIS
mailstats [-o] [-c ] [-C configfile] [-f statisticsfile] [-p] [-P]
DESCRIPTION
The mailstats utility prints out the statistics collected by the sendmail(1M) program on mailer usage. These statistics are collected if
the file indicated by the StatusFile configuration option of sendmail (defined in /etc/mail/sendmail.cf) exists. The default statistics
file is /etc/mail/statistics.
To enable mailstats, you must, as root, touch /etc/mail/statistics. See the StatusFile processing option in sendmail(1M).
mailstats first prints the time that the statistics file was created and the last time it was modified. Then, the statistics for each
mailer are displayed on a single line, each with the following whitespace-separated fields:
M The mailer number.
msgsfr Number of messages from the mailer.
bytes_from Kbytes from the mailer.
msgsto Number of messages to the mailer.
bytes_to Kbytes to the mailer.
msgsrej Number of messages rejected by the mailer.
msgsdis Number of messages discarded by the mailer.
msgsqur Number of messages quarantined by the mailer.
Mailer The name of the mailer.
The display of statistics described above is followed by a separation line containing only equal sign (=) characters. After the separation
line, a line preceded with a "T" and totaling the values for all of the mailers is displayed. This is followed by another line preceded
with a "C" that lists the number of TCP connections.
To reinitialize the statistics file once a night, add an entry to root's crontab(1):
mailstats -p > /dev/null
OPTIONS
The following options are supported:
-c Try to use submit.cf instead of the default sendmail configuration file.
-C configfile Specify a sendmail configuration file.
-f statisticsfile Specify a sendmail statistics file.
-o Do not display the name of the mailer in the output.
-p Output information in program-readable mode and clear statistics.
-P Output information in program-readable mode without clearing statistics.
USAGE
See largefile(5) for the description of the behavior of mailstats when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
/dev/null Zero-lined file
/etc/mail/statistics Default sendmail statistics file
/etc/mail/sendmail.cf Default sendmail configuration file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Output Stability |Unstable |
+-----------------------------+-----------------------------+
SEE ALSO
crontab(1), cron(1M), sendmail(1M), attributes(5), largefile(5)
SunOS 5.10 24 Jun 2004 mailstats(1)