> You make it seems like using getopt_long has difficulty in > which it really has none.
>From the description in the man page popt seems to offer some additional functionality over getopt and getopt_long, so I just thought you might consider using it in a future version. I just had another "weird" idea for a future release: "xmlifying" the dbmail.conf, and parsing it with expat/libxml2 so there's no need to maintain a handwritten parser with all the hassle around it. This would also be a benefit for third-party applications/scripts written in php and perl, as it's way more easy to utilize the xml-parser libraries of those languages than writing a parser for the dbmail.conf file in the current style. If anyone's interested I'd give it a go in some spare time... -- Wolfram