04-13-2003
Sendmail: Log entry
Hello
Can you tell me what this entry means in the log files:
relay=gtw.powerinternetcr.com [216.25.173.132] (may be forged), reject=550 5.7.1 <aaronzum@gmx.net>... Relaying denied. IP name possibly forged [216.25.173.132]
IS someone trying to use my server for sending spam mail? If so how can I stop this from appearing?
Regards
KS
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I manage to send an email with sendmail (phew)
I guess there is a queue timer, which is why it aint sent immediatly, and I guess its' in the mc file. ill look into it soon.
What I am looking for are the logs. I don't see any.
grep mail /etc/syslog.conf
# Log anything (except mail) of... (0 Replies)
Discussion started by: saariko
0 Replies
2. Shell Programming and Scripting
Hi,
Please help me with below scenerio...
i have a shell script.. which should be scheduled in cron and should get the log when executed.
example, script.ksh :
echo "narayana" >$HOME/script.log
* * * * * bash -x $HOME/script.ksh >$HOME/script_cron.log
My question is:
I am... (2 Replies)
Discussion started by: lnviyyapu
2 Replies
3. UNIX for Dummies Questions & Answers
Can some one please help me know how exactly to understand logs in sendmail 8.14.5. I am pretty new to sendmail.
I am running rhel6 on my system and i installed sendmail on it. Its just a test enivornment and i am sending and receiving emails on my localshot only.
Jun 13 18:32:38 serv1... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
4. Shell Programming and Scripting
Hi Ladies and Gents,
Explanation of my question with an example:
Let's consider the script: backup_every_hour.sh
#!/bin/bash
rsync -auv $dir $backup_dir >> backup_every_hour_script.log
Each time this script is called there will be a new entry at the end of the file... (1 Reply)
Discussion started by: freddie50
1 Replies
5. Shell Programming and Scripting
This one is a bit too challenging for me... Hopefully you guys can help.
Let's say I have a log file called:
"$MW_HOME/user_projects/domains/IDMDomain/servers/wls_ods?/logs/wls_ods1-diagnostic.log"
In this log file I want to search for "DIP-10219". When I execute this
$ cat... (7 Replies)
Discussion started by: exm
7 Replies
6. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
7. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
8. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
9. Shell Programming and Scripting
Hi there
I am trying to write a script where I will need to look for a specific word in the log file and I am aware this can be done by grep for example.
As there will be multiple entries for this I want to grep the last one to enter the log... how would I go about this - would I have to use... (5 Replies)
Discussion started by: simpsa27
5 Replies
10. Shell Programming and Scripting
Hi,
I want to monitor a log file using tail -f command and search for a specific string on the most recent entry from the file. If the search string matches with the most recent or last line from the file, I want send an email to the people with the message.
tail -f service.log|tail -n 1
... (5 Replies)
Discussion started by: svajhala
5 Replies
LEARN ABOUT SUNOS
wbemlogviewer
wbemlogviewer(1M) wbemlogviewer(1M)
NAME
wbemlogviewer - start WBEM Log Viewer
SYNOPSIS
/usr/sadm/bin/wbemlogviewer
The wbemlogviewer utility starts the WBEM Log Viewer graphical user interface, which enables administrators to view and maintain log
records created by WBEM clients and providers. The WBEM Log Viewer displays a Login dialog box. You must log in as root or a user with
write access to the rootcimv2 namespace to view and maintain log files. Namespaces are described in wbemadmin(1M).
Log events can have three severity levels.
o Errors
o Warnings
o Informational
The WBEM log file is created in the /var/sadm/wbem/log directory, with the name wbem_log. The first time the log file is backed up, it is
renamed wbem_log.1, and a new wbem_log file is created. Each succeeding time the wbem_log file is backed up, the file extension number of
each backup log file is increased by 1, and the oldest backup log file is removed if the limit, which in turn is specified in the log ser-
vice settings, on the number of logfiles is exceeded. Older backup files have higher file extension numbers than more recent backup files.
The log file is renamed with a .1 file extension and saved when one of the following two conditions occur:
o The current file reaches the specified file size limit.
o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file.
o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file.
o A user chooses Action->Back Up Now in the Log Viewer application.
Help is displayed in the left panel of each dialog box. Context help is not displayed in the main Log Viewer window.
The WBEM Log Viewer is not the tool for a distributed environment. It is used for local administration.
The WBEM Log Viewer allows you to perform the following tasks:
View the logs
Set properties of log fiClick Action->Log File Settings to specify log file parameters and the log file directory.
Back up a log file Click Action->Back Up Now to back up and close the current log file and start a new log file.
Open historical log fileClick Action->Open Log File to open a backed-up log file.
Delete an old log file Open the file and then click Action->Delete Log File. You can only delete backed-up log files.
View log record details Double-click a log entry or click View->Log Entry Details to display the details of a log record.
Sort the logs Click View->Sort By to sort displayed entries. You can also click any column heading to sort the list. By default,
the log entries are displayed in reverse chronological order (new logs first).
EXIT STATUS
The wbemlogviewer utility terminates with exit status 0.
/var/sadm/wbem/log/wbem_log
WBEM log file
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbcor |
+-----------------------------+-----------------------------+
wbemadmin(1M), init.wbem(1M), mofcomp(1M), attributes(5)
3 Jan 2000 wbemlogviewer(1M)