Isaac Dupree <[EMAIL PROTECTED]> writes: > If darcs could have a good mailer default... here I see by default > "darcs failed: no mail facility (sendmail or mapi) located at > configure time!" First: Why, oh why does darcs depend on that at > *configure* time? It's quite a nuisance for distro packagers who need > to decide whether it should depend on a mail program, and if so, which > one. Aren't they external programs that Darcs can support easily at > runtime?
The sendmail binary isn't in normal users' path, and is typically in either /usr/sbin/sendmail (for modern distributions) or /usr/lib/sendmail (IIRC, old stuff like SunOS). The configure-time option tells darcs where to look. Note that /usr/sbin/sendmail is not sendmail specific; other MTAs like postfix and exim provide this interface in addition to (or instead of, cf. ssmtp) a binding to 127.0.0.0/8::25. > Also, assuming/hoping it can be configured in ~/.darcs, the message is > confusing for people who want to do that (and also for people who just > need to find --sendmail-command). Arguably on unix Darcs should default to, say, /usr/sbin/sendmail (instead of nothing), and the error message should say something like "can't execute /usr/sbin/sendmail: does not exist". >> Btw, you can now do darcs send -O, which generates a patch bundle name >> for you. > > yeah, sometimes I do that Is it possible to generate not only the bundle, but the whole message (including headers and body)? Use case: I have a working /usr/sbin/sendmail, but the computer I'm on is currently airgapped from the rest of the world. I want a zero-effort way to push patches via email, so I want to create a set of complete messages for piping into "/usr/sbin/sendmail -oi -t -v", which I will transfer to the networked machine via USB key. The current -O behaviour requires one to create the To header and attach the bundle with the correct MIME type and so forth, things that darcs already knows and should be able to avoid me typing. Disclaimer: this use case does not currently apply to me -- instead I can fit the whole repo on a USB key. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
