<HTML dir=ltr><HEAD><TITLE>RE: murder configuration issue final stretch</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3429" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText94966 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Andy,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Mail is finally being delivered now. I made the change to tcp lmtp and that solved 1/2 of the problem. I had to tweak some things on the backend as well. I will document my changes and put them up on my wiki. This is a test environment under xen so I will spin up an identical environment and apply the changes to see if it works.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>For me, this brings me to 90% completetion. The final part is autocreate. I know that autocreate is not supported in this configuration. I have accepted that. What I was wondering is do you have any simple scripts for creating new user accounts that I can just call from a shell script? I have a automated process in the background that creates user accounts in the background. I already have to SSH out from this setup script to a different server. There's no reason I can't call into a second server for email creation/deletion but right now this part is beyond me. Any working samples would be great.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>To recap the environment that will be put into place</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>4 backend servers (existing)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>1 master server.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>2+n frontend servers.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>2+n side servers.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The side servers will be dedicated for postfix. All email comes into relays and then forwarded onto the final postfix. Instead of putting this load on the frontend I will be running a couple load balanced frontend servers dedicated to postfix only. The master will be a cluster with drbd replication (on my todo).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I suspect that the automation scripts will be run against one of my side servers. The frontend and side servers will also have xen instances virtualized so we can spin up more if we need to.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Overall it looks good for what we want. We just need to get the automation in place now...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Gary</FONT></DIV>
<DIV dir=ltr> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Andrew Morgan [mailto:morgan@orst.edu]<BR><B>Sent:</B> Fri 12/12/2008 9:46 AM<BR><B>To:</B> Gary W. Smith<BR><B>Cc:</B> Wesley Craig; info-cyrus@lists.andrew.cmu.edu<BR><B>Subject:</B> RE: murder configuration issue final stretch<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>On Fri, 12 Dec 2008, Gary W. Smith wrote:<BR><BR>> Andrew,<BR>><BR>> Any idea how this works with the lmtpproxy? Also, I've tried to setup<BR>> the lmtp using the local port but for some reason when I restart<BR>> cyrus-imapd it doesn't who up in netstat.<BR>><BR>> Tried<BR>> lmtp cmd="lmtpd" listen="lmtp" prefork=1<BR>> Tried<BR>> lmtp cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 maxchild=20<BR>> Current:<BR>> lmtp cmd="lmtpproxyd" listen="/var/lib/imap/socket/lmtpunix" prefork=1<BR>><BR>> Do you have any examples of setting it up on a different port and<BR>> forwarding it onwards to the backend (or I assume that we would forward<BR>> it to the proxy) using postfix?.<BR><BR>I believe you want:<BR><BR> lmtp cmd="lmtpproxyd" listen="2004" prefork=1 maxchild=50<BR> lmtpunix cmd="lmtpproxyd" listen="/var/lib/imap/socket/lmtpunix" prefork=1<BR><BR>This should listen on port 2004 (instead of the usual 2003) on all<BR>interfaces, plus listen on the unix socket you had defined earlier.<BR><BR> Andy<BR></FONT></P></DIV></BODY></HTML>