On Sat, Nov 6, 2010 at 8:15 PM, Jeroen Geilman <jer...@adaptr.nl> wrote:
> You're again mixing up clients and servers. > > I'd need more pertinent information to hazard a guess what you're trying to > achieve here. > Here's a schematic: [postfix] >--smtp/lmtp--> [custom gateway] >--websocket--> [websocket clients] 1)attempt delivery 2)contact client 3)send ack 5)deque message 4)confirm delivery Websocket is a new protocol to enable persistent, full-duplex, efficient connections to web servers. The big reason not to use IMAP is that it's not efficient for 5K+ concurrently connected clients. I believe Dovecot implements a local delivery agent, so presumably postfix contacts it via LMTP? I'm hoping LMTP doesn't mandate a distinct TCP connection to a server for each message, vs. streaming messages over a single connection, otherwise the number of concurrent connections would exceed what's practical. Liam