On Tue, Feb 24, 2015 at 3:28 AM, Sam Varshavchik <mr...@courier-mta.com>
wrote:
> Ángel González writes:
>
* Differenciating remote accesses and internal services (ie. webmail)...
>> even if the webmail uses an imap backend.
>>
>
> Which has always been a poor way to implement webmail.
Like democracy, however, it's the best implementation we have. :)
For very small sites, you can run a webmail service directly off disk, but
the benefit of using IMAP is that you don't need to reinvent the wheel for
every webmail service and backend combination.
Granted, some wheel reinventing is necessary in terms of code, but for
IMAP, there are reasonably well-functioning, ubiquitous libraries that aid
implementation.
Very often the same accounts need to be accessible via both IMAP and
webmail, and if you use something other than IMAP for the webmail service,
you would need to reverse-engineer e.g. Courier's metadata manually to
avoid synchronization issues, which will hamper perceived stability and
performance.
PS: It indeed looked like a X Y problem request! I have answered enough
>> misdirected questions to hope not to be completely off, though.
>>
>
> Well, the per-IP address differention is mostly related to the maximum
> number of simultaneous connections that are accepted, and that's handled by
> couriertcpd, not authdaemon.
If not the IP address, it would be nice to have some sort of unique session
ID or similar for the logs, so that you could do single or dual pass
parsing of logs.
As it is now, log parsing is somewhat tedious.
> couriertcpd is the best place to implement throttling, hence the controls.
> This is already actually implemented, but I keep forgetting to document it.
> So, now I documented it.
>
Yay!
--
Jan
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users