2nd argument of grep is a file name.
Either
or replace it by a case statement ---------- Post updated at 02:25 PM ---------- Previous update was at 02:22 PM ----------
PS. Maddy, your code is hard to read. Please re-edit and wrap in CODE tags!
Last edited by MadeInGermany; 03-04-2013 at 03:29 PM..
Reason: quoted
This User Gave Thanks to MadeInGermany For This Post:
Hi When trying to access my UNIX mail account I am getting this error message, can anyone suggest a way to get in and delete some of these messages please?
Can I simply delete my mail file or hack it with a text editor?
Thanks
:confused: (3 Replies)
Whoops!
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
1. Verify configuration options using the -v command-line option to check for errors.
2. Check the Nagios log file for messages relating to startup or... (0 Replies)
help i get this error when i sending a mail
send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed
this is my coding
echo "$PRONAME is being restart" | mailxs "Subject:Process" "sally@$THISHOST"
i wish to send this mail to my... (2 Replies)
Hi,
I am getting illegal option error while using -c to CC in mail.
command used:
mailx -s "Report" -c xyz@abc.com < /tmp/report
Machine: HP UX.
Please help me out.
Looking you forward.
Thanks in Advance.
Jagadeesh. (3 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 All,
I a trying to send a mail from shell script. But it doesn't send the mail to the specified Emailid. Inturn it sends to the Server userid.
Let me know whether i need to include the SMTP server details. If so how?
echo "CVS checkout completed" | mail -s "Auto cvs checkout"... (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 have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
I have 3 Solaris Unix 5.10 machine
One of them is successfully sending mails using mail commands
the 2 others are not , when i try to send using mail or mailx , i get this message within few seconds
drop_privileges: setuid(0) succeeded (when it should not)
The working and non-working... (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 SUSE
writelog
WRITELOG(8) System Manager's Manual WRITELOG(8)NAME
writelog - add a entry to an INN log file.
SYNOPSIS
writelog name text...
DESCRIPTION
The writelog script is used to write a log entry or send it as mail. The name parameter specifies the name of the log file where the entry
should be written. If it is the word ``mail'' then the entry is mailed to the news administrator, <USER specified with --with-news-mas-
ter at configure>. The data that is written or sent consists of the text given on the command line, followed by standard input indented by
four spaces. Shlock(1) is used to avoid simultaneous updates to a single log file.
HISTORY
Written by Landon Curt Noll <chongo@toad.com> and Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 5909, dated
2002-12-03.
SEE ALSO innd(8), innstat(8), news.daily(8), newslog(5), nnrpd(8), scanlogs(8).
WRITELOG(8)