Cron notifications in messages screen
Cron notifications in messages screen
Hi guys - Noticed after upgrading to 3.0.1.0 my messages log is showing
Cron <root@filter> run-parts /etc/cron.hourly
Is there any way of hiding these notifications? - They are a tad intrusive!
Many thanks
Cron <root@filter> run-parts /etc/cron.hourly
Is there any way of hiding these notifications? - They are a tad intrusive!
Many thanks
Re: Cron notifications in messages screen
Any ideas guys?..
Re: Cron notifications in messages screen
Whats in that mails?
Re: Cron notifications in messages screen
Can you tell me the contents of the following files:
- /etc/cron.d/0hourly
- /etc/aliases
Re: Cron notifications in messages screen
Contents of /etc/cron.d/0hourly
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
01 * * * * root run-parts /etc/cron.hourly
and /etc/aliases
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amanda: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root
ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
sales: postmaster
support: postmaster
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
#root: marc
root: myemailaddress@domain.com
Edited my email address at the end.
Many thanks
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
01 * * * * root run-parts /etc/cron.hourly
and /etc/aliases
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amanda: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root
ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
sales: postmaster
support: postmaster
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
#root: marc
root: myemailaddress@domain.com
Edited my email address at the end.
Many thanks
Re: Cron notifications in messages screen
Is @domain.com one of the domains served by your EFA box?
Re: Cron notifications in messages screen
Trying to reproduce the problem...
Re: Cron notifications in messages screen
- Attachments
-
- issue2.png (45.65 KiB) Viewed 9207 times
Re: Cron notifications in messages screen
oops.
I just noticed that I'm getting those messages to after upgrading. I didn't noticed until I actually looked.
The message is generated by the hourly cron job to show the results.
Looking at the message, I've got the following content:
that looks suspicious
editing that file shows that yes, that variable is define twice. I'm going to delete one of them - the last one in the file.
Now that I have done so, I'll see if the messages show up again in an hour.
I just noticed that I'm getting those messages to after upgrading. I didn't noticed until I actually looked.
The message is generated by the hourly cron job to show the results.
Looking at the message, I've got the following content:
Code: Select all
Notice: Constant SHOW_GREYLIST already defined in
/var/www/html/mailscanner/conf.php on line 251
editing that file shows that yes, that variable is define twice. I'm going to delete one of them - the last one in the file.
Now that I have done so, I'll see if the messages show up again in an hour.
Re: Cron notifications in messages screen
Ha! Thanks DaN,
That is indeed the fix. It's been over an hour and the message hasn't returned.
The lesson here is: if you are getting these cron messages, pay attention to them.
- Paul
That is indeed the fix. It's been over an hour and the message hasn't returned.
The lesson here is: if you are getting these cron messages, pay attention to them.
- Paul
Re: Cron notifications in messages screen
Excellent find DaN - That has done the trick.DaN wrote:See also viewtopic.php?t=1602
Many thanks guys