layman -a dakon
echo dev-libs/libowfat >> /etc/portage/package.keywords echo mail-mta/netqmail-Qsmtp >> /etc/portage/package.keywords
emerge -at netqmail-QsmtpNormally you should get two packages, libowfat and qsmtp. If you don't have qmail installed already you will get tons more.
cd /usr/src/packages/SOURCES wget http://dl.fefe.de/libowfat-0.30.tar.xz # put specfile from https://build.opensuse.org/package/show/home:DerDakon/libowfat into ../SPECS rpmbuild --ba ../SPECS/libowfat.spec
zypper in libopenssl-devel cmake
cd /tmp wget http://opensource.sf-tec.de/Qsmtp/Qsmtp-0.37.tar.xz tar xJf Qsmtp-0.37.tar.xz mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=/var/qmail ../Qsmtp-0.37 make install
You can switch on additional features like support for MD5 passwords in AUTH on the CMake command line, e. g. by passing "-DAUTHCRAM=On". Do not enable and use the CHUNKING option for Qsmtpd in any version prior to 0.34. It is entirely broken and can lead to endless loops (i. e. eating your CPU time) and scramble your mails. If the remote server is friendly and sends "good" data you may be lucky and actually get something that is closed to the content you want to, but even that is not entirely certain.
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig ln -s /var/qmail/bin/Qremote /var/qmail/bin/qmail-remote
/tmp/netqmail-1.06/config-fast $(hostname --fqdn)for the basic settings). Read the usual qmail docs on what's next. My part is done here. Only make sure to call /var/qmail/bin/Qsmtpd from tcpserver instead of /var/qmail/bin/qmail-smtpd.