After thinking long and hard about the best way to provide sorted domains names, I believe the winner is to sort /var/qmail/users/assign when it is updated by vopomail. Since Qmail and vpopmail don't care about the order of entries in the file, I don't expect it to have any effect on existing programs, but I believe it is the most efficient way to maintain a sorted list of domains.

Vpopmail is happily running here with a sorted users/assign file.


Should it have a ./configure option?

Which way should it sort? ( Normal order: Host.Domain.TLD)

dth       Domain - TLD - Host

This one groups all the second level domain names together, so if a custoemr owns, and, they will app appear together in the sort. This is the one I find most useful.

This is the natural sort if you just take the alphanumeric value of the entire domain name. This groups similar host names together, or similar domain names, if the name is only domain.tld. This is easy, but not very valuable.


dth    Top Domain Host

This one groups all the .au, .com, .net etc together. Within the top level domain groups the domain names are sorted. If a domain has multiple hosts, the host names are sorted, and appear after the domain name with no host.


hdt       Host - Domain - TLD


Reply via email to