Understanding /var/log/syslog.* logfiles solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris Understanding /var/log/syslog.* logfiles solaris 8
# 1  
Old 02-20-2012
Understanding /var/log/syslog.* logfiles solaris 8

hi guys,
This is a log from a Solaris 8 server /var/log/syslog.* file.
Can any body please confirm whether the meaning of the last two words (Mail accepted) means the mail has been delivered?
Because the email id the mail was sent to is invalid. Smilie

The log is:

Code:
 
Feb 18 08:55:45 server sendmail[4914]: [ID 801593 mail.info] q1I8tju04914: from=user, size=2252, class=0, nrcpts=1, msgid=<201202180855.q1I8tju04914@servername.com>, relay=user@localhost
Feb 18 08:55:45 server sendmail[4916]: [ID 801593 mail.info] q1I8tju04914: to=abc@xyz.com, ctladdr=usr (1019/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=122252, relay=smtp.something.com. [xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (Mail accepted)

Thanks a lot.

Last edited by raj_55555; 02-20-2012 at 03:30 AM..
# 2  
Old 02-21-2012
smtp protocol (how email gets sent) does NOT care if the recipient is right or wrong.
It considers that to be a user problem, one that the users gets to deal with.

If the email is wrong in any way it still got sent somewhere, because sendmail found an IP address to send it to. It may or may not get bounced back depending on what the remote box is configured to do. If bounced it gets put in a special directory.

Send another correct email.

To find the bounced item try looking in /etc/sendmail.cf (don't edit that file).
Code:
 DeadLetterDrop=/var/tmp/dead.letter

DeadLetterDrop is where sendmail dumps bounced email, if set.

If the user has a dead.letter file look there
Code:
mailx -f dead.letter

Lets you see what is out there in dead.letter (if it exists)
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 02-22-2012
I scanned the dead.letter, and couldn't find those mails which were supposed to be bounced back. I sent a mail from gmail on one of those mail id's. Got the bounced back message in Gmail though. Any idea what's going on?

P.S. Apologies for the late reply.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

2. Programming

Openlog and syslog in red-hat Linux doesn't write any thing to /var/log/*

Using redhat 64 bit ver 6.2 I have simple c++ app that is trying to write to syslog like this: /* try to write massage into linux log */ void foo::writeToSyslog() { openlog("testlogfoo", 0, 24); // Send the message. ... (1 Reply)
Discussion started by: umen
1 Replies

3. SuSE

Non root user want to see /var/log/messages - any suse equivalent of Solaris dmesg

Hi New to Suse - mainly used Solaris. In solaris dmesg will also show you contents of messages log file but in Suse Liux it doesnt appear to. I dont have root access to this Suse server, and wondering is there any other tool / utility that allows me to see the messages file contents like on... (1 Reply)
Discussion started by: frustrated1
1 Replies

4. Shell Programming and Scripting

How can view log messages between two time frame from /var/log/message or any type of log files

How can view log messages between two time frame from /var/log/message or any type of log files. when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval. Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies

5. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

6. Solaris

Changing of syslog file path instead of /var/log directory

Hi Please let me know how can we change the syslog file path from /var/log to /a directory in solaris Regards (4 Replies)
Discussion started by: amity
4 Replies

7. Solaris

/var/log/syslog

Hi, Solaris : 9 I noticed /var/log/syslog message file growing fast in abnormal way since 4 or 5 days. due to this my root / filesystem is getting filled with 100% . root $ls -ltr total 4683730 -rwxrwxrwx 1 root sys 0 Oct 17 2005 authlog -rwxrwxrwx 1 root ... (17 Replies)
Discussion started by: maooah
17 Replies

8. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

9. Solaris

Help understanding [daemon.warning] messages in /var/adm/messages

Hi I've been using solaris for a few days now. During the install process i had some problems configuring my nic as i needed to install a third-party driver, which i got from a a linked site from the Sun Device Detector tool a ran prior to installing. I got it working eventually, but i'm... (1 Reply)
Discussion started by: jpg.2009
1 Replies

10. Shell Programming and Scripting

split monthly logfiles into daily logfiles

Hi, I have a lot of logfiles like fooYYYYMM.log (foo200301.log, foo200810.log) with lines like YYYY-MM-DD TIMESTAMP,text1,text2,text3... but I need (for postprocessing) the form fooYYYYMMDD.log (so foo200402.log becomes foo20040201.log, foo20040202.log...) with unmodified content of lines. ... (1 Reply)
Discussion started by: clzupp
1 Replies
Login or Register to Ask a Question