

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
7 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: [courier-anno...| From | Sent On | Attachments |
|---|---|---|
| Sam Varshavchik | Oct 13, 2002 4:47 pm | |
| Brian Candler | Oct 14, 2002 3:56 am | |
| Brian Candler | Oct 14, 2002 7:03 am | |
| David Humphrey | Oct 14, 2002 7:41 am | |
| Brian Candler | Oct 14, 2002 8:00 am | |
| Brian Candler | Oct 15, 2002 1:19 am | |
| David Humphrey | Oct 15, 2002 6:06 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [courier-users] Re: [courier-announce] Courier 20021013.RC1 | Actions... |
|---|---|---|
| From: | David Humphrey (knig...@attbi.com) | |
| Date: | Oct 14, 2002 7:41:43 am | |
| List: | net.sourceforge.lists.courier-users | |
Hmmm... Better apply that patch to the imapd-ssl config. build as well. It has the same problem. I thought it was a substitution that arose with the install script that forgot to grab this ${bindir} and replace it with the configured bindir for the build.
I wonder which is the case?
-Ace
-----Original Message----- From: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net] On Behalf Of Brian Candler Sent: Monday, October 14, 2002 10:04 AM To: Sam Varshavchik Cc: cour...@lists.sourceforge.net Subject: [courier-users] Re: [courier-announce] Courier 20021013.RC1
On Sun, Oct 13, 2002 at 07:47:05PM -0400, Sam Varshavchik wrote:
* POP3 STLS implementation.
I had some trouble getting this to work. I had
POP3_STARTTLS=YES
in my 'pop3d-ssl' file; however, the daemon on port 110 was not accepting it:
--------------------------------------------------------------
------------ capa +OK Here's what I can do: TOP USER LOGIN-DELAY 10 PIPELINING UIDL IMPLEMENTATION Courier Mail Server . stls -ERR TLS support not available.
--------------------------------------------------------------
------------
The problem was revealed by some printf's in have_starttls():
Oct 14 14:39:27 mk-testbox-1 pop3d: POP3_STARTTLS=YES Oct 14 14:39:27 mk-testbox-1 pop3d: COURIERTLS=/couriertls
So, this line in the config file pop3d-ssl isn't working:
COURIERTLS=${bindir}/couriertls
Ah... it's because it's run under 'env' which clears out the inherited environment :-( Adding 'bindir=${bindir}' in pop3d.rc fixes it (see below). The same fix is needed for imapd.rc. This didn't affect port 995/port 993, just STLS/STARTTLS.
There is also a very silly error: CAPA lists "STSL" instead of "STLS" :-)
Regards,
Brian.
--- courier-imap-1.5.3.20021014.RC2/pop3d.rc.in.orig Wed Aug 28 13:32:19 2002 +++ courier-imap-1.5.3.20021014.RC2/pop3d.rc.in Mon Oct 14 14:46:51 2002 @@ -26,7 +26,7 @@ @SETENV@ - ${libexecdir}/authlib/authdaemond start fi
- @SETENV@ - @SHELL@ -c " set -a ; . @sysconfdir@/pop3d ; \ + @SETENV@ - bindir=${bindir} @SHELL@ -c " set -a ; . @sysconfdir@/pop3d +; \ . @sysconfdir@/pop3d-ssl ; \ TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \ export TLS_PROTOCOL ; --- courier-imap-1.5.3.20021014.RC2/imapd.rc.in.orig Mon Oct 14 14:45:53 2002 +++ courier-imap-1.5.3.20021014.RC2/imapd.rc.in Mon Oct 14 14:46:37 2002 @@ -33,7 +33,7 @@ fi
ulimit -d $IMAP_ULIMITD - @SETENV@ - @SHELL@ -c " set -a ; . @sysconfdir@/imapd ; \ + @SETENV@ - bindir=${bindir} @SHELL@ -c " set -a ; . @sysconfdir@/imapd +; \ . @sysconfdir@/imapd-ssl ; \ IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \ TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \ --- courier-imap-1.5.3.20021014.RC2/imap/pop3dcapa.c.orig Wed Aug 28 13:32:19 2002 +++ courier-imap-1.5.3.20021014.RC2/imap/pop3dcapa.c Mon Oct 14 14:52:58 2002 @@ -57,7 +57,7 @@ if (p && *p) printf("SASL %s\r\n", p); if (have_starttls()) - printf("STSL\r\n"); + printf("STLS\r\n");
printf("TOP\r\nUSER\r\nLOGIN-DELAY 10\r\nPIPELINING\r\nUIDL\r\nIMPLEMENTATION Courier Mail Server\r\n.\r\n"); fflush(stdout);
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/c> ourier-users







