fwconsole creating many emails through our Barracuda mail filter
-
This is what shows up in the barracuda queue:
-
Check this
https://issues.freepbx.org/browse/FREEPBX-11275
On your cronjob do you have the following at the end of it?> /dev/null 2>&1
-
@dbeato said in fwconsole creating many emails through our Barracuda mail filter:
Check this
https://issues.freepbx.org/browse/FREEPBX-11275
On your cronjob do you have the following at the end of it?> /dev/null 2>&1
Full cron list:
* * * * * [ -x /var/www/html/admin/modules/dashboard/scheduler.php ] && /var/www/html/admin/modules/dashboard/scheduler.php > /dev/null 2>&1 */1 * * * * /var/lib/asterisk/bin/pagepro-scheduler.php 2>&1 >/dev/null 47 3 * * * /usr/sbin/fwconsole certificates --updateall -q 2>&1 >/dev/null */15 * * * * [ -e /etc/asterisk/firewall.enabled ] && touch /var/spool/asterisk/incron/firewall.firewall @daily [ -e /var/www/html/admin/modules/sysadmin/bin/check_portal.php ] && /var/www/html/admin/modules/sysadmin/bin/check_portal.php >/dev/null 2>&1 @daily [ -x /var/lib/asterisk/agi-bin/ddns_client.php ] && /var/lib/asterisk/agi-bin/ddns_client.php >/dev/null 2>&1 51 * * * * /usr/local/sbin/fwconsole util cleanplaybackcache -q * * * * * [ -x /var/lib/asterisk/bin/schedtc.php ] && /var/lib/asterisk/bin/schedtc.php @hourly [ -x /var/lib/asterisk/bin/storage.php ] && /var/lib/asterisk/bin/storage.php >/dev/null 2>&1 @daily /usr/local/sbin/fwconsole pms mk_dirty > /dev/null 2>&1 * * * * * /usr/local/sbin/fwconsole pms wu_alert > /dev/null 2>&1 * * * * * /usr/local/sbin/fwconsole queuestats --syncall >> /tmp/reader.log 2>&1 30 22 * * * /usr/local/sbin/fwconsole recordingreports -s -c -q > /dev/null 2>&1 0 0 1 * * php /var/lib/asterisk/agi-bin/backuprecordings.php > /dev/null 2>&1 @daily [ -x /var/lib/asterisk/bin/freepbx_sipstation_check ] && /var/lib/asterisk/bin/freepbx_sipstation_check 2>&1 > /dev/null * * * * * php /var/lib/asterisk/bin/vqplus_generate_periodical_events.php > /dev/null 2>&1 @daily [ -x /var/lib/asterisk/agi-bin/update_license.php ] && /var/lib/asterisk/agi-bin/update_license.php --delay 12 5 * * * [ -e /usr/local/sbin/fwconsole ] && /usr/local/sbin/fwconsole ma listonline --sendemail -q > /dev/null 2>&1
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
51 * * * * /usr/local/sbin/fwconsole util cleanplaybackcache -q
so change this line to, that way it doesn't send an email.
51 * * * * /usr/local/sbin/fwconsole util cleanplaybackcache -q > /dev/null 2>&1
-
@dbeato said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
51 * * * * /usr/local/sbin/fwconsole util cleanplaybackcache -q
so change this line to, that way it doesn't send an email.
51 * * * * /usr/local/sbin/fwconsole util cleanplaybackcache -q > /dev/null 2>&1
Done. We'll see what happens in an hour
-
Or, put the symlink back as the bug report stated.
-
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
Awesome!
-
@dbeato said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
Awesome!
Thanks! I tried finding something online but your Google-fu is better than mine.
I am a little disappointed in Sangoma support though.
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
-
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
Well, you don't have to get that's not the correct fix on me. Fine, I'll fix it the right way then
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
Well, you don't have to get that's not the correct fix on me. Fine, I'll fix it the right way then
The odd thing here would be what happened to the links in the first place.
-
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
Well, you don't have to get that's not the correct fix on me. Fine, I'll fix it the right way then
The odd thing here would be what happened to the links in the first place.
Which is why I created the ticket with Sangoma. Their response was to delete the cron jobs causing the error.
So to do this the right way I do what exactly?
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
Well, you don't have to get that's not the correct fix on me. Fine, I'll fix it the right way then
The odd thing here would be what happened to the links in the first place.
Which is why I created the ticket with Sangoma. Their response was to delete the cron jobs causing the error.
So to do this the right way I do what exactly?
I'm not the happiest with their support team. I recently opened two tickets that they completely did not understand. Finally a dev is on it and things are being worked out.
Their dev's are solid. Support, less so.
-
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
@JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...
But it is also not correctly running the task that the cron job should be running.
That was the point of the error message.
Well, you don't have to get that's not the correct fix on me. Fine, I'll fix it the right way then
The odd thing here would be what happened to the links in the first place.
Which is why I created the ticket with Sangoma. Their response was to delete the cron jobs causing the error.
So to do this the right way I do what exactly?
I'm not the happiest with their support team. I recently opened two tickets that they completely did not understand. Finally a dev is on it and things are being worked out.
Their dev's are solid. Support, less so.
Matt and Robert have been stellar when you can actually get them. The tier setup has changed since Sangoma took over and it takes FOREVER to get elevated to one of those guys.
-
Just ran updates in FreePBX and now the queue buildup is back. Guess I'll have to fix it the right way
-
@WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:
Just ran updates in FreePBX and now the queue buildup is back. Guess I'll have to fix it the right way
Enjoy!