Ok, but if I need to take a hack-break sometime late tonight or tomorrow night and knock it out, I'll send you the patch!
Aaron Ilja Booij <[EMAIL PROTECTED]> said: > I've put this into the TODO list for future releases. It should not take > too long to change to using getopt(), so we could probably put in dbmail 2.1 > > Ilja > > Mark Mackay - Orcon wrote: > > >>So I think the way to go about doing this is to rewrite the > >>argument handling > >>in main.c to use getopt() so that adding another flag doesn't > >>involve major > >>spaghetti code. Other than that, should be a piece of cake to > >>add the from > >>address to the return_path list that is already passed to > >>insert_message(). > > > > > >>I'd love to do this but I barely have enough time for the > >>pipe.c updates. > > > > > > I assume changing to getopt() would allow command line options from > > dbmail-smtp to be in any order, and alleviate the confusion it causes (like > > the -m MAILBOX issue recently on the list). > > > > If can't be done now -- a good thing to add to the wishlist for later > > versions. > > > > /Mark > > > > _______________________________________________ > > Dbmail-dev mailing list > > Dbmail-dev@dbmail.org > > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > > -- > IC&S > Stadhouderslaan 57 > 3583 JD Utrecht > > PGP-key: > http://www.ic-s.nl/keys/ilja.txt > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > --