1835447 Members
2610 Online
110078 Solutions
New Discussion

mail

 
SOLVED
Go to solution
subhashni
Regular Advisor

mail

Hello ,
Is there a way that i can verify that if a mail
notification sent to a user.
Thanks in advance.
unix4me
5 REPLIES 5
Deoncia Grayson_1
Honored Contributor

Re: mail

you can always check
for /var/adm/syslog/mail.log and grep for the user id to make sure no errors was generated and verify with the user that he/she indeed received the notification.

this of course applies if you're using sendmail to send the notification.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
LiPEnS
Valued Contributor

Re: mail

Hi
See into /var/adm/syslog/mail.log

Regards
Rick Garland
Honored Contributor

Re: mail

In the /var/adm/syslog is a file called maillog. This log file will tell you that a message was sent from the UNIX system. This does not tell you that a message was received, was opened, was read, etc...

If you are relaying (say, to an Exchange server) this mail will be relayed to the Exchange server. On the Exchange server will be logs that will state mail for userX was received and relayed to the mailbox.

The sendmail service on HPUX does not have the functionality to see if a user opens his mail.

Raj D.
Honored Contributor
Solution

Re: mail

Hi Subhashni,

Check the log file /var/adm/syslog/mail.log

( usually grows more).

# cat /var/adm/syslog/mail.log | grep username | tail -n 1

It will show the last mail sent to the user.


hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
subhashni
Regular Advisor

Re: mail

Thank You.
unix4me