When I try to use the CLI mail, I get the following error. What's wrong?
Welcome to Darwin!
% mail root
Subject: test
test
.
EOT
% /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
Do I just need to change the... (1 Reply)
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.
Rather than using a real mail account on the... (2 Replies)
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Hello,
I am using centos-6.2
I have apache server,php5 on my system and I want to send mail using sendmail on my system.
when I try to send mail from shell that time mail is succesfully sent to respective address()
but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
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
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)