diff -ruN courier-imap-1.7.3-orig/authlib/preauthvchkpw.c courier-imap-1.7.3/authlib/preauthvchkpw.c
--- courier-imap-1.7.3-orig/authlib/preauthvchkpw.c	2003-03-12 03:51:27.000000000 +0100
+++ courier-imap-1.7.3/authlib/preauthvchkpw.c	2003-08-06 12:33:00.000000000 +0200
@@ -27,7 +27,7 @@
 static const char rcsid[]="$Id: preauthvchkpw.c,v 1.18 2003/03/12 02:45:55 mrsam Exp $";
 
 
-#undef HAVE_OPEN_SMTP_RELAY
+//#undef HAVE_OPEN_SMTP_RELAY
 /* Disabled, pending fix */
 
 int auth_vchkpw_pre(const char *userid, const char *service,
diff -ruN courier-imap-1.7.3-orig/configure courier-imap-1.7.3/configure
--- courier-imap-1.7.3-orig/configure	2003-05-15 17:10:54.000000000 +0200
+++ courier-imap-1.7.3/configure	2003-08-06 13:03:53.000000000 +0200
@@ -10,6 +10,9 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
+# POP3-BEFORE-SMTP patch
+export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
+
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
