murder configuration issue final stretch
Gary W. Smith
gary at primeexalia.com
Fri Dec 12 16:50:07 EST 2008
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.
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.
To recap the environment that will be put into place
4 backend servers (existing)
1 master server.
2+n frontend servers.
2+n side servers.
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).
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.
Overall it looks good for what we want. We just need to get the automation in place now...
From: Andrew Morgan [mailto:morgan at orst.edu]
Sent: Fri 12/12/2008 9:46 AM
To: Gary W. Smith
Cc: Wesley Craig; info-cyrus at lists.andrew.cmu.edu
Subject: RE: murder configuration issue final stretch
On Fri, 12 Dec 2008, Gary W. Smith wrote:
> Any idea how this works with the lmtpproxy? Also, I've tried to setup
> the lmtp using the local port but for some reason when I restart
> cyrus-imapd it doesn't who up in netstat.
> lmtp cmd="lmtpd" listen="lmtp" prefork=1
> lmtp cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 maxchild=20
> lmtp cmd="lmtpproxyd" listen="/var/lib/imap/socket/lmtpunix" prefork=1
> Do you have any examples of setting it up on a different port and
> forwarding it onwards to the backend (or I assume that we would forward
> it to the proxy) using postfix?.
I believe you want:
lmtp cmd="lmtpproxyd" listen="2004" prefork=1 maxchild=50
lmtpunix cmd="lmtpproxyd" listen="/var/lib/imap/socket/lmtpunix" prefork=1
This should listen on port 2004 (instead of the usual 2003) on all
interfaces, plus listen on the unix socket you had defined earlier.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Info-cyrus