<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I mostly waned top make sure that your delivery concurrency wasn’t limited by the number of processes that could access a named pipe. That doesn’t seem to be your problem, though.<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="">-- </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 18, 2015, at 4:21 AM, jayesh shinde <<a href="mailto:jayesh.shinde@netcore.co.in" class="">jayesh.shinde@netcore.co.in</a>> 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 face="Times New Roman, Times,
serif" class="">Hi </font><span class="Apple-style-span" style="border-collapse: separate; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><font face="Times New Roman, Times, serif" class="">Stephen , <br class="">
<br class="">
I am handling via TCP i.e from smtp server to mailbox server.
<br class="">
<br class="">
on smtp server postfix's main.cf transport_maps is maintain ,
which deliver the emails to lmtp. <br class="">
<br class="">
Example like below. <br class="">
/@<a href="http://mydomain.com/" class="">mydomain.com/</a> lmtp:[192.168.1.1]<br class="">
<br class="">
Request you to please guide here or any fine tuning etc ....<br class="">
<br class="">
Regards<br class="">
Jayesh Shinde</font><br class="">
<br class="">
</span><br class="">
On 05/15/2015 10:11 PM, Stephen Ulmer wrote:<br class="">
</div>
<blockquote cite="mid:ECF06DC6-8611-48D9-A0F2-6309E5315816@ufl.edu" type="cite" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" class="">
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; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div class="">-- </div>
<div class="">Stephen</div>
<div class=""><br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On May 15, 2015, at 2:18 AM, jayesh shinde
<<a moz-do-not-send="true" href="mailto:jayesh.shinde@netcore.co.in" class="">jayesh.shinde@netcore.co.in</a>>
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. Please find below inline reply for each. <br class="">
<br class="">
I found that 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 i.e by doing
grep key words like "to mailbox:" / "Delivered:"
etc ...<br class="">
<br class="">
My mail queue issue is getting critical in peak
hours !! 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 05:42 +0000,
jayesh.shinde wrote: <br class="">
</font>
<blockquote type="cite" class=""><font class="" face="Times New Roman, Times, serif">Please
suggest , for faster delivery what could be the
best config 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 . 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 21K email ids. Cyrus running with
tcp socket on <br class="">
port 24 i.e lmtpd . 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 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 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. 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 <file> <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 <br class="">
<br class="">
163326970 -rw------- <b class="">198</b> cyrus mail
413K May 15 10:07 64828.<br class="">
163396232 -rw------- <b class="">145</b> cyrus mail
92K May 15 10:13 64829.<br class="">
163379367 -rw------- <b class="">151</b> cyrus mail
96K May 15 10:29 64830.<br class="">
163323993 -rw------- <b class="">496</b> cyrus mail
13K May 15 10:30 64831.<br class="">
163398621 -rw------- <b class="">516</b> cyrus mail
850K May 15 10:42 64832.<br class="">
163398568 -rw------- <b class="">523</b> cyrus mail
455K May 15 10:43 64833.<br class="">
163398933 -rw------- <b class="">617</b> cyrus mail
3.7M May 15 10:47 64834.<br class="">
163398962 -rw------- <b class="">522</b> cyrus mail
1.3M May 15 10:48 64835.<br class="">
163398990 -rw------- <b class="">617</b> cyrus mail
58K May 15 10:49 64836.<br class="">
163396678 -rw------- <b class="">465</b> cyrus mail
207K May 15 10:56 64837.<br class="">
163399529 -rw------- <b class="">576</b> cyrus mail
332K May 15 10:57 64838.<br class="">
163399554 -rw------- <b class="">2</b> cyrus mail
54K May 15 10:57 64839.<br class="">
163346523 -rw------- <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 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 3224 0.0 0.0 73376 4648 ? S
10:55 0:00 lmtpd<br class="">
cyrus 4043 0.0 0.0 73376 4156 ? S
10:59 0:00 lmtpd<br class="">
postfix 6972 0.0 0.0 75708 4336 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6974 0.0 0.0 75708 4340 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6975 0.0 0.0 75708 4336 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6977 0.0 0.0 75708 4344 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6979 0.0 0.0 75708 4336 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6981 0.0 0.0 75708 4336 ? S
11:10 0:00 lmtp -t unix -u<br class="">
postfix 6985 0.0 0.0 75708 4348 ? S
11:10 0:00 lmtp -t unix -u<br class="">
cyrus 6998 0.0 0.0 73376 4052 ? S
11:10 0:00 lmtpd<br class="">
cyrus 7001 0.0 0.0 73376 4044 ? S
11:10 0:00 lmtpd<br class="">
cyrus 7234 0.9 0.0 75456 4976 ? S
11:12 0:04 lmtpd -a<br class="">
cyrus 8758 0.6 0.0 75452 4112 ? S
11:19 0:00 lmtpd -a<br class="">
root 8898 0.0 0.0 103236 972 pts/1 S+
11:19 0:00 grep --colour=auto lmtp<br class="">
cyrus 46046 0.0 0.0 73376 4648 ? S
10:28 0:01 lmtpd<br class="">
cyrus 48107 0.0 0.0 73372 4740 ? S
10:37 0:01 lmtpd<br class="">
cyrus 48108 0.0 0.0 73376 4700 ? S
10:37 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="">
imap cmd="imapd" listen="imap" prefork=5<br class="">
imaps cmd="imapd -s" listen="imaps" prefork=1<br class="">
pop3 cmd="pop3d" listen="pop3" prefork=3<br class="">
pop3s cmd="pop3d -s" listen="pop3s" prefork=1<br class="">
sieve cmd="timsieved" listen="sieve"
prefork=0<br class="">
<br class="">
lmtp cmd="lmtpd -a" listen="lmtp" prefork=0<br class="">
lmtpunix cmd="lmtpd"
listen="/var/lib/imap/socket/lmtp" prefork=1<br class="">
}<br class="">
<br class="">
[root@Mailbox ~]# cat /etc/imapd.conf <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 class="">
</div>
</div></blockquote></div><br class=""></div></body></html>