email tail output
On Mon, 18 Jun 2012 10:40:27 +0800, Umarzuki Mochlis wrote:
> from what i heard that mail command does not need to have mail service
> running, right?
Well, you need a mail routing facility available in your system or a
similar tool that can be configured to directly contact e-mail servers
> 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`" email@example.com
If you're using the default installation, look at your "/var/log/exim4/*"
> but the email does not arrive at firstname.lastname@example.org. Is there any
> possibility that the mail could be blocked because i could not find it
> in mailq?
Mmm... that's hardly the reason because a mail facility is required for
any current Debian installation, I mean, most sure you have Exim4 in
place but the default Exim4 configuration is not allowed to send remote
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com