Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

how to check logs in send mail with attachment

how to check logs in send mail with attachment

Hi

 

 

A mail was send from username madhu to mailing list  xyz-abc-rto@bbb.com with the attachment.

 

I need to find from logs from what time the attachement was send.

 

$ cat syslog.conf
# @(#)B11.23_LR
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug              /var/adm/syslog/mail
*.info;mail.none        /var/adm/syslog/syslog.log
*.emerg                 /var/adm/log/emergency/emergency
*.alert                 /var/adm/log/alert/alert
*.err                   /var/adm/log/error/error
*.crit                  /var/adm/log/critical/critical
*.warning               /var/adm/log/warning/warning
*.info                  /var/adm/log/information/information

 

 

 

IS there any keyword to refer the attachement mail time in mail log.

 

regards

 

Madhu

4 REPLIES

Re: how to check logs in send mail with attachment

HI

 

 

but when I checked with

 

grep -i "xyz-abc-rto@bbb.com "  /var/adm/syslog/mail

 

 

I can`t find any  information   in mail log.

 

regard

 

Madhu

Patrick Wallek
Honored Contributor

Re: how to check logs in send mail with attachment

How did you send the message with the attachment?

 

There should be a record in the mail.log file showing that an e-mail was sent.  However it does not denote anything about attachments. 

Re: how to check logs in send mail with attachment

Hi

 

 

where can i check if mail has been sent successfullly.

 

how can i find the failure delievry .

 

 

Dennis Handly
Acclaimed Contributor

Re: how to check logs in sendmail with attachment

>where can I check if mail has been sent successfully?

>how can I find the failure delivery?

 

Both types of entries should all be in /var/adm/syslog/mail.log.

Note: This will only tell you the mail was sent successfully to the relay machine, not to the final user.