darcs

Issue 596 darcs shouldn't need an MTA just to send mail

Title darcs shouldn't need an MTA just to send mail
Priority wishlist Status duplicate
Milestone Resolved in
Superseder wish: injecting mail (darcs send) directly into remote MTA via SMTP
View: 906
Nosy List Hairy Dude, WorldMaker, darcs-devel, dmitry.kurochkin, kowey, markstos, nothingmuch, techtonik, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-01-19.19:20:55 by Hairy Dude, last changed 2009-10-24.00:00:32 by admin.

Messages
msg2606 (view) Author: Hairy Dude Date: 2008-01-19.19:20:54
Currently 'darcs send' on Linux needs an MTA to send mail. But installing a full
blown MTA just for one command seems like overkill. Probably it should be able
to use the user's email client to do this instead, or alternatively talk SMTP
directly.
msg2607 (view) Author: markstos Date: 2008-01-19.19:24:37
I agree this would also be a nice feature. Since the darcs project was started,
Haskell libraries have been released with compatible licenses that provide both
SMTP and TLS support: 

http://darcs.haskell.org/SoC/haskellnet/HaskellNet/SMTP.hs

http://www.cs.helsinki.fi/u/ekarttun/hsgnutls/

Perhaps these would ease the implementation.
msg2608 (view) Author: WorldMaker Date: 2008-01-19.19:38:11
Peter Berry wrote:
> Currently 'darcs send' on Linux needs an MTA to send mail. But installing a full
> blown MTA just for one command seems like overkill. Probably it should be able
> to use the user's email client to do this instead, or alternatively talk SMTP
> directly.

darcs send has a --sendmail-command option that allows you to use your 
email client directly.  The manual has a couple of examples:

http://www.darcs.net/manual/node7.html#SECTION00764000000000000000
msg2610 (view) Author: markstos Date: 2008-01-19.19:41:13
Hmm, after finding "--sendmail--command" and seeing how flexible it is...and
that mail sending reportedly "just works" on Windows already, I may have to
retract my vote for this feature.  From chatting with "HairyDude" on IRC, it may
satisfy him as well. Thanks, WorldMaker!
msg2613 (view) Author: nothingmuch Date: 2008-01-19.21:36:22
On Sat, Jan 19, 2008 at 19:20:56 -0000, Peter Berry wrote:
> 
> New submission from Peter Berry <pwberry@gmail.com>:
> 
> Currently 'darcs send' on Linux needs an MTA to send mail. But installing a full
> blown MTA just for one command seems like overkill. Probably it should be able
> to use the user's email client to do this instead, or alternatively talk SMTP
> directly.

SSMTP was designed for exactly this niche - it provides a sendmail
compatible interface and delegates to an SMTP server.
msg4096 (view) Author: techtonik Date: 2008-03-29.10:42:58
Is there similar SSMTP command for windows?
msg4099 (view) Author: droundy Date: 2008-03-29.12:23:47
For windows we use MAPI (provided it's compiled in), which is the windows email
interface.  I have no idea whether it works.
msg4101 (view) Author: techtonik Date: 2008-03-29.16:59:45
Maybe it works for own Exchange server or Outlook client, but not for GMail.
msg4103 (view) Author: WorldMaker Date: 2008-03-29.18:48:20
techtonik wrote:
> 
> Maybe it works for own Exchange server or Outlook client, but not for GMail.
> 

Just set up Outlook or Thunderbird with GMail's SMTP?
msg4107 (view) Author: techtonik Date: 2008-03-30.12:33:56
Overkill, but nevermind - I've created sendmail emulator script in Python that
sends Darcs messages via GMail SMTP.

http://rainforce.org/python/

However, to use it conveniently it would be nice to have issue 769 and issue 768
fixed.
msg5368 (view) Author: kowey Date: 2008-08-11.07:53:41
Discussion moved to issue 906.
We want this feature.
History
Date User Action Args
2008-01-19 19:20:55Hairy Dudecreate
2008-01-19 19:24:38markstossetstatus: unread -> unknown
nosy: + markstos
messages: + msg2607
title: darcs shouldn't need an MTA just to send mail -> wish: darcs shouldn't need an MTA just to send mail
2008-01-19 19:38:12WorldMakersetnosy: + WorldMaker, darcs-devel
messages: + msg2608
title: wish: darcs shouldn't need an MTA just to send mail -> darcs shouldn't need an MTA just to send mail
2008-01-19 19:41:14markstossetstatus: unknown -> wont-fix
nosy: droundy, tommy, beschmi, kowey, markstos, darcs-devel, WorldMaker, Hairy Dude
messages: + msg2610
2008-01-19 21:36:23nothingmuchsetnosy: + nothingmuch
messages: + msg2613
2008-03-29 10:42:59techtoniksetnosy: + techtonik, nothingmuch, - nothingmuch
messages: + msg4096
2008-03-29 12:23:48droundysetnosy: droundy, tommy, beschmi, kowey, markstos, darcs-devel, WorldMaker, Hairy Dude, nothingmuch, techtonik
messages: + msg4099
2008-03-29 16:59:46techtoniksetnosy: droundy, tommy, beschmi, kowey, markstos, darcs-devel, WorldMaker, Hairy Dude, nothingmuch, techtonik
messages: + msg4101
2008-03-29 18:48:21WorldMakersetnosy: + nothingmuch
messages: + msg4103
2008-03-30 12:33:57techtoniksetnosy: - nothingmuch
messages: + msg4107
2008-08-11 07:53:44koweysetstatus: wont-fix -> duplicate
nosy: + dagit, nothingmuch, - nothingmuch
superseder: + wish: injecting mail (darcs send) directly into remote MTA via SMTP
messages: + msg5368
2009-08-06 17:51:46adminsetnosy: + jast, Serware, dmitry.kurochkin, zooko, mornfall, simon, thorkilnaur, - droundy, WorldMaker, Hairy Dude, nothingmuch, techtonik
2009-08-06 20:54:36adminsetnosy: - beschmi
2009-08-10 22:11:06adminsetnosy: + techtonik, WorldMaker, nothingmuch, Hairy Dude, - zooko, jast, Serware, mornfall
2009-08-11 00:04:41adminsetnosy: - dagit
2009-08-25 18:03:10adminsetnosy: - simon
2009-08-27 14:02:33adminsetnosy: tommy, kowey, markstos, darcs-devel, WorldMaker, thorkilnaur, Hairy Dude, nothingmuch, dmitry.kurochkin, techtonik
2009-10-23 22:39:10adminsetnosy: + maxbattcher, - WorldMaker
2009-10-24 00:00:32adminsetnosy: + WorldMaker, - maxbattcher