Re: [Dovecot] lmtp proxy logging

2012-10-18 Thread Timo Sirainen
On 18.10.2012, at 14.22, Charles Marcus wrote: > On 2012-10-18 12:07 AM, Timo Sirainen wrote: >> I'm planning to implement SMTP submission server and it should share the >> code with LMTP. (Also I've already written a completely separate tiny SMTP >> server implementation, which should be merge

Re: [Dovecot] lmtp proxy logging

2012-10-18 Thread Charles Marcus
On 2012-10-18 12:07 AM, Timo Sirainen wrote: I'm planning to implement SMTP submission server and it should share the code with LMTP. (Also I've already written a completely separate tiny SMTP server implementation, which should be merged with both of those. So I guess it needs to become a bi

Re: [Dovecot] lmtp proxy logging

2012-10-17 Thread Timo Sirainen
On 18.10.2012, at 6.48, Jack Bates wrote: > How do you feel about parent pointers in child structures? I'm curious as the > proxy structure is passed the input channel, but it doesn't know much else > about the input client. Rather than pass additional information in the > structure, I think it

Re: [Dovecot] lmtp proxy logging

2012-10-17 Thread Jack Bates
Timo, How do you feel about parent pointers in child structures? I'm curious as the proxy structure is passed the input channel, but it doesn't know much else about the input client. Rather than pass additional information in the structure, I think it'd be better to just place a pointer back

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread Jack Bates
On 10/15/2012 2:07 PM, Jack Bates wrote: On 10/12/2012 2:40 AM, Timo Sirainen wrote: would probably complicate the code. I don't think this would be difficult to implement. Probably just a few lines of code. Yeah, could be useful. If there's no argument over the last email, confirm and

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread Jack Bates
On 10/12/2012 2:40 AM, Timo Sirainen wrote: would probably complicate the code. I don't think this would be difficult to implement. Probably just a few lines of code. Yeah, could be useful. Commented logs below. I did 3 different types of connections. Let me know what you think. Because I

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread l...@airstreamcomm.net
On 10/12/12 2:40 AM, Timo Sirainen wrote: On 10.10.2012, at 17.37, Jack Bates wrote: The logging on lmtp and lmtp proxy is pretty limited from what I can see. It seems to handle errors, Connect, Disconnect, and in the case of lmtp delivery, it logs where an email is saved to. The lmtp may be

Re: [Dovecot] lmtp proxy logging

2012-10-12 Thread Timo Sirainen
On 10.10.2012, at 17.37, Jack Bates wrote: > The logging on lmtp and lmtp proxy is pretty limited from what I can see. It > seems to handle errors, Connect, Disconnect, and in the case of lmtp > delivery, it logs where an email is saved to. The lmtp may be enough, > "connect, saved user, saved

[Dovecot] lmtp proxy logging

2012-10-10 Thread Jack Bates
The logging on lmtp and lmtp proxy is pretty limited from what I can see. It seems to handle errors, Connect, Disconnect, and in the case of lmtp delivery, it logs where an email is saved to. The lmtp may be enough, "connect, saved user, saved user..., disconnect", but I was curious if it is wo