1827697 Members
3155 Online
109967 Solutions
New Discussion

Re: log for mail sent

 
SOLVED
Go to solution
yc_2
Regular Advisor

log for mail sent

Hi,

Is there a log to check when does a mail being sent out ?


Thanks in advance,
YC
7 REPLIES 7
T G Manikandan
Honored Contributor
Solution

Re: log for mail sent

/var/adm/syslog/mail.log


Con O'Kelly
Honored Contributor

Re: log for mail sent

Yes
/var/adm/syslog/mail.log

Cheers
Con
twang
Honored Contributor

Re: log for mail sent

You may check /var/spool/mqueue to ensure there is not mail in outgoing queue.
Or use mailq to see currently pending mails.
Michael Tully
Honored Contributor

Re: log for mail sent

The log is /var/adm/syslog/mail.log. for both successful and unsuccessful

You can also check things like root mail

as root
# elm
mail waiting to be sent
# mailq
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: log for mail sent

The log is /var/adm/syslog/mail.log. for both successful and unsuccessful

You can also check things like root mail

as root
# elm
mail waiting to be sent
# mailq

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: log for mail sent

If you want to see if it works now...

sendmail -v -d8.99 -d38.99 someone@yahoo.com

type some text

type a dot(period)

.

You'll get nice diagnostics.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Caesar_3
Esteemed Contributor

Re: log for mail sent

Hello!

You can check the /var/adm/syslog/mail.log
You can use the tool mailq that shows the queue.
You can configure your sendmail that will
make an aks about sending mail.

Caesar