Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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


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:
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.

pkgdesc="msmtp meta package (provides smtp-forwarder)"
arch=('i686' 'x86_64')

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: