ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    fwconsole creating many emails through our Barracuda mail filter

    IT Discussion
    freepbx 14 sangoma freepbx
    3
    29
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WLS-ITGuyW
      WLS-ITGuy @dbeato
      last edited by

      @dbeato said in fwconsole creating many emails through our Barracuda mail filter:

      what is the message that you are getting from the Barracuda?

      Alert: High out-queue length. out-queue length: 2420

      This alert applies to the Barracuda Email Security Gateway at IP address 172.16.0.3(MAC address: 4C:CC:6A:24:CB:74 / serial number: 851091) with a default domain of 'wls.wels.net'.

      dbeatoD 1 Reply Last reply Reply Quote 0
      • WLS-ITGuyW
        WLS-ITGuy @JaredBusch
        last edited by

        @JaredBusch said in fwconsole creating many emails through our Barracuda mail filter:

        What did you change? Because those cron jobs do not normally send anything.

        I haven't changed anything other than applying updates through Update Manager

        1 Reply Last reply Reply Quote 0
        • WLS-ITGuyW
          WLS-ITGuy
          last edited by

          Whatever it is runs a cron every minute or every 5 depending on the error.

          1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato @WLS-ITGuy
            last edited by

            @WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:

            @dbeato said in fwconsole creating many emails through our Barracuda mail filter:

            what is the message that you are getting from the Barracuda?

            Alert: High out-queue length. out-queue length: 2420

            This alert applies to the Barracuda Email Security Gateway at IP address 172.16.0.3(MAC address: 4C:CC:6A:24:CB:74 / serial number: 851091) with a default domain of 'wls.wels.net'.

            Yeah, that is normal but on the queue. What does it show as the error that is sending on an email?

            WLS-ITGuyW 1 Reply Last reply Reply Quote 0
            • WLS-ITGuyW
              WLS-ITGuy @dbeato
              last edited by

              @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:

              @dbeato said in fwconsole creating many emails through our Barracuda mail filter:

              what is the message that you are getting from the Barracuda?

              Alert: High out-queue length. out-queue length: 2420

              This alert applies to the Barracuda Email Security Gateway at IP address 172.16.0.3(MAC address: 4C:CC:6A:24:CB:74 / serial number: 851091) with a default domain of 'wls.wels.net'.

              Yeah, that is normal but on the queue. What does it show as the error that is sending on an email?

              For this one: Cron asterisk@freepbx /usr/local/sbin/fwconsole util cleanplaybackcache -q

              I get: /bin/sh: /usr/local/sbin/fwconsole: No such file or directory

              WLS-ITGuyW 1 Reply Last reply Reply Quote 0
              • WLS-ITGuyW
                WLS-ITGuy @WLS-ITGuy
                last edited by

                Sangoma's response was to turn off the cron jobs that were causing the issues.

                That doesn't answer the question of why they are suddenly happening and what changed to make them happen.

                dbeatoD 1 Reply Last reply Reply Quote 0
                • dbeatoD
                  dbeato @WLS-ITGuy
                  last edited by

                  @WLS-ITGuy said in fwconsole creating many emails through our Barracuda mail filter:

                  Sangoma's response was to turn off the cron jobs that were causing the issues.

                  That doesn't answer the question of why they are suddenly happening and what changed to make them happen.

                  I would check on the system you have and check what is sending emails instead.

                  WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                  • WLS-ITGuyW
                    WLS-ITGuy @dbeato
                    last edited by

                    @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:

                    Sangoma's response was to turn off the cron jobs that were causing the issues.

                    That doesn't answer the question of why they are suddenly happening and what changed to make them happen.

                    I would check on the system you have and check what is sending emails instead.

                    Freepbx is set to email through Exchange

                    1 Reply Last reply Reply Quote 0
                    • WLS-ITGuyW
                      WLS-ITGuy
                      last edited by

                      This is what shows up in the barracuda queue:

                      alt text

                      1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato
                        last edited by

                        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
                        
                        WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                        • WLS-ITGuyW
                          WLS-ITGuy @dbeato
                          last edited by

                          @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
                          
                          dbeatoD 1 Reply Last reply Reply Quote 0
                          • dbeatoD
                            dbeato @WLS-ITGuy
                            last edited by

                            @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
                            WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                            • WLS-ITGuyW
                              WLS-ITGuy @dbeato
                              last edited by

                              @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 🙂

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch
                                last edited by

                                Or, put the symlink back as the bug report stated.

                                1 Reply Last reply Reply Quote 2
                                • WLS-ITGuyW
                                  WLS-ITGuy
                                  last edited by

                                  Well, editing the cron worked. I suppose I could put the symlink back but it isn't spitting emails to the queue anymore so...

                                  dbeatoD JaredBuschJ 2 Replies Last reply Reply Quote 1
                                  • dbeatoD
                                    dbeato @WLS-ITGuy
                                    last edited by

                                    @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!

                                    WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                                    • WLS-ITGuyW
                                      WLS-ITGuy @dbeato
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @WLS-ITGuy
                                        last edited by JaredBusch

                                        @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.

                                        WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                                        • WLS-ITGuyW
                                          WLS-ITGuy @JaredBusch
                                          last edited by

                                          @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 🙂

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @WLS-ITGuy
                                            last edited by

                                            @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.

                                            WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post