<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><font face="Times New Roman, Times,
        serif">Hi </font><span class="Apple-style-span"
        style="border-collapse: separate; color: rgb(0, 0, 0);
        font-family: Helvetica; font-style: normal; font-variant:
        normal; font-weight: normal; letter-spacing: normal;
        line-height: normal; orphans: 2; text-align: -webkit-auto;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing:
        0px; -webkit-border-vertical-spacing: 0px;
        -webkit-text-decorations-in-effect: none;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        "><font face="Times New Roman, Times, serif">Stephen , <br>
          <br>
          I am handling via TCP&nbsp; i.e from smtp server to mailbox server.
          <br>
          <br>
          on smtp server postfix's main.cf&nbsp; transport_maps is maintain ,
          which deliver the emails to lmtp. <br>
          <br>
          Example like below. <br>
          /@mydomain.com/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lmtp:[192.168.1.1]<br>
          <br>
          Request you to please guide here or any fine tuning etc ....<br>
          <br>
          Regards<br>
          Jayesh Shinde</font><br>
        <br>
      </span><br>
      On 05/15/2015 10:11 PM, Stephen Ulmer wrote:<br>
    </div>
    <blockquote cite="mid:ECF06DC6-8611-48D9-A0F2-6309E5315816@ufl.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Are you handing off to LMTP via TCP or a pipe?
      <div class=""><br class="">
        <div class="">
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; ">
            <div class="">--&nbsp;</div>
            <div class="">Stephen</div>
            <div class=""><br class="">
            </div>
          </span><br class="Apple-interchange-newline">
        </div>
        <br class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">On May 15, 2015, at 2:18 AM, jayesh shinde
              &lt;<a moz-do-not-send="true"
                href="mailto:jayesh.shinde@netcore.co.in" class="">jayesh.shinde@netcore.co.in</a>&gt;
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta content="text/html; charset=ISO-8859-1"
                http-equiv="Content-Type" class="">
              <div bgcolor="#FFFFFF" text="#000000" class="">
                <div class="moz-cite-prefix"><font class="" face="Times
                    New Roman, Times, serif">Thanks Dan for your
                    feedback. <br class="">
                    I verified the suggested points , its working as
                    require.&nbsp; Please find below inline reply for each. <br
                      class="">
                    <br class="">
                    I found that&nbsp; when big group email is getting
                    deliver ( i.e more than 500 - 4K members ) at that
                    time other emails are not getting deliver
                    simultaneously to user's mailbox. <br class="">
                    I verified this from live maillog&nbsp; i.e&nbsp; by doing
                    grep key words like "to mailbox:" /&nbsp; "Delivered:"&nbsp;
                    etc ...<br class="">
                    <br class="">
                    My mail queue issue is getting critical in peak
                    hours !!&nbsp; Kindly suggest. <br class="">
                    <br class="">
                    On 05/14/2015 08:22 PM, Dan White wrote:<br class="">
                  </font></div>
                <blockquote cite="mid:20150514145224.GC3949@dan.olp.net"
                  type="cite" class=""><font class="" face="Times New
                    Roman, Times, serif">On 05/14/15&nbsp;05:42&nbsp;+0000,
                    jayesh.shinde wrote: <br class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">Please
                      suggest , for faster delivery&nbsp; what could be the
                      best config&nbsp; in <br class="">
                      postfix + cyrus-imapd . <br class="">
                    </font> <font class="" face="Times New Roman,
                      Times, serif"><br class="">
                      I am using the cyrus-imapd-2.4.17-6.el6.x86_64 for
                      mailbox server and for <br class="">
                      smtp server postfix-2.10.0-1.el6.x86_64 Both
                      server have SAS hdd , 16 core <br class="">
                      , 16 GB RAM .&nbsp; There is no i/o issues <br
                        class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">Mailbox
                      server have&nbsp; 21K email ids.&nbsp; Cyrus running with&nbsp;
                      tcp socket on <br class="">
                      port 24 i.e lmtpd .&nbsp; cyrus singleinstance is
                      maintained <br class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">For group id
                      mapping is under virtual_alias_maps of smtp's
                      main.cf&nbsp; i.e no <br class="">
                      /etc/aliases. From smtp server emails are getting
                      deliver by <br class="">
                      transport_maps to mailbox server . <br class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">My problem
                      observe :-- <br class="">
                      -------------------------- <br class="">
                      1) When HOD send email to 3-5 big group&nbsp; email ids
                      then , then its postfix <br class="">
                      delivery get slow. What I observe is postfix
                      getting delivered the traffic <br class="">
                      per email and not parallel.&nbsp;&nbsp; Each group contain
                      3k or 7k email ids. <br class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                    Verify that single instance store is working. If
                    not, you may have a <br class="">
                    Postfix configuration issue. Find one of these mass
                    emails in a mailbox and <br class="">
                    stat it to find out: <br class="">
                  </font> <font class="" face="Times New Roman, Times,
                    serif"><br class="">
                    stat -c %h &lt;file&gt; <br class="">
                  </font> <font class="" face="Times New Roman, Times,
                    serif"><br class="">
                    A returned value of 1 means single instance store
                    isn't working. <br class="">
                  </font> <font class="" face="Times New Roman, Times,
                    serif"><br class="">
                    If that's not the issue, you can determine if this
                    is a postfix issue or a <br class="">
                    cyrus issue by sending a mass email directly to
                    lmtpd, with lmtptest. <br class="">
                  </font></blockquote>
                <font class="" face="Times New Roman, Times, serif">Cyrus
                  Singleinstance is working , I have verified like
                  below. In imapd.conf man page its define as default 1
                  ( i.e default enable ) <br class="">
                  <br class="">
                  [root@Mailbox ~]# ls -lirth
                  /var/spool/imap/domain/v/vdomain/m/user/muser1/ | tail
                  -n 20&nbsp; <br class="">
                  <br class="">
                  163326970 -rw-------&nbsp; <b class="">198</b> cyrus mail
                  413K May 15 10:07 64828.<br class="">
                  163396232 -rw-------&nbsp; <b class="">145</b> cyrus mail&nbsp;
                  92K May 15 10:13 64829.<br class="">
                  163379367 -rw-------&nbsp; <b class="">151</b> cyrus mail&nbsp;
                  96K May 15 10:29 64830.<br class="">
                  163323993 -rw-------&nbsp; <b class="">496</b> cyrus mail&nbsp;
                  13K May 15 10:30 64831.<br class="">
                  163398621 -rw-------&nbsp; <b class="">516</b> cyrus mail
                  850K May 15 10:42 64832.<br class="">
                  163398568 -rw-------&nbsp; <b class="">523</b> cyrus mail
                  455K May 15 10:43 64833.<br class="">
                  163398933 -rw-------&nbsp; <b class="">617</b> cyrus mail
                  3.7M May 15 10:47 64834.<br class="">
                  163398962 -rw-------&nbsp; <b class="">522</b> cyrus mail
                  1.3M May 15 10:48 64835.<br class="">
                  163398990 -rw-------&nbsp; <b class="">617</b> cyrus mail&nbsp;
                  58K May 15 10:49 64836.<br class="">
                  163396678 -rw-------&nbsp; <b class="">465</b> cyrus mail
                  207K May 15 10:56 64837.<br class="">
                  163399529 -rw-------&nbsp; <b class="">576</b> cyrus mail
                  332K May 15 10:57 64838.<br class="">
                  163399554 -rw-------&nbsp;&nbsp;&nbsp; <b class="">2</b> cyrus mail&nbsp;
                  54K May 15 10:57 64839.<br class="">
                  163346523 -rw-------&nbsp;&nbsp; <b class="">36</b> cyrus mail
                  767K May 15 11:01 64840.<br class="">
                  <br class="">
                  [root@Mailbox muser1]# stat -c %h 64829.<br class="">
                  145<br class="">
                  [root@</font><font class="" face="Times New Roman,
                  Times, serif"><font class="" face="Times New Roman,
                    Times, serif">Mailbox </font>muser1]# stat -c %h
                  64828.<br class="">
                  198<br class="">
                  <br class="">
                </font>
                <blockquote cite="mid:20150514145224.GC3949@dan.olp.net"
                  type="cite" class=""> <font class="" face="Times New
                    Roman, Times, serif"><br class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">In peak hours
                      the queue on postfix get high and other normal
                      emails also <br class="">
                      getting stuck in queue. Once the group email get
                      clear after that other <br class="">
                      emails also get clear. <br class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                  </font>
                  <blockquote type="cite" class=""><font class=""
                      face="Times New Roman, Times, serif">in mailbox
                      cyrus.conf :-- lmtp&nbsp; cmd="lmtpd -a" listen="lmtp"
                      prefork=0 <br class="">
                      in main.cf of smtp server :-- <br class="">
                      lmtp_destination_concurrency_limit = 100 <br
                        class="">
                      lmtp_destination_recipient_limit = 0 <br class="">
                    </font></blockquote>
                  <font class="" face="Times New Roman, Times, serif"><br
                      class="">
                    How many lmtp processes do you see spawned in this
                    scenario? <br class="">
                  </font> <font class="" face="Times New Roman, Times,
                    serif"><br class="">
                  </font></blockquote>
                <font class="" face="Times New Roman, Times, serif">[root@Mailbox
                  ~]# ps auxwww| grep lmtp <br class="">
                  <br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 3224&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4648 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  10:55&nbsp;&nbsp; 0:00 lmtpd<br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 4043&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4156 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  10:59&nbsp;&nbsp; 0:00 lmtpd<br class="">
                  postfix&nbsp;&nbsp; 6972&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4336 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6974&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4340 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6975&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4336 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6977&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4344 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6979&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4336 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6981&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4336 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  postfix&nbsp;&nbsp; 6985&nbsp; 0.0&nbsp; 0.0&nbsp; 75708&nbsp; 4348 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtp -t unix -u<br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 6998&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4052 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtpd<br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 7001&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4044 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:10&nbsp;&nbsp; 0:00 lmtpd<br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 7234&nbsp; 0.9&nbsp; 0.0&nbsp; 75456&nbsp; 4976 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:12&nbsp;&nbsp; 0:04 lmtpd -a<br class="">
                  cyrus&nbsp;&nbsp;&nbsp;&nbsp; 8758&nbsp; 0.6&nbsp; 0.0&nbsp; 75452&nbsp; 4112 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  11:19&nbsp;&nbsp; 0:00 lmtpd -a<br class="">
                  root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8898&nbsp; 0.0&nbsp; 0.0 103236&nbsp;&nbsp; 972 pts/1&nbsp;&nbsp;&nbsp; S+&nbsp;&nbsp;
                  11:19&nbsp;&nbsp; 0:00 grep --colour=auto lmtp<br class="">
                  cyrus&nbsp;&nbsp;&nbsp; 46046&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4648 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  10:28&nbsp;&nbsp; 0:01 lmtpd<br class="">
                  cyrus&nbsp;&nbsp;&nbsp; 48107&nbsp; 0.0&nbsp; 0.0&nbsp; 73372&nbsp; 4740 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  10:37&nbsp;&nbsp; 0:01 lmtpd<br class="">
                  cyrus&nbsp;&nbsp;&nbsp; 48108&nbsp; 0.0&nbsp; 0.0&nbsp; 73376&nbsp; 4700 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;
                  10:37&nbsp;&nbsp; 0:01 lmtpd<br class="">
                  <br class="">
                  lmtpd :-- 7 process<br class="">
                  lmtp -t unix -u :-- 7 process<br class="">
                  lmtpd -a :-- 2 process<br class="">
                  <br class="">
                  Cyrus config is as follows:<br class="">
                  -----------------------------------<br class="">
                  <br class="">
                  SERVICES {<br class="">
                  &nbsp; imap&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd="imapd" listen="imap" prefork=5<br
                    class="">
                  &nbsp; imaps&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd="imapd -s" listen="imaps" prefork=1<br
                    class="">
                  &nbsp; pop3&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd="pop3d" listen="pop3" prefork=3<br
                    class="">
                  &nbsp; pop3s&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd="pop3d -s" listen="pop3s" prefork=1<br
                    class="">
                  &nbsp; sieve&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd="timsieved" listen="sieve"
                  prefork=0<br class="">
                  <br class="">
                  &nbsp; lmtp&nbsp; cmd="lmtpd -a" listen="lmtp" prefork=0<br
                    class="">
                  &nbsp; lmtpunix&nbsp;&nbsp;&nbsp; cmd="lmtpd"
                  listen="/var/lib/imap/socket/lmtp" prefork=1<br
                    class="">
                  }<br class="">
                  <br class="">
                  [root@Mailbox ~]# cat /etc/imapd.conf&nbsp; <br class="">
                  configdirectory: /var/lib/imap<br class="">
                  partition-default: /var/spool/imap<br class="">
                  admins: cyrus<br class="">
                  sievedir: /var/lib/imap/sieve<br class="">
                  sendmail: /usr/sbin/sendmail<br class="">
                  hashimapspool: true<br class="">
                  sasl_pwcheck_method: saslauthd<br class="">
                  sasl_mech_list: PLAIN<br class="">
                  allowplaintext: yes<br class="">
                  unixhierarchysep: 1<br class="">
                  virtdomains: yes<br class="">
                  altnamespace: on<br class="">
                  defaultdomain: <a moz-do-not-send="true"
                    href="http://mydomain.com" class="">mydomain.com</a><br
                    class="">
                  expunge_mode: immediate<br class="">
                  delete_mode: immediate<br class="">
                  tls_cert_file: /usr/share/ssl/certs/server.pem<br
                    class="">
                  tls_key_file: /usr/share/ssl/certs/server.key<br
                    class="">
                  tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt<br
                    class="">
                  lmtp_over_quota_perm_failure: 1<br class="">
                  duplicatesuppression: 1<br class="">
                  duplicate_db_path:
                  /var/lib/imap/cyrus-ram-tmpfs/deliver.db<br class="">
                  statuscache_db_path:
                  /var/lib/imap/cyrus-ram-tmpfs/statuscache.db<br
                    class="">
                  tlscache_db_path:
                  /var/lib/imap/cyrus-ram-tmpfs/tls_sessions.db <br
                    class="">
                  <br class="">
                  Regards<br class="">
                  Jayesh Shinde<br class="">
                </font> </div>
              ----<br class="">
              Cyrus Home Page: <a moz-do-not-send="true"
                href="http://www.cyrusimap.org/" class="">http://www.cyrusimap.org/</a><br
                class="">
              List Archives/Info: <a moz-do-not-send="true"
                href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/"
                class="">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br
                class="">
              To Unsubscribe:<br class="">
              <a moz-do-not-send="true"
                href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus"
                class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>