FS#8913 - [msmtp] doesn't provide /usr/sbin/sendmail

Attached to Project: Arch Linux
Opened by Andreas Wagner (awagner) - Wednesday, 12 December 2007, 21:27 GMT
Last edited by Tobias Kieslich (tobias) - Sunday, 09 November 2008, 03:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
as per http://bugs.archlinux.org/task/4163#comment8617,
msmtp quite correctly provides smtp-forwarder, but wouldn't this mean that it should also provide a /usr/sbin/sendmail command (i.e. symlink to /usr/bin/msmtp) ? (and possibly the same for a sendmail manpage?)

Additional info:
* msmtp 1.4.13-1 (x86_64)

This task depends upon

Closed by  Tobias Kieslich (tobias)
Sunday, 09 November 2008, 03:43 GMT
Reason for closing:  Won't fix
Additional comments about closing:  This would introduce issues for people who have to run an actual smtp server on their system that provides a real senmail binary. Most programs can be adjusted to use the msmtp binary instead of sendmail
Comment by Tobias Kieslich (tobias) - Wednesday, 09 January 2008, 02:16 GMT
it would per definition make msmtp conflict with any smtp server. I run exim on a machine (for application development) and have msmtp installed(for personal mailing). They coexist just fine. While there is a certain functionality in the request, most programs looking for a sendmail functionality usually not only offer, but require, that an explicit path to sendmail is given (usually for /usr/bin/sendmail vs /usr/sbin/sendmail sake) But this is the place you should point to /usr/bin/msmtp
Comment by Andreas Wagner (awagner) - Wednesday, 09 January 2008, 10:07 GMT
so, you're saying that smtp-server -> /usr/sbin/sendmail and !smtp-server -> !/usr/sbin/sendmail ?
(I can understand your reasoning, but I suppose this would have to have some repercussions in other mail-forwarder-only packages...)
(I've been meaning to ask something like this at http://bbs.archlinux.org/viewtopic.php?id=40973, but got no reply. Also, from #4812 I suppose it also would have repercussions in packages that depend on either smtp-forwarder or smtp-server. At least, they'd have to be checked/verified, no?)
Comment by Tobias Kieslich (tobias) - Tuesday, 13 May 2008, 22:39 GMT
The main issue is that I would introduce a conflict when ther must be no conflict if I leave the symlink out. Most programs that rely on smtp-forwarders to have a sendmail functionality like darcs and git for patches and other stuff have an option to configure the smtp-forwarder command that gets triggered. This is not necessaryly because the command is named differently, but mainly becuase not all sendmail binaries understand the same flags. However I think that's a good workaround and it allows to have an smtp servr AND a forwarde installed which is quite handy in some cases.

Loading...