Hi Stuart, As you may be able to tell from the extent and duration of the open issues, the "official" qpsmtpd fork is barely maintained. There is a newer development version 0.92 available at:
https://github.com/qpsmtpd-dev/qpsmtpd-dev Just click the 'tags' link for a list of versions you can download. It has fixes for nearly all the open issues on the (very) old Google Code project page (see the Changes file), as well as many others that have been discussed on the qpsmtpd mailing list. It also includes many updates to improve the consistency, maintainability, efficacy, and efficiency of the plugins. Best still, if you use the -dev branch, I'll try to assist you if you still have problems. I use port 465 with the forkserver deployment model on my servers and it works well for me. Just now, I compiled a SSL enabled tcpserver and tested with the tcpserver deployment model and that worked for me as well. Matt ````````````````````````````````````````````````````````````````````````` Matt Simerson http://matt.simerson.net/ Systems Engineer http://www.tnpi.net/ Mail::Toaster - http://mail-toaster.org/ NicTool - http://www.nictool.com/ ````````````````````````````````````````````````````````````````````````` On Jun 23, 2013, at 12:59 AM, [email protected] wrote: > Status: New > Owner: ---- > > New issue 32 by [email protected]: qpsmtpd doesn't work with > sslserver > http://code.google.com/p/smtpd/issues/detail?id=32 > > Hi all, > > I'm trying to get SMTPS (that is, SMTP over SSL; rather than STARTTLS) > working as that's what the mail client in my phone supports. After digging > through the documentation, I noticed barely-documented mention of using > sslserver (part of ucspi-ssl) to run qpsmtpd. > > I already have a non-SSL qpsmtpd working with forkserver. > > With no documentation, but knowing that qpsmtpd is a drop-in replacement for > qmail-smtpd, I forged ahead, duplicating the 'service' scripts for > qmail-smtpd, and tweaking it to run qpsmtpd underneath sslserver. > > The following is my 'run' script: > #!/bin/bash > # Gentoo Startup script for qmail's SMTP daemon > # $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-smtpd,v > 1.1 2006/02/12 18:42:33 hansmi Exp $ > > # If you need to edit this file, please look at editing conf-smtpd and > # conf-common first. If you still need to change this file, you should > probably > # file a bug on the bugzilla saying what you wanted to change so that > # modifications can be made possible via the configuration files. > > SERVICE=qpsmtpd > . /var/qmail/bin/qmail-config-system && \ > exec /usr/bin/softlimit -m 512000000 \ > ${QMAIL_TCPSERVER_PRE} \ > /usr/bin/sslserver -e -n ${TCPSERVER_OPTS} -x > /etc/tcprules.d/tcp.qmail-smtp.cdb \ > -c ${MAXCONN} -u clamav -g ${NOFILESGID} \ > 0.0.0.0 465 \ > ${QMAIL_SMTP_PRE} /usr/bin/qpsmtpd ${QMAIL_SMTP_POST} \ > 2>&1 > > This got sslserver to listen on a port, and start qpsmtpd, but there's a > hitch: > > @4000000051c6a59539dbb6d4 sslserver: pid 5142 from 1.134.236.157 > @4000000051c6a5b002ab3464 sslserver: ok 5142 > eth2015.qld.adsl.internode.on.net:150.101.176.226:465 :1.134.236.157::37570 > @4000000051c6a5b03993b53c Use of uninitialized value $local_port in numeric > eq (==) at /usr/share/qpsmtpd/plugins/tls line 146. > @4000000051c6a5b03a4f9acc sslserver: ssl 5141 accept > @4000000051c6a5b03a606794 sslserver: end 5141 status 11 > > Okay, so I check that line, and it's just checking if the local port is 465 > (which it is), so I just comment out the check for now. > > Android is happy with this, but then when I actually go to send an email, ho > ho, all hell breaks loose: > @4000000051c6a79414994ecc sslserver: ok 5220 > eth2015.qld.adsl.internode.on.net:150.101.176.226:465 :1.135.213.220::43057 > @4000000051c6a79f3aaa267c FATAL PLUGIN ERROR [logging::file]: Can't call > method "notes" on unblessed reference at > /usr/share/qpsmtpd/plugins/logging/file line 274. > @4000000051c6a7a014fb3d1c FATAL PLUGIN ERROR [logging::file]: Can't call > method "notes" on unblessed reference at > /usr/share/qpsmtpd/plugins/logging/file line 274. > @4000000051c6a7a3028e84a4 Use of uninitialized value in lc at > /usr/share/qpsmtpd/plugins/spamassassin line 265, <SPAMD> line 1. > @4000000051c6a7a302a9e474 Argument "10.1.5.49" isn't numeric in numeric lt > (<) at /usr/lib64/perl5/vendor_perl/5.12.4/Mail/Header.pm line 193, <SPAMD> > line 1. > @4000000051c6a7a302a9f7fc Argument "10.1.5.49" isn't numeric in numeric ge > (>=) at /usr/lib64/perl5/vendor_perl/5.12.4/Mail/Header.pm line 197, <SPAMD> > line 1. > @4000000051c6a7a302da954c Use of uninitialized value in lc at > /usr/share/qpsmtpd/plugins/spamassassin line 265. > @4000000051c6a7a302e9f6cc Use of uninitialized value in lc at > /usr/share/qpsmtpd/plugins/spamassassin line 265. > @4000000051c6a7a302ea0284 Use of uninitialized value in lc at > /usr/share/qpsmtpd/plugins/spamassassin line 265. > > Is there something I'm doing wrong? I'm running qpsmtpd-0.84 on Gentoo Linux > (AMD64). > > Regards, > Stuart Longland > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings
