On 11/07/2010 02:59 AM, Liam wrote:
I need to have postfix deliver email bound for a specific subdomain (e.g. websock.mydomain.xyz) to a websocket gateway I'm coding (in Node.js).

I don't know what that is, but postfix is an SMTP server.


I've looked over the architecture docs, and would appreciate input on which delivery method is most simple/robust to implement.

That would be SMTP.


The messages in question are valuable, and my websocket clients

I thought you just said postfix has to deliver messsages to your application, making your application the server, not the client. If the application has to retrieve messages, use a mail retrieval protocol such as POP3 or IMAP.

often have unreliable connections, so I imagine waiting for client ack before accepting a message for delivery.

SMTP has delivery assurance built-in.

I'm wondering about the overhead of having many concurrent delivery requests pending.

Pending in what way ? Active transactions ? They should complete as soon as possible.

I'm also wondering if it's possible/efficient to poke postfix when a client connects whom I know has messages pending (due to a previous delivery attempt).

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.

--
J.

Reply via email to