[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

email tail output



hi,

a newbie question:

from what i heard that mail command does not need to have mail service
running, right?

so i tried below command from my laptop just to check if i can put
similar command in crontab later then i wouldn't have to log in to a
server just to check if a process failed

$ tail /var/mail/user | mail -s "system mail on `date +%F`" user@domain.com

but the email does not arrive at user@domain.com. Is there any
possibility that the mail could be blocked because i could not find it
in mailq?

-- 
Regards,

Umarzuki Mochlis
http://debmal.my


Reply to: