I finally managed to get a test server set up and try out authsqlite and it mostly seems to work except for when it comes to relaying via port 465 with auth. If I use a current server using authmysql then I see this when relaying...
Oct 10 10:20:22 u1 courieresmtpd: started,ip=[::ffff:xx.167.17.51] Oct 10 10:20:23 u1 courieresmtpd: EHLO [xx.xx.xx.202] Oct 10 10:20:23 u1 courieresmtpd: AUTH PLAIN AG1hcmtjQHJlbnRhLm5ldAAxcWF6QFdTWA== Oct 10 10:20:23 u1 authdaemond: received auth request, service=esmtp, authtype=login ... etc Oct 10 10:20:23 u1 courieresmtpd: MAIL FROM:<[email protected]> SIZE=373 Oct 10 10:20:24 u1 courieresmtpd: RCPT TO:<[email protected]> Oct 10 10:20:24 u1 courieresmtpd: DATA when I try the server with authsqlite I see... Oct 10 10:08:10 u2 courieresmtpd: started,ip=[::ffff:xx.167.17.51] Oct 10 10:08:10 u2 courieresmtpd: EHLO [xx.xx.xx.202] Oct 10 10:08:11 u2 courieresmtpd: MAIL FROM:<[email protected]> SIZE=384 Oct 10 10:08:11 u2 courieresmtpd: RCPT TO:<[email protected]> Oct 10 10:08:19 u2 courieresmtpd: error,relay=::ffff:xx.167.17.51,from=<[email protected]>,to=<[email protected]>: 513 Relaying denied. Oct 10 10:08:22 u2 courieresmtpd: QUIT IMAP and local deliveries all work but the above seems to indicate that esmtpd-ssl is not hooking into authsqlite via authdaemon. ~ egrep -v "^(#|$)" authdaemonrc authmodulelist="authsqlite" authmodulelistorig="authuserdb authpam authpwd authshadow authpgsql authldap authmysql authsqlite authcustom authpipe" daemons=5 authdaemonvar=/run/authdaemon DEBUG_LOGIN=2 DEFAULTOPTIONS="" LOGGEROPTS="" ~ egrep -v "^(#|$)" authsqliterc SQLITE_DATABASE /etc/netserva.db SQLITE_USER_TABLE users SQLITE_CLEAR_PWFIELD clear SQLITE_UID_FIELD muid SQLITE_GID_FIELD mgid SQLITE_LOGIN_FIELD uid SQLITE_HOME_FIELD mpath SQLITE_QUOTA_FIELD mquota The fs perms of /etc/netserva.db must be okay otherwise IMAP logins would not be working. ~ egrep -v "^(#|$)" esmtpd PATH=/usr/bin:/bin:/usr/bin:/usr/local/bin SHELL=/bin/sh ULIMIT=16384 BOFHCHECKDNS=1 BOFHNOEXPN=0 BOFHNOVRFY=0 TARPIT=1 NOADDMSGID=1 NOADDDATE=1 ESMTP_LOG_DIALOG=1 AUTH_REQUIRED=0 COURIERTLS=/usr/bin/couriertls TLS_KX_LIST=ALL TLS_COMPRESSION=ALL TLS_CERTS=X509 TLS_CERTFILE=/usr/share/esmtpd.pem TLS_TRUSTCERTS=/etc/ssl/certs/ TLS_VERIFYPEER=NONE MAILUSER=courier MAILGROUP=courier PORT=smtp BLACKLISTS='-block=zen.spamhaus.org,BLOCK -block=cbl.abuseat.org,BLOCK' ACCESSFILE=${sysconfdir}/smtpaccess MAXDAEMONS=40 MAXPERC=5 MAXPERIP=5 PIDFILE=/var/run/courier/esmtpd.pid TCPDOPTS="-stderrlogger=/usr/sbin/courierlogger -nodnslookup -noidentlookup" ESMTPAUTH="" ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256" ESMTPAUTH_TLS="" ESMTPAUTH_TLS_WEBADMIN="PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256" ESMTPDSTART=YES ~ egrep -v "^(#|$)" esmtpd-ssl prefix=/usr exec_prefix=/usr BOFHCHECKDNS=1 BOFHNOEXPN=0 BOFHNOVRFY=0 TARPIT=1 NOADDMSGID=1 NOADDDATE=1 ESMTP_LOG_DIALOG=1 AUTH_REQUIRED=0 SSLPORT=465 SSLADDRESS=0 SSLPIDFILE=/var/run/courier/esmtpd-ssl.pid ESMTPDSSLSTART=YES COURIERTLS=/usr/bin/couriertls TLS_KX_LIST=ALL TLS_COMPRESSION=ALL TLS_CERTS=X509 TLS_CERTFILE=/usr/share/esmtpd.pem TLS_TRUSTCERTS=/etc/ssl/certs/ TLS_VERIFYPEER=NONE MAXDAEMONS=40 MAXPERC=5 MAXPERIP=5 *** Also, fwiw, I still have the problem with gamin and IDLE. I have to install an almost unsupported version of fam 2.7.0 and rpcbind for IDLE to work. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
