FS#14966 - [msmtp] add a link /usr/sbin/sendmail

Attached to Project: Arch Linux
Opened by Magnus Therning (magus) - Friday, 05 June 2009, 21:38 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 11 February 2010, 20:29 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The binary in msmtp is written so that it can function as a replacement for /usr/sbin/sendmail. It'd be great if the package contained a link /usr/sbin/sendmail -> /usr/bin/msmtp so that tools like cron can use it.
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Thursday, 11 February 2010, 20:29 GMT
Reason for closing:  Won't implement
Additional comments about closing:  The problems this will cause outweigh the issue it will fix for a few select users. If you want the link in question, you are welcome to add it yourself (or even better, build from ABS and update the PKGBUILD to your needs)
Comment by Loui Chang (louipc) - Saturday, 06 June 2009, 18:27 GMT
That will make it conflict with postfix.
Comment by Tobias Kieslich (tobias) - Saturday, 06 June 2009, 19:27 GMT
There was another bug for that and what it boils down to is what Loui said, it'll create a conflict where no conflict needs to be. The vast majority of applications using sendmail can be configured to use another binary name instead.
Comment by Magnus Therning (magus) - Saturday, 06 June 2009, 21:01 GMT
Fair enough about the conflict. I'm not really sure what the use case for having an SMTP server installed alongside msmtp though.

Also, there are applications that can't be configured to use another binary name, e.g. dcron (the default cron in Arch). Hopefully there are replacements for most of them (I know there are replacements for dcron).
Comment by Jan de Groot (JGC) - Sunday, 14 June 2009, 09:38 GMT
I see no need to run both postfix and msmtp on one machine though. If you have postfix installed, but don't configure it so it can't send mail out, there's no point on having postfix installed. If you have postfix installed, there's no point on having msmtp installed either.
Comment by Tobias Kieslich (tobias) - Sunday, 14 June 2009, 17:19 GMT
The thing is that for three years now I have the need to run both. Exim for development reasons and msmtp for my mail stuff. While I can see that being a little off the regular charts, it's still useful. And, last but not least, for msmtp users, it's really just about creating a symlink while everybody else would have to rebuild the package to get around the collision check in pacman's db
Comment by Alessandro Doro (adoroo) - Saturday, 01 August 2009, 19:33 GMT
msmtp it's already conflicting with postifx.

$ pacman -Si msmtp
Provides : smtp-forwarder

$ pacman -Si postfix
Provides : smtp-server smtp-forwarder
Conflicts With : postfix-mysql postfix-pgsql smtp-server smtp-forwarder

Idem for ssmtp, but here the binary is symlinked to /usr/sbin/sendmail.
IMO it would be better if these little mail forwarders could coexist with a Real MTA.
Comment by Tobias Kieslich (tobias) - Sunday, 02 August 2009, 02:17 GMT
Well, smpt-forwarder was suggested to be distinguished from actual smtp-servers. Postfix is by no mean an smtp-forwarder and that should be removed from that package.

Loading...