cron to stop emailing me?

Discussion in 'Server Operation' started by Heeter, Jan 9, 2015.

  1. Heeter

    Heeter Member

    Hi All

    I have my LAMP setup so that the system emails me updates whenever there is something going on.
    Since a few days ago, every hour, I keep getting an email from my Cron:
    Code:
     Cron <clamav@server1> [-x /usr/sbin/clamav-unofficial-sigs] && /usr/sbin/clamav-unofficial-sigs 
    The system is working fine, but I would like it to stop filling my inbox every hour. Maybe instead a summary once a month or something like that

    what can I do?

    Regards,

    Heeter
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can e.g. redirect the cron mails into a separate mailbox (not your normal mailbox) and check this mailbox less often.
     
  3. Heeter

    Heeter Member

    Great idea!

    *Now I gotta run off and figure out how to do that *


    Thanks

    Heeter
     
  4. Heeter

    Heeter Member

    Which file and where would it be located on the server for me to change the email address?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can redirect the mails e.g. with /etc/aliases file. When you edited the file, run the command "newaliases" to apply the changes.
     
    Last edited: Jan 9, 2015
  6. Heeter

    Heeter Member

    Awesome thanks for this, till

    Heeter
     

Share This Page