bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] m-server suggestion


From: Andrew Barnes
Subject: [bug-mailutils] m-server suggestion
Date: Wed, 24 Jun 2009 21:24:42 +0000

Hi,

I've been playing with the m-server functions and I have a small suggestion for improvement.

Extend the server block in the configuration file to add a new string field "ident". When the the mu_ip_server_t is created from this block, the value of this field is passed to the mu_ip_server_set_ident function.

If you enable debugging for the ip_server, then the logged message would contain this new string rather than "default" which might make it easier to debug m-server programs, especially if several servers are running.

I guess all that would be needed would be to add a char* to the m_srv_config structure, extend server_cfg_param array, and finally add a call to mu_ip_server_set_ident function in the server_section_parser function in the "case mu_cfg_section_end" part of the code.

Does anyone else think its a good idea?

If we think it is a good idea and if it is as easy as what I think it is then I do not mind having a go and I'll post the diff to the list.

Andy


Upgrade to Internet Explorer 8 Optimised for MSN. Download Now

reply via email to

[Prev in Thread] Current Thread [Next in Thread]