Hi, The problem: Yesterday I had to add several records to smtpaccess/default file. I use courier-mta for several years. I know it requires tabs and not spaces in files like these. Yet, I somehow managed to put space instead of tab in two of six added records. Run makesmtpaccess, got no message about any problems. But these two records, naturally, were not working. It was a puzzle to find out why (IP addresses were 15 symbols long--exactly one space less than two tabs). For my younger coworkers this problem happens even more often.
Proposed fix: I would like makesmtpaccess script to complain about records without tab. That would allow to fix problems immediately and rerun that script. I understand, that the same program--makedatprog--is used to process different files. Some of them, like esmtpacceptmailfor.d/*, should not contain the tab at all (and therefore should not complain). Some of them, like hosteddomains, have optional second argument. So, in this case it should not complain about missing value part, but instead detect space in the key part and finger that. Anyway, this could be implemented either as an option to makedatprog, or in makeXYZ scripts. Not sure which way is better. -- Aidas Kasparas IT administrator GM Consult Group, UAB http://www.gmc.lt ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users