How do I check the postfix queue size?Is Postfix the same thing as Sendmail?Minimum PostFix configuration for sending emails only?Changing the maximum mail size in Postfixpostfix: accepting all email addresses for a domain except for a fewPostfix: holding emails outside the Hold Queue possible?Checking Postfix queue size with NagiosHow to integrate postfix and mimedefangPostfix after-queue filtering for local destinations onlyHow to reinject scanned mail into the queue using sendmailTranslating sendmail “MASQUERADE_AS” to postfix?

Is being an extrovert a necessary condition to be a manager?

pwaS eht tirsf dna tasl setterl fo hace dorw

List of lists elementwise greater/smaller than

Gambler's Fallacy Dice

Presenting 2 results for one variable using a left brace

Do 'destroy' effects count as damage?

Do seaplanes need to get clearance for takeoff?

How can sister protect herself from impulse purchases with a credit card?

Hotel booking: Why is Agoda much cheaper than booking.com?

Separate the element after every 2nd ',' and push into next row in bash

Expand a hexagon

How does the +1 Keen Composite Longbow (+2 Str) work?

Is there a realtime, uncut video of Saturn V ignition through tower clear?

How to safely discharge oneself

Does a windmilling propeller create more drag than a stopped propeller in an engine out scenario?

Parse a C++14 integer literal

How did Jean Parisot de Valette, 49th Grand Master of the Order of Malta, die?

What does it mean for a program to be 32 or 64 bit?

How could Dwarves prevent sand from filling up their settlements

Is there a way to generate a mapping graph like this?

Why is こと used in 「私に何かできること」?

Is presenting a play showing Military characters in a bad light a crime in the US?

Bash - Execute two commands and get exit status 1 if first fails

tikz: 5 squares on a row, roman numbered 1 -> 5



How do I check the postfix queue size?


Is Postfix the same thing as Sendmail?Minimum PostFix configuration for sending emails only?Changing the maximum mail size in Postfixpostfix: accepting all email addresses for a domain except for a fewPostfix: holding emails outside the Hold Queue possible?Checking Postfix queue size with NagiosHow to integrate postfix and mimedefangPostfix after-queue filtering for local destinations onlyHow to reinject scanned mail into the queue using sendmailTranslating sendmail “MASQUERADE_AS” to postfix?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








52















What's the postfix equivalent to sendmail -bp?










share|improve this question




























    52















    What's the postfix equivalent to sendmail -bp?










    share|improve this question
























      52












      52








      52


      18






      What's the postfix equivalent to sendmail -bp?










      share|improve this question














      What's the postfix equivalent to sendmail -bp?







      postfix






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 25 '09 at 0:48









      Gary RichardsonGary Richardson

      1,00731321




      1,00731321




















          8 Answers
          8






          active

          oldest

          votes


















          65














          Or, less typing:



          mailq





          share|improve this answer






























            27















            qshape active


            will show you the number of emails being sent to each domain and how long they have been in the active queue




            qshape deferred


            will show you the same but for the deferred queue






            share|improve this answer






























              26














              postqueue -p





              share|improve this answer






























                15














                Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.



                #!/usr/bin/env perl

                # postfix queue/s size
                # author:
                # source: http://tech.groups.yahoo.com/group/postfix-users/message/255133

                use strict;
                use warnings;
                use Symbol;
                sub count
                my ($dir) = @_;
                my $dh = gensym();
                my $c = 0;
                opendir($dh, $dir) or die "$0: opendir: $dir: $!n";
                while (my $f = readdir($dh))
                if ($f =~ m^[A-F0-9]5,$)
                ++$c;
                elsif ($f =~ m^[A-F0-9]$)
                $c += count("$dir/$f");


                closedir($dh) or die "closedir: $dir: $!n";
                return $c;

                my $qdir = `postconf -h queue_directory`;
                chomp($qdir);
                chdir($qdir) or die "$0: chdir: $qdir: $!n";
                printf "Incoming: %dn", count("incoming");
                printf "Active: %dn", count("active");
                printf "Deferred: %dn", count("deferred");
                printf "Bounced: %dn", count("bounce");
                printf "Hold: %dn", count("hold");
                printf "Corrupt: %dn", count("corrupt");


                EDIT: Fixed a typo on line 26.






                share|improve this answer

























                • Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                  – Alexander Pogrebnyak
                  Aug 14 '12 at 16:27












                • Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                  – Alexander Pogrebnyak
                  Aug 15 '12 at 15:58


















                10














                postqueue -p | tail -n 1



                Last line in the postqueue -p shows how many requests and size:



                -- 317788 Kbytes in 11860 Requests.






                share|improve this answer























                • This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                  – Paul Calabro
                  Nov 16 '17 at 17:35


















                5














                [root@server ~]# time mailq | grep -c '^[0-9A-Z]'



                10



                real 0m1.333s



                user 0m0.003s



                sys 0m0.003s



                (above result indicating that there are 10 email is queue)






                share|improve this answer


















                • 2





                  More concisely: mailq | grep -c '^w'

                  – Antonio Bardazzi
                  Mar 28 '13 at 8:51


















                5














                If you don't have qshape you can install it via the following yum commands:



                yum groupinstall perl development
                yum install postfix-perl-scripts



                qshape prints Postfix queue domain and age distribution information. You can read more about it here:



                http://www.postfix.org/QSHAPE_README.html



                Example output



                % qshape -s hold | head
                T 5 10 20 40 80 160 320 640 1280 1280+
                TOTAL 486 0 0 1 0 0 2 4 20 40 419
                yahoo.com 14 0 0 1 0 0 0 0 1 0 12
                extremepricecuts.net 13 0 0 0 0 0 0 0 2 0 11
                ms35.hinet.net 12 0 0 0 0 0 0 0 0 1 11
                winnersdaily.net 12 0 0 0 0 0 0 0 2 0 10
                hotmail.com 11 0 0 0 0 0 0 0 0 1 10
                worldnet.fr 6 0 0 0 0 0 0 0 0 0 6
                ms41.hinet.net 6 0 0 0 0 0 0 0 0 0 6
                osn.de 5 0 0 0 0 0 1 0 0 0 4





                share|improve this answer
































                  2














                  Here is an example.



                  #!/bin/bash

                  for q in active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace

                  do
                  count=$(find /var/spool/postfix/$q ! -type d -print | wc -l)
                  echo $q $count
                  done





                  share|improve this answer

























                    Your Answer








                    StackExchange.ready(function()
                    var channelOptions =
                    tags: "".split(" "),
                    id: "2"
                    ;
                    initTagRenderer("".split(" "), "".split(" "), channelOptions);

                    StackExchange.using("externalEditor", function()
                    // Have to fire editor after snippets, if snippets enabled
                    if (StackExchange.settings.snippets.snippetsEnabled)
                    StackExchange.using("snippets", function()
                    createEditor();
                    );

                    else
                    createEditor();

                    );

                    function createEditor()
                    StackExchange.prepareEditor(
                    heartbeatType: 'answer',
                    autoActivateHeartbeat: false,
                    convertImagesToLinks: true,
                    noModals: true,
                    showLowRepImageUploadWarning: true,
                    reputationToPostImages: 10,
                    bindNavPrevention: true,
                    postfix: "",
                    imageUploader:
                    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                    allowUrls: true
                    ,
                    onDemand: true,
                    discardSelector: ".discard-answer"
                    ,immediatelyShowMarkdownHelp:true
                    );



                    );













                    draft saved

                    draft discarded


















                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f58196%2fhow-do-i-check-the-postfix-queue-size%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown

























                    8 Answers
                    8






                    active

                    oldest

                    votes








                    8 Answers
                    8






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    65














                    Or, less typing:



                    mailq





                    share|improve this answer



























                      65














                      Or, less typing:



                      mailq





                      share|improve this answer

























                        65












                        65








                        65







                        Or, less typing:



                        mailq





                        share|improve this answer













                        Or, less typing:



                        mailq






                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Aug 25 '09 at 1:03









                        womblewomble

                        86.3k18147205




                        86.3k18147205























                            27















                            qshape active


                            will show you the number of emails being sent to each domain and how long they have been in the active queue




                            qshape deferred


                            will show you the same but for the deferred queue






                            share|improve this answer



























                              27















                              qshape active


                              will show you the number of emails being sent to each domain and how long they have been in the active queue




                              qshape deferred


                              will show you the same but for the deferred queue






                              share|improve this answer

























                                27












                                27








                                27








                                qshape active


                                will show you the number of emails being sent to each domain and how long they have been in the active queue




                                qshape deferred


                                will show you the same but for the deferred queue






                                share|improve this answer














                                qshape active


                                will show you the number of emails being sent to each domain and how long they have been in the active queue




                                qshape deferred


                                will show you the same but for the deferred queue







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Oct 13 '09 at 13:05









                                Alistair PrestidgeAlistair Prestidge

                                6211518




                                6211518





















                                    26














                                    postqueue -p





                                    share|improve this answer



























                                      26














                                      postqueue -p





                                      share|improve this answer

























                                        26












                                        26








                                        26







                                        postqueue -p





                                        share|improve this answer













                                        postqueue -p






                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Aug 25 '09 at 0:56









                                        Andrejs CainikovsAndrejs Cainikovs

                                        1,51111220




                                        1,51111220





















                                            15














                                            Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.



                                            #!/usr/bin/env perl

                                            # postfix queue/s size
                                            # author:
                                            # source: http://tech.groups.yahoo.com/group/postfix-users/message/255133

                                            use strict;
                                            use warnings;
                                            use Symbol;
                                            sub count
                                            my ($dir) = @_;
                                            my $dh = gensym();
                                            my $c = 0;
                                            opendir($dh, $dir) or die "$0: opendir: $dir: $!n";
                                            while (my $f = readdir($dh))
                                            if ($f =~ m^[A-F0-9]5,$)
                                            ++$c;
                                            elsif ($f =~ m^[A-F0-9]$)
                                            $c += count("$dir/$f");


                                            closedir($dh) or die "closedir: $dir: $!n";
                                            return $c;

                                            my $qdir = `postconf -h queue_directory`;
                                            chomp($qdir);
                                            chdir($qdir) or die "$0: chdir: $qdir: $!n";
                                            printf "Incoming: %dn", count("incoming");
                                            printf "Active: %dn", count("active");
                                            printf "Deferred: %dn", count("deferred");
                                            printf "Bounced: %dn", count("bounce");
                                            printf "Hold: %dn", count("hold");
                                            printf "Corrupt: %dn", count("corrupt");


                                            EDIT: Fixed a typo on line 26.






                                            share|improve this answer

























                                            • Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                              – Alexander Pogrebnyak
                                              Aug 14 '12 at 16:27












                                            • Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                              – Alexander Pogrebnyak
                                              Aug 15 '12 at 15:58















                                            15














                                            Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.



                                            #!/usr/bin/env perl

                                            # postfix queue/s size
                                            # author:
                                            # source: http://tech.groups.yahoo.com/group/postfix-users/message/255133

                                            use strict;
                                            use warnings;
                                            use Symbol;
                                            sub count
                                            my ($dir) = @_;
                                            my $dh = gensym();
                                            my $c = 0;
                                            opendir($dh, $dir) or die "$0: opendir: $dir: $!n";
                                            while (my $f = readdir($dh))
                                            if ($f =~ m^[A-F0-9]5,$)
                                            ++$c;
                                            elsif ($f =~ m^[A-F0-9]$)
                                            $c += count("$dir/$f");


                                            closedir($dh) or die "closedir: $dir: $!n";
                                            return $c;

                                            my $qdir = `postconf -h queue_directory`;
                                            chomp($qdir);
                                            chdir($qdir) or die "$0: chdir: $qdir: $!n";
                                            printf "Incoming: %dn", count("incoming");
                                            printf "Active: %dn", count("active");
                                            printf "Deferred: %dn", count("deferred");
                                            printf "Bounced: %dn", count("bounce");
                                            printf "Hold: %dn", count("hold");
                                            printf "Corrupt: %dn", count("corrupt");


                                            EDIT: Fixed a typo on line 26.






                                            share|improve this answer

























                                            • Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                              – Alexander Pogrebnyak
                                              Aug 14 '12 at 16:27












                                            • Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                              – Alexander Pogrebnyak
                                              Aug 15 '12 at 15:58













                                            15












                                            15








                                            15







                                            Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.



                                            #!/usr/bin/env perl

                                            # postfix queue/s size
                                            # author:
                                            # source: http://tech.groups.yahoo.com/group/postfix-users/message/255133

                                            use strict;
                                            use warnings;
                                            use Symbol;
                                            sub count
                                            my ($dir) = @_;
                                            my $dh = gensym();
                                            my $c = 0;
                                            opendir($dh, $dir) or die "$0: opendir: $dir: $!n";
                                            while (my $f = readdir($dh))
                                            if ($f =~ m^[A-F0-9]5,$)
                                            ++$c;
                                            elsif ($f =~ m^[A-F0-9]$)
                                            $c += count("$dir/$f");


                                            closedir($dh) or die "closedir: $dir: $!n";
                                            return $c;

                                            my $qdir = `postconf -h queue_directory`;
                                            chomp($qdir);
                                            chdir($qdir) or die "$0: chdir: $qdir: $!n";
                                            printf "Incoming: %dn", count("incoming");
                                            printf "Active: %dn", count("active");
                                            printf "Deferred: %dn", count("deferred");
                                            printf "Bounced: %dn", count("bounce");
                                            printf "Hold: %dn", count("hold");
                                            printf "Corrupt: %dn", count("corrupt");


                                            EDIT: Fixed a typo on line 26.






                                            share|improve this answer















                                            Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.



                                            #!/usr/bin/env perl

                                            # postfix queue/s size
                                            # author:
                                            # source: http://tech.groups.yahoo.com/group/postfix-users/message/255133

                                            use strict;
                                            use warnings;
                                            use Symbol;
                                            sub count
                                            my ($dir) = @_;
                                            my $dh = gensym();
                                            my $c = 0;
                                            opendir($dh, $dir) or die "$0: opendir: $dir: $!n";
                                            while (my $f = readdir($dh))
                                            if ($f =~ m^[A-F0-9]5,$)
                                            ++$c;
                                            elsif ($f =~ m^[A-F0-9]$)
                                            $c += count("$dir/$f");


                                            closedir($dh) or die "closedir: $dir: $!n";
                                            return $c;

                                            my $qdir = `postconf -h queue_directory`;
                                            chomp($qdir);
                                            chdir($qdir) or die "$0: chdir: $qdir: $!n";
                                            printf "Incoming: %dn", count("incoming");
                                            printf "Active: %dn", count("active");
                                            printf "Deferred: %dn", count("deferred");
                                            printf "Bounced: %dn", count("bounce");
                                            printf "Hold: %dn", count("hold");
                                            printf "Corrupt: %dn", count("corrupt");


                                            EDIT: Fixed a typo on line 26.







                                            share|improve this answer














                                            share|improve this answer



                                            share|improve this answer








                                            edited Aug 1 '12 at 13:05









                                            Community

                                            1




                                            1










                                            answered Nov 10 '11 at 19:42









                                            mikewatersmikewaters

                                            66011225




                                            66011225












                                            • Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                              – Alexander Pogrebnyak
                                              Aug 14 '12 at 16:27












                                            • Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                              – Alexander Pogrebnyak
                                              Aug 15 '12 at 15:58

















                                            • Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                              – Alexander Pogrebnyak
                                              Aug 14 '12 at 16:27












                                            • Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                              – Alexander Pogrebnyak
                                              Aug 15 '12 at 15:58
















                                            Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                            – Alexander Pogrebnyak
                                            Aug 14 '12 at 16:27






                                            Great script, and IMHO should be a part of the standard Postfix distribution. Unlike mailq/postqueue returns immediate answer for a queue under duress

                                            – Alexander Pogrebnyak
                                            Aug 14 '12 at 16:27














                                            Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                            – Alexander Pogrebnyak
                                            Aug 15 '12 at 15:58





                                            Just a word of caution on the particular implementation of count function. It will fail in Postfix 2.9+ when enable_long_queue_ids=yes'. I think it should not be too hard to fix it for long queue ids.

                                            – Alexander Pogrebnyak
                                            Aug 15 '12 at 15:58











                                            10














                                            postqueue -p | tail -n 1



                                            Last line in the postqueue -p shows how many requests and size:



                                            -- 317788 Kbytes in 11860 Requests.






                                            share|improve this answer























                                            • This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                              – Paul Calabro
                                              Nov 16 '17 at 17:35















                                            10














                                            postqueue -p | tail -n 1



                                            Last line in the postqueue -p shows how many requests and size:



                                            -- 317788 Kbytes in 11860 Requests.






                                            share|improve this answer























                                            • This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                              – Paul Calabro
                                              Nov 16 '17 at 17:35













                                            10












                                            10








                                            10







                                            postqueue -p | tail -n 1



                                            Last line in the postqueue -p shows how many requests and size:



                                            -- 317788 Kbytes in 11860 Requests.






                                            share|improve this answer













                                            postqueue -p | tail -n 1



                                            Last line in the postqueue -p shows how many requests and size:



                                            -- 317788 Kbytes in 11860 Requests.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Sep 30 '15 at 8:43









                                            99 Problems - Syntax ain't one99 Problems - Syntax ain't one

                                            20124




                                            20124












                                            • This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                              – Paul Calabro
                                              Nov 16 '17 at 17:35

















                                            • This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                              – Paul Calabro
                                              Nov 16 '17 at 17:35
















                                            This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                            – Paul Calabro
                                            Nov 16 '17 at 17:35





                                            This command executes quickly since it doesn't waste cycles displaying the individual emails in the queue. If just want the total, run this.

                                            – Paul Calabro
                                            Nov 16 '17 at 17:35











                                            5














                                            [root@server ~]# time mailq | grep -c '^[0-9A-Z]'



                                            10



                                            real 0m1.333s



                                            user 0m0.003s



                                            sys 0m0.003s



                                            (above result indicating that there are 10 email is queue)






                                            share|improve this answer


















                                            • 2





                                              More concisely: mailq | grep -c '^w'

                                              – Antonio Bardazzi
                                              Mar 28 '13 at 8:51















                                            5














                                            [root@server ~]# time mailq | grep -c '^[0-9A-Z]'



                                            10



                                            real 0m1.333s



                                            user 0m0.003s



                                            sys 0m0.003s



                                            (above result indicating that there are 10 email is queue)






                                            share|improve this answer


















                                            • 2





                                              More concisely: mailq | grep -c '^w'

                                              – Antonio Bardazzi
                                              Mar 28 '13 at 8:51













                                            5












                                            5








                                            5







                                            [root@server ~]# time mailq | grep -c '^[0-9A-Z]'



                                            10



                                            real 0m1.333s



                                            user 0m0.003s



                                            sys 0m0.003s



                                            (above result indicating that there are 10 email is queue)






                                            share|improve this answer













                                            [root@server ~]# time mailq | grep -c '^[0-9A-Z]'



                                            10



                                            real 0m1.333s



                                            user 0m0.003s



                                            sys 0m0.003s



                                            (above result indicating that there are 10 email is queue)







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Jan 21 '13 at 7:08









                                            Business Website DesignBusiness Website Design

                                            5111




                                            5111







                                            • 2





                                              More concisely: mailq | grep -c '^w'

                                              – Antonio Bardazzi
                                              Mar 28 '13 at 8:51












                                            • 2





                                              More concisely: mailq | grep -c '^w'

                                              – Antonio Bardazzi
                                              Mar 28 '13 at 8:51







                                            2




                                            2





                                            More concisely: mailq | grep -c '^w'

                                            – Antonio Bardazzi
                                            Mar 28 '13 at 8:51





                                            More concisely: mailq | grep -c '^w'

                                            – Antonio Bardazzi
                                            Mar 28 '13 at 8:51











                                            5














                                            If you don't have qshape you can install it via the following yum commands:



                                            yum groupinstall perl development
                                            yum install postfix-perl-scripts



                                            qshape prints Postfix queue domain and age distribution information. You can read more about it here:



                                            http://www.postfix.org/QSHAPE_README.html



                                            Example output



                                            % qshape -s hold | head
                                            T 5 10 20 40 80 160 320 640 1280 1280+
                                            TOTAL 486 0 0 1 0 0 2 4 20 40 419
                                            yahoo.com 14 0 0 1 0 0 0 0 1 0 12
                                            extremepricecuts.net 13 0 0 0 0 0 0 0 2 0 11
                                            ms35.hinet.net 12 0 0 0 0 0 0 0 0 1 11
                                            winnersdaily.net 12 0 0 0 0 0 0 0 2 0 10
                                            hotmail.com 11 0 0 0 0 0 0 0 0 1 10
                                            worldnet.fr 6 0 0 0 0 0 0 0 0 0 6
                                            ms41.hinet.net 6 0 0 0 0 0 0 0 0 0 6
                                            osn.de 5 0 0 0 0 0 1 0 0 0 4





                                            share|improve this answer





























                                              5














                                              If you don't have qshape you can install it via the following yum commands:



                                              yum groupinstall perl development
                                              yum install postfix-perl-scripts



                                              qshape prints Postfix queue domain and age distribution information. You can read more about it here:



                                              http://www.postfix.org/QSHAPE_README.html



                                              Example output



                                              % qshape -s hold | head
                                              T 5 10 20 40 80 160 320 640 1280 1280+
                                              TOTAL 486 0 0 1 0 0 2 4 20 40 419
                                              yahoo.com 14 0 0 1 0 0 0 0 1 0 12
                                              extremepricecuts.net 13 0 0 0 0 0 0 0 2 0 11
                                              ms35.hinet.net 12 0 0 0 0 0 0 0 0 1 11
                                              winnersdaily.net 12 0 0 0 0 0 0 0 2 0 10
                                              hotmail.com 11 0 0 0 0 0 0 0 0 1 10
                                              worldnet.fr 6 0 0 0 0 0 0 0 0 0 6
                                              ms41.hinet.net 6 0 0 0 0 0 0 0 0 0 6
                                              osn.de 5 0 0 0 0 0 1 0 0 0 4





                                              share|improve this answer



























                                                5












                                                5








                                                5







                                                If you don't have qshape you can install it via the following yum commands:



                                                yum groupinstall perl development
                                                yum install postfix-perl-scripts



                                                qshape prints Postfix queue domain and age distribution information. You can read more about it here:



                                                http://www.postfix.org/QSHAPE_README.html



                                                Example output



                                                % qshape -s hold | head
                                                T 5 10 20 40 80 160 320 640 1280 1280+
                                                TOTAL 486 0 0 1 0 0 2 4 20 40 419
                                                yahoo.com 14 0 0 1 0 0 0 0 1 0 12
                                                extremepricecuts.net 13 0 0 0 0 0 0 0 2 0 11
                                                ms35.hinet.net 12 0 0 0 0 0 0 0 0 1 11
                                                winnersdaily.net 12 0 0 0 0 0 0 0 2 0 10
                                                hotmail.com 11 0 0 0 0 0 0 0 0 1 10
                                                worldnet.fr 6 0 0 0 0 0 0 0 0 0 6
                                                ms41.hinet.net 6 0 0 0 0 0 0 0 0 0 6
                                                osn.de 5 0 0 0 0 0 1 0 0 0 4





                                                share|improve this answer















                                                If you don't have qshape you can install it via the following yum commands:



                                                yum groupinstall perl development
                                                yum install postfix-perl-scripts



                                                qshape prints Postfix queue domain and age distribution information. You can read more about it here:



                                                http://www.postfix.org/QSHAPE_README.html



                                                Example output



                                                % qshape -s hold | head
                                                T 5 10 20 40 80 160 320 640 1280 1280+
                                                TOTAL 486 0 0 1 0 0 2 4 20 40 419
                                                yahoo.com 14 0 0 1 0 0 0 0 1 0 12
                                                extremepricecuts.net 13 0 0 0 0 0 0 0 2 0 11
                                                ms35.hinet.net 12 0 0 0 0 0 0 0 0 1 11
                                                winnersdaily.net 12 0 0 0 0 0 0 0 2 0 10
                                                hotmail.com 11 0 0 0 0 0 0 0 0 1 10
                                                worldnet.fr 6 0 0 0 0 0 0 0 0 0 6
                                                ms41.hinet.net 6 0 0 0 0 0 0 0 0 0 6
                                                osn.de 5 0 0 0 0 0 1 0 0 0 4






                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Apr 6 '13 at 14:59









                                                slm

                                                5,136124460




                                                5,136124460










                                                answered Apr 6 '13 at 14:15









                                                Brock HensleyBrock Hensley

                                                519411




                                                519411





















                                                    2














                                                    Here is an example.



                                                    #!/bin/bash

                                                    for q in active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace

                                                    do
                                                    count=$(find /var/spool/postfix/$q ! -type d -print | wc -l)
                                                    echo $q $count
                                                    done





                                                    share|improve this answer





























                                                      2














                                                      Here is an example.



                                                      #!/bin/bash

                                                      for q in active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace

                                                      do
                                                      count=$(find /var/spool/postfix/$q ! -type d -print | wc -l)
                                                      echo $q $count
                                                      done





                                                      share|improve this answer



























                                                        2












                                                        2








                                                        2







                                                        Here is an example.



                                                        #!/bin/bash

                                                        for q in active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace

                                                        do
                                                        count=$(find /var/spool/postfix/$q ! -type d -print | wc -l)
                                                        echo $q $count
                                                        done





                                                        share|improve this answer















                                                        Here is an example.



                                                        #!/bin/bash

                                                        for q in active bounce corrupt defer deferred flush hold incoming maildrop pid private public saved trace

                                                        do
                                                        count=$(find /var/spool/postfix/$q ! -type d -print | wc -l)
                                                        echo $q $count
                                                        done






                                                        share|improve this answer














                                                        share|improve this answer



                                                        share|improve this answer








                                                        edited May 7 at 17:09









                                                        Akhil Jalagam

                                                        33




                                                        33










                                                        answered Feb 24 '14 at 2:57









                                                        Doug_CowieDoug_Cowie

                                                        211




                                                        211



























                                                            draft saved

                                                            draft discarded
















































                                                            Thanks for contributing an answer to Server Fault!


                                                            • Please be sure to answer the question. Provide details and share your research!

                                                            But avoid


                                                            • Asking for help, clarification, or responding to other answers.

                                                            • Making statements based on opinion; back them up with references or personal experience.

                                                            To learn more, see our tips on writing great answers.




                                                            draft saved


                                                            draft discarded














                                                            StackExchange.ready(
                                                            function ()
                                                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f58196%2fhow-do-i-check-the-postfix-queue-size%23new-answer', 'question_page');

                                                            );

                                                            Post as a guest















                                                            Required, but never shown





















































                                                            Required, but never shown














                                                            Required, but never shown












                                                            Required, but never shown







                                                            Required, but never shown

































                                                            Required, but never shown














                                                            Required, but never shown












                                                            Required, but never shown







                                                            Required, but never shown







                                                            Popular posts from this blog

                                                            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                                            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                                                            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020