Because of some discussion on the users list earlier this week, I've taken a look at the tmda-check-sender code with an eye for changing it to use different exit codes for the different types of errors that can occur.
The following list is the types of errors that the current code can be divided into with essentially no work. I think "bad sender" is the most common thing that people will want to know, so it should stay at exit code 0, but otherwise I have no idea what people would want to do with other exit codes. bad sender good sender dns lookup failed smtp timeout smtp socket error other smtp exception usage error Should they just go up linearly (1, 2, 3, ...), or were people thinking of using bit shifts to look at certain classes of errors? What's the highest code I can portably use? 127? 255? Any thoughts? Ed _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
