Koozali.org: home of the SME Server

how can i stop these cron mails ?

Offline KaiNeR

  • ****
  • 122
  • +0/-0
    • http://www.fire-blade.co.uk
how can i stop these cron mails ?
« on: July 09, 2005, 03:13:19 AM »
/etc/startmail:
: command not found
#**********************************.**********************.**********************.******#*******************.*******************.********************.***********.********************.****************



i get a new email with this same message about 100 times a day, my inbox is just getting littered with it all,  :-?

any idea's anyone ??
KaiNeR  :pint: ......

Offline raem

  • *
  • 3,972
  • +4/-0
Re: how can i stop these cron mails ?
« Reply #1 on: July 09, 2005, 10:04:08 AM »
KaiNeR

Did you search these forums ? I'm sure this was answered recently.
...

Offline KaiNeR

  • ****
  • 122
  • +0/-0
    • http://www.fire-blade.co.uk
Yep, ive searched for hours
« Reply #2 on: July 09, 2005, 02:17:03 PM »
Yep, ive searched for hours. I've asked this question before but got no reply. Or the help i did recieve was to disable logging on startmail, but this did not help as i'm still recieving hundreds of these mails each day.
KaiNeR  :pint: ......

Offline Curly

  • ****
  • 114
  • +0/-0
how can i stop these cron mails ?
« Reply #3 on: July 09, 2005, 11:06:36 PM »
My guess:

Somehow your file /etc/startmail contains something that is not right.

There is a template for that, so retry to apply the templates:
Code: [Select]
/sbin/e-smith/expand-template /etc/startmail.
If that doesn't work, it is handy to post the contents of /etc/startmail in this forum.

<edit>

Hmm, I spoke too soon, look here http://forums.contribs.org/index.php?topic=24021.msg95922#msg95922 for the solution.
.......................................

Offline KaiNeR

  • ****
  • 122
  • +0/-0
    • http://www.fire-blade.co.uk
how can i stop these cron mails ?
« Reply #4 on: July 10, 2005, 04:24:14 AM »
thanks, i've just deleted the --verbose option from the the fetchmail template,   :-)
KaiNeR  :pint: ......

Offline KaiNeR

  • ****
  • 122
  • +0/-0
    • http://www.fire-blade.co.uk
how can i stop these cron mails ?
« Reply #5 on: July 10, 2005, 03:01:26 PM »
i deleted the --verbose options from
/etc/e-smith/templates-custom/etc/fetchmail/90fetchmail
&
/etc/e-smith/templates-custom/etc/startmail/90FetchMails

then re expanded both templates, but now the mails sent to the administrator have changed they are now just 3 (...) and thats all, but i'm still recieving a new mail every 30 mins or so

i thought i had it fixed then too :)

contents of /etc/startmail
#!/bin/sh
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------



# This service has been flagged as 'disabled'
# in the e-smith services database.


# FetchMails dedicated connection; just call fetchmail to get things started
/bin/su - qmailr -s /bin/bash -c \
        "FETCHMAILHOME=/var/lock/fetchmail /etc/fetchmail"
KaiNeR  :pint: ......