Package Details: opensmtpd-snapshot 201801101641p1-1

Git Clone URL: (read-only, click to copy)
Package Base: opensmtpd-snapshot
Description: A FREE implementation of the server-side SMTP protocol. Latest snapshot.
Upstream URL:
Keywords: daemon email mta smtp
Licenses: BSD
Conflicts: smtp-forwarder, smtp-server
Provides: opensmtpd, smtp-forwarder, smtp-server
Replaces: opensmtpd-portable
Submitter: whynothugo
Maintainer: None
Last Packager: whynothugo
Votes: 7
Popularity: 0.000000
First Submitted: 2013-04-04 18:32
Last Updated: 2018-09-04 15:19

Required by (108)

Sources (5)

Latest Comments

1 2 3 Next › Last »

canton7 commented on 2018-10-28 19:25

Thanks! Version 6.4.0, released a couple of days ago, requires LibreSSL, so that question is now moot.

whynothugo commented on 2018-09-04 15:20

I've fixed that issue, though I'm wondering if we might not want to use libressl, rather than an older openssl.

canton7 commented on 2018-09-04 12:20

I think you need a dependency on openssl-1.0 and the flags --with-libssl='/usr/lib/openssl-1.0' --with-cflags='-I/usr/include/openssl-1.0' to ./configure.

I'm getting the following message when installing, and community's opensmtpd PKGBUILD has these.

configure: error: Your LibreSSL headers do not match your library. Check config.log for details. If you are sure your installation is consistent, you can disable the check by running "./configure --without-openssl-header-check". Also see contrib/ for help identifying header/library mismatches.

whynothugo commented on 2016-04-16 18:04

@nougad: You're entirely right. I've no idea how this has worked for me so far!

AUR screwed up the whitespace, but I've applied the patch manually. Thanks!

nougad commented on 2016-04-16 14:15

The opensmtpd-snapshot.install file looks kind of wrong.

1) It should only create new users if they not exist (not the other way round)
2) It tries to create _smtpq twice

I think this should fix it:

--- opensmtpd-snapshot.install?h=opensmtpd-snapshot 2016-04-16 16:15:06.000000000 +0200
+++ 2016-04-16 16:15:22.918390352 +0200
@@ -1,18 +1,18 @@
post_install() {
- if [ $(getent group _smtpd > /dev/null) ]; then
+ if ! getent group _smtpd > /dev/null; then
groupadd -r _smtpd
- if [ $(getent group _smtpq > /dev/null) ]; then
+ if ! getent group _smtpq > /dev/null; then
groupadd -r _smtpq
- if [ $(getent passwd _smtpd > /dev/null) ]; then
+ if ! getent passwd _smtpd > /dev/null; then
useradd -c "SMTPD Daemon" -r -g _smtpd -d /var/empty -s /sbin/nologin _smtpd
- if [ $(getent passwd _smtpq > /dev/null) ]; then
- useradd "SMTPD queue user" -r -g _smtpd -d /var/empty -s /sbin/nologin _smtpq
+ if ! getent passwd _smtpq > /dev/null; then
+ useradd -c "SMTPD queue user" -r -g _smtpd -d /var/empty -s /sbin/nologin _smtpq
- if [ $(getent passwd _smtpf > /dev/null) ]; then
- useradd "SMTPD filter user" -r -g _smtpd -d /var/empty -s /sbin/nologin _smtpq
+ if ! getent passwd _smtpf > /dev/null; then
+ useradd -c "SMTPD filter user" -r -g _smtpd -d /var/empty -s /sbin/nologin _smtpf

chown -R _smtpd:_smtpd /etc/mail

neko commented on 2014-02-10 17:48

please add "--with-ca-file=/etc/ssl/certs/ca-certificates.crt" configure flag.

whynothugo commented on 2013-12-20 22:31

@srf21c: That makes sense; I've updated the script accordingly.

sysfu commented on 2013-10-22 17:01

Was having an issue where the smtpd.service was failing to start at boot because the network interface had not yet been enumerated. I was able to resolve the problem by changing the [Unit] as follows:

Description=A FREE implementation of the server-side SMTP protocol

Spider.007 commented on 2013-10-18 08:49

Could you alter this package so it provides smtp-forwarder (and possibly conflicts with that too)?

whynothugo commented on 2013-10-10 05:57

srf21c: No problem. :)
Don't hesitate to let me know of any other issues or doubts. :)