Hi all, I've got a cron event running every minute to have smail check mail on our Exchange server. The line that runs the event is:
/opt/otrs/bin/./PostMasterPOP3.pl
This produces the following mail message:
From
root@foo.com Tue Jan 27 10:26:02 2004
Date: Tue, 27 Jan 2004 10:26:02 +0100 (CET)
From:
root@foo.com (Cron Daemon)
To:
root@foo.com
Subject: Cron <root@foo> /opt/otrs/bin/./PostMasterPOP3.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
No messages (domain_name\otrs/foo@172.25.25.25)
Connection to 172.25.25.25 closed.
The problem is that every time the command runs, it produces a mail message, leaving me with 8500 emails after a four day weekend, and I usually just delete them from smail manually:
"/var/mail/root": 8616 messages 12 new 8616 unread
>N8605
root@foo.com Mon Feb 2 09:45 20/605 Cron <root@foo> /opt/
N8606
root@foo.com Mon Feb 2 09:46 20/605 Cron <root@foo>
Is there a switch I can add to the end of the command to suppress the emails from being generated?
Thanks,
Jason