FS#23287 - [msmtp] create an msmtp-mta package

Attached to Project: Arch Linux
Opened by Greg (dolby) - Tuesday, 15 March 2011, 18:23 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 21 March 2012, 06:27 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Msmtp doesnt provide a /usr/sbin/sendmail so it cant be considered a proper smtp-forwarder.
This has been a long time request:  FS#8913   FS#14966 .
The most recent discussion is in  FS#21521 .

Creating an msmtp-mta package which would depend on msmtp, being itself the smtp-forwarder in its place, which will just providing a sendmail symlink will put an to the long standing debate.
IMO its the most flexible solution.

Debian deals with this the same way: http://packages.debian.org/msmtp-mta
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 21 March 2012, 06:27 GMT
Reason for closing:  Implemented
Additional comments about closing:  msmtp-mta-1.4.27-2 in [testing]
Comment by Clemens Buchacher (drizzd) - Saturday, 06 August 2011, 14:58 GMT
I am also suffering from this issue and the proposed solution sounds reasonable to me. Here's a PKGBUILD for the suggested msmtp-mta. Not sure what the pkgver should be for a pseudo-package like that.

pkgname=msmtp-mta
pkgver=1.0
pkgrel=1
pkgdesc="msmtp meta package (provides smtp-forwarder)"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://msmtp.sourceforge.net"
depends=('msmtp')
provides=('smtp-forwarder')

build() {
mkdir -p "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver}"
ln -sf /usr/bin/msmtp sendmail
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -D sendmail "${pkgdir}/usr/sbin/sendmail"
}
Comment by Clemens Buchacher (drizzd) - Sunday, 30 October 2011, 11:32 GMT
Since there is nothing happening on this end, I have created the following package as a permanent workaround:

https://aur.archlinux.org/packages.php?ID=53539

Loading...