First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 33818
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Georgi Georgiev <chutz@gg3.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 33818 depends on: Show dependency tree
Bug 33818 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-19 05:48 0000
I am running qmail with vpopmail. I also use the smtp authentication for users
connecting from outside to qmail-smtpd and I use vchkpw to check user
passwords. However, vchkpw does not support CRAM authentication and qmail-smtpd
advertizes the AUTHCRAM capability. What happens is that if a user decides to
login using CRAM they are always denied access.

I suggest the following little patch to the qmail ebuild.

--- ./qmail-1.03-r13.ebuild   2003-11-07 05:23:27.000000000 +0900
+++ ./qmail-1.03-r13.ebuild   2003-11-19 22:35:46.000000000 +0900
@@ -6,3 +6,3 @@

-IUSE="ssl"
+IUSE="ssl noauthcram"
 DESCRIPTION="A modern replacement for sendmail which uses maildirs and
includes SSL/TLS, AUTH SMTP, and queue optimization"
@@ -70,2 +70,3 @@
        epatch ${DISTDIR}/qregex-starttls-2way-auth.patch
+       use noauthcram && sed -i -e 's/^#define AUTHCRAM//' ${S}/qmail-smtpd.c

------- Comment #1 From Georgi Georgiev 2003-11-19 05:50:03 0000 -------
Sorry, I submitted an old version.

--- ./qmail-1.03-r13.ebuild   2003-11-07 05:23:27.000000000 +0900
+++ ./qmail-1.03-r13.ebuild     2003-11-19 22:38:35.000000000 +0900
@@ -6,3 +6,3 @@
 
-IUSE="ssl"
+IUSE="ssl noauthcram"
 DESCRIPTION="A modern replacement for sendmail which uses maildirs and includes SSL/TLS, AUTH SMTP, and queue optimization"
@@ -42,2 +42,3 @@
        ssl? ( >=dev-libs/openssl-0.9.6g )
+       noauthcram? ( >=sys-apps/sed-4 )
        >=net-mail/queue-fix-1.4-r1"
@@ -70,2 +71,3 @@
        epatch ${DISTDIR}/qregex-starttls-2way-auth.patch
+       use noauthcram && sed -i -e 's/^#define AUTHCRAM//' ${S}/qmail-smtpd.c
 

------- Comment #2 From Robin Johnson 2003-11-30 00:14:46 0000 -------
coming in -r14

------- Comment #3 From Robin Johnson 2003-11-30 03:34:17 0000 -------
if you are feeling experimental, -r14 is now out. It's hardmasked until I
personally test it some more, but it should work.

First Last Prev Next    No search results available      Search page      Enter new bug