RE: [vchkpw] vpopmail with courier-imap and relay

2003-08-24 Thread Jan Lange
Why patch?

doit with Mailfront

for me it works.

I use tcpserver with courier-imap, mailfront-vpopmail-auth-modul und
vpopmail.

Jan

> -Original Message-
> From: Oden Eriksson [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, August 24, 2003 10:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] vpopmail with courier-imap and relay
> 
> 
> söndagen den 24 augusti 2003 21.42 skrev Bård Tommy Nilsen:
> > Hello
> >
> > How can i allow every user that is using IMAP to send mails 
> trough the
> > mailserver ??
> 
> I assume you mean roaming access?
> 
> Read the documentations, annoy Mr. Sam, and/or use the attached patch?
> 
> 




Re: [vchkpw] vpopmail with courier-imap and relay

2003-08-24 Thread Oden Eriksson
söndagen den 24 augusti 2003 21.42 skrev Bård Tommy Nilsen:
> Hello
>
> How can i allow every user that is using IMAP to send mails trough the
> mailserver ??

I assume you mean roaming access?

Read the documentations, annoy Mr. Sam, and/or use the attached patch?

--- authlib/preauthvchkpw.c	2003-03-12 03:51:27.0 +0100
+++ authlib/preauthvchkpw.c.oden	2003-06-09 12:50:17.0 +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,
@@ -63,9 +63,9 @@
 make_user_dir(User, Domain, uid, gid);
 vpw=vauth_getpw(User, Domain);
 }
-#ifdef ENABLE_AUTH_LOGGING
+/* #ifdef ENABLE_AUTH_LOGGING */
 vset_lastauth(User, Domain, service);
-#endif
+/* #endif */
 
 }
 free(usercopy);
@@ -84,19 +84,19 @@
 if ( vpw->pw_gid & NO_POP ) {
 return(-1);
 } else {
-#ifdef HAVE_OPEN_SMTP_RELAY
+/* #ifdef HAVE_OPEN_SMTP_RELAY */
 /* open the relay to pop users */
 open_smtp_relay();
-#endif
+/* #endif */
 }
 } else if ( strcmp("imap", service) == 0 ) {
 if ( vpw->pw_gid & NO_IMAP ) {
 return(-1);
 } else {
-#ifdef HAVE_OPEN_SMTP_RELAY
+/* #ifdef HAVE_OPEN_SMTP_RELAY */
 /* open the relay to imap users */
 open_smtp_relay();
-#endif
+/* #endif */
 }
 }