The qpopper list archive ending on 4 Dec 2000


Topics covered in this issue include:

  1. Re: Logging ?
       Randall Gellens <randy at qualcomm dot com>
       Sun, 19 Nov 2000 14:41:57 -0800
  2. How do I disable DNS lookup (ERRORS) at run-time?
       Jack Sasportas <jack at innovativeinternet dot com>
       Mon, 20 Nov 2000 21:25:42 -0500
  3. Logging
       Jack Sasportas <jack at innovativeinternet dot com>
       Mon, 20 Nov 2000 21:42:22 -0500
  4. Re: poppassd w/shadow and/or APOP support?
       Robert Dege <rcd at amherst dot com>
       Mon, 20 Nov 2000 10:02:06 -0500
  5. Using APOP
       Roger Walker <rosco at rope dot net>
       Mon, 20 Nov 2000 12:41:03 -0700 (MST)
  6. Re: How do I disable DNS lookup (ERRORS) at run-time?
       Alan Brown <alan at manawatu.gen dot nz>
       Tue, 21 Nov 2000 10:32:23 +1300 (NZDT)
  7. -ERR Unknown command: "xsender"
       Jack Sasportas <jack at innovativeinternet dot com>
       Mon, 20 Nov 2000 17:53:58 -0500
  8. Re: -ERR Unknown command: "xsender"
       Steven Champeon <schampeo at hesketh dot com>
       Mon, 20 Nov 2000 18:02:23 -0500
  9. Re: -ERR Unknown command: "xsender"
       Qpopper Support <qpopper at qualcomm dot com>
       Mon, 20 Nov 2000 15:11:24 -0800
 10. Re: Logging
       Qpopper Support <qpopper at qualcomm dot com>
       Mon, 20 Nov 2000 15:09:10 -0800
 11. Re: Logging
       Jack Sasportas <jack at innovativeinternet dot com>
       Tue, 21 Nov 2000 09:20:09 -0500
 12. Re: Logging
       Stephen Samuel <samuel at bcgreen dot com>
       Mon, 20 Nov 2000 18:39:13 -0800
 13. Re: Qpopper+DRAC compile problem
       Balgansuren <balgaa at publica.ub.mng dot net>
       Tue, 21 Nov 2000 14:23:45 -0800 (GMT)
 14. Re: poppassd w/shadow and/or APOP support?
       Juergen Georgi <georgi at belwue dot de>
       Tue, 21 Nov 2000 10:05:34 +0100
 15. Qpopper lock problems
       "Rob Hines Jr." <rhines at joboptions dot com>
       Tue, 21 Nov 2000 08:37:38 -0500
 16. Re: Qpopper lock problems
       Qpopper Support <qpopper at qualcomm dot com>
       Tue, 21 Nov 2000 11:49:44 -0800
 17. Re: Logging
       "Kenneth Porter" <shiva at well dot com>
       Tue, 21 Nov 2000 19:40:32 -0800
 18. NTLM authentication
       davep at hmgcc.gov dot uk (DaveP)
       Wed, 22 Nov 2000 12:40:57 +0000
 19. Re: Using APOP
       Michael Heiming <mh at vbag dot de>
       Thu, 23 Nov 2000 13:12:28 +0100
 20. Re: Using APOP
       Roger Walker <rosco at rope dot net>
       Thu, 23 Nov 2000 11:20:53 -0700 (MST)
 21. Re: Using APOP
       Randall Gellens <randy at qualcomm dot com>
       Thu, 23 Nov 2000 10:09:24 -0800
 22. libkrb.so.1 missing from on Solaris 8
       Gary Hall <hall at cs.sfu dot ca>
       Fri, 24 Nov 2000 14:10:57 -0800 (PST)
 23. qpopper help
       "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
       Tue, 28 Nov 2000 22:52:35 -0600
 24. Re: qpopper help
       "Jeremy C. Reed" <reed at wcug.wwu dot edu>
       Tue, 28 Nov 2000 22:03:49 -0800 (PST)
 25. Re: Qpopper lock problems
       Frank Beale <fbbeale at richmond.infi dot net>
       Wed, 29 Nov 2000 01:10:01 -0500
 26. Re: Qpopper lock problems
       Qpopper Support <qpopper at qualcomm dot com>
       Tue, 28 Nov 2000 22:45:18 -0800
 27. qpopper syslog entries
       "Ralf Corterier" <ralf.corterier at topmail dot de>
       Wed, 29 Nov 2000 09:51:58 +0100
 28. Re: qpopper syslog entries
       Qpopper Support <qpopper at qualcomm dot com>
       Wed, 29 Nov 2000 12:01:10 -0800
 29. Re: qpopper syslog entries
       "Kenneth Porter" <shiva at well dot com>
       Wed, 29 Nov 2000 12:03:29 -0800
 30. Re: qpopper syslog entries
       "Matt Garretson" <mattg at assembly.state.ny dot us>
       Wed, 29 Nov 2000 15:16:12 -0500
 31. Qpopper works now
       "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
       Fri, 1 Dec 2000 07:52:34 -0600 
 32. Mailing Lists with Qpopper
       "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
       Fri, 1 Dec 2000 13:04:18 -0600 
 33. Re: Mailing Lists with Qpopper
       Steven Champeon <schampeo at hesketh dot com>
       Fri, 1 Dec 2000 14:23:53 -0500
 34. Qpopper and "xsender"
       "Brian Curtis" <lists at pomfret dot net>
       Fri, 1 Dec 2000 15:21:32 -0500
 35. Re: Qpopper and "xsender"
       "Kenneth Porter" <shiva at well dot com>
       Fri, 01 Dec 2000 12:37:19 -0800
 36. Re: Qpopper and "xsender"
       Steven Champeon <schampeo at hesketh dot com>
       Fri, 1 Dec 2000 15:30:20 -0500
 37. Re: Qpopper and "xsender"
       Scott McDermott <mcdermot at questra dot com>
       Fri, 1 Dec 2000 15:30:46 -0500
 38. qpopper on 2036 - flag --with-log-device
       hypnose at t-online dot de (guenter wessling)
       Fri, 01 Dec 2000 22:04:05 +0100
 39. Re: Qpopper and "xsender"
       "Brian Curtis" <lists at pomfret dot net>
       Fri, 1 Dec 2000 19:26:06 -0500
 40. Problems with log file
       "Marc Jacquard" <marcj at fujitsu dot com>
       Fri, 1 Dec 2000 16:55:21 -1000
 41. MAC difficulty
       "Gian-Carlo Baldarelli" <gbalda at glomanet dot com>
       Sat, 2 Dec 2000 09:30:19 +0100
 42. RE: MAC difficulty
       "InvictaNet Customer Support" <support at invictanet.co dot uk>
       Sat, 2 Dec 2000 09:59:00 -0000
 43. RE: MAC difficulty
       "InvictaNet Customer Support" <support at invictanet.co dot uk>
       Sat, 2 Dec 2000 11:52:10 -0000
 44. Re: MAC difficulty
       john <john at elehost dot com>
       Sat, 02 Dec 2000 09:36:58 -0500
 45. RE: MAC difficulty
       john <john at elehost dot com>
       Sat, 02 Dec 2000 14:14:00 -0500
 46. RE: MAC difficulty
       "InvictaNet Customer Support" <support at invictanet.co dot uk>
       Sat, 2 Dec 2000 17:13:56 -0000
 47. Please educate me  :)
       "Lisa Casey" <lisa at jellico dot com>
       Mon, 4 Dec 2000 11:48:03 -0500
 48. Re: Please educate me  :)
       Fergal Daly <fergal at esatclear dot ie>
       Mon, 4 Dec 2000 17:31:55 +0000
 49. Re: MAC difficulty
       "Erin Jones" <erin at internationalcomputing dot com>
       Mon, 4 Dec 2000 13:12:02 -0500
 50. multiple domains
       "Tom Frey" <tom at udzhome dot de>
       Mon, 4 Dec 2000 23:48:50 +0100

Date: Sun, 19 Nov 2000 14:41:57 -0800
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Logging ?

At 7:05 PM -0500 11/18/00, Jack Sasportas wrote:

>  Where can I set what file the logging is going to for pop activity ?
>  I thought in the syslog file was the only thing needed to be set.
>
>  Thanks

By default Qpopper uses either local0 or mail, depending on your 
system.  You can override this by using the '--with-log-facility' 
flag with ./configure.

Date: Mon, 20 Nov 2000 21:25:42 -0500
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: How do I disable DNS lookup (ERRORS) at run-time?

I know I can disable reverse lookups liks so "pop3 tcp
/usr/local/lib/qpopper qpopper -sR" , but I want to keep the reverse
lookups, I just don't want an error message when it fails, simply don't
give me the reverse name of the ip number.
Is there a way to do this ?


Also when a reverse lookup is done, and 5 minutes later another reverse
is done does it do a full query again, or does it respond from cache so
to speak?
is this also true if it's not found?
In other words are we causing a ton of requests to get the same failure
100 times a day?

Thanks !!!

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Mon, 20 Nov 2000 21:42:22 -0500
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Logging

Before I ask my question, first I have to understand the proper source.
Is qpopper responsable for the information that gets logged in the
maillog, or is the logging program?

I ask because I want to change the format of the information put into
the log file in order to make it easier to read, and I'm not sure if
that's in a config file, code, logging program, or what..

Any help is greatly appreciated...

Sample
Current Log Entry:
Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo 0 0 1 525
63.86.46.148 63.86.46.148

Proposed:
Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo - 0 0 1 - 525
-  [3.86.46.148]  [63.86.46.148]


___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Mon, 20 Nov 2000 10:02:06 -0500
From: Robert Dege <rcd at amherst dot com>
Subject: Re: poppassd w/shadow and/or APOP support?

This is a multi-part message in MIME format.
--------------99412C805852856F58C2F23B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I just installed poppassd this past Friday on 2 of our mail servers. 
Both use shadow passwords & are running RedHat Linux 6.x  I used the
2.2.17 kernel headers when compiling this program.

It supports the shadow files, and even has builtin requirements for the
sumitted password (can't be dictionary based, and can't be too short).

Hope this helps

-Rob

> I know this comes up every so often, but so far searching at google.com
> hasn't been very fruitful - found lots of requests but few answers.
> 
> Does anyone here have a version of poppassd that runs under Linux, has
> support for shadow passwords and/or APOP auth (based on whether the user
> is listed in the pop.auth file)? If not, I'll hack my own, but I'd much
> rather start with a good base if possible. Everything I've found is
> six or seven years old, or doesn't support shaodw, or doesn't support
> APOP - I'd like to be able to use either.
> 
> Thanks,
> Steve
> 
> PS: Qualcomm, there is no such thing as "Linux 7", but the references
> to it are peppered throughout your FAQ and INSTALL documentation.
> 
> --
> tired of being an underappreciated functionary in a soulless machine?
> hesketh.com is hiring: http://www.hesketh.com/careers/
--------------99412C805852856F58C2F23B
Content-Type: text/plain; charset=us-ascii;
 name="poppassd.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="poppassd.c"

/*
 * poppassd.c
 *
 * A Eudora and NUPOP change password server.
 *
 * John Norstad
 * Academic Computing and Network Services
 * Northwestern University
 * j-norstad at nwu dot edu
 *
 * Based on earlier versions by Roy Smith <roy at nyu dot edu> and Daniel
 * L. Leavitt <dll.mitre.org>.
 * 
 * Doesn't actually change any passwords itself.  It simply listens for
 * incoming requests, gathers the required information (user name, old
 * password, new password) and executes /bin/passwd, talking to it over
 * a pseudo-terminal pair.  The advantage of this is that we don't need
 * to have any knowledge of either the password file format (which may
 * include dbx files that need to be rebuilt) or of any file locking
 * protocol /bin/passwd and cohorts may use (and which isn't documented).
 *
 * The current version has been tested at NU under SunOS release 4.1.2 
 * and 4.1.3, and under HP-UX 8.02 and 9.01. We have tested the server 
 * with both Eudora 1.3.1 and NUPOP 2.0.
 *
 * Other sites report that this version also works under AIX and NIS,
 * and with PC Eudora.
 *
 * Note that unencrypted passwords are transmitted over the network.  If
 * this bothers you, think hard about whether you want to implement the
 * password changing feature.  On the other hand, it's no worse than what
 * happens when you run /bin/passwd while connected via telnet or rlogin.
 * Well, maybe it is, since the use of a dedicated port makes it slightly
 * easier for a network snooper to snarf passwords off the wire.
 *
 * NOTE: In addition to the security issue outlined in the above paragraph,
 * you should be aware that this program is going to be run as root by
 * ordinary users and it mucks around with the password file.  This should
 * set alarms off in your head.  I think I've devised a pretty foolproof
 * way to ensure that security is maintained, but I'm no security expert and
 * you would be a fool to install this without first reading the code and
 * ensuring yourself that what I consider safe is good enough for you.  If
 * something goes wrong, it's your fault, not mine.
 *
 * The front-end code (which talks to the client) is directly 
 * descended from Leavitt's original version.  The back-end pseudo-tty stuff 
 * (which talks to /bin/password) is directly descended from Smith's
 * version, with changes for SunOS and HP-UX by Norstad (with help from
 * sample code in "Advanced Programming in the UNIX Environment"
 * by W. Richard Stevens). The code to report /bin/passwd error messages
 * back to the client in the final 500 response, and a new version of the
 * code to find the next free pty, is by Norstad.
 *        
 * Should be owned by root, and executable only by root.  It can be started
 * with an entry in /etc/inetd.conf such as the following:
 *
 * poppassd stream tcp nowait root /usr/local/bin/poppassd poppassd
 * 
 * and in /etc/services:
 * 
 * poppassd	106/tcp
 *
 * Logs to the local2 facility. Should have an entry in /etc/syslog.conf
 * like the following:
 *
 * local2.err	/var/adm/poppassd-log
 */
 
/* Modification history.
 *
 * 06/09/93. Version 1.0.
 *
 * 06/29/93. Version 1.1.
 * Include program name 'poppassd' and version number in initial 
 *    hello message.
 * Case insensitive command keywords (user, pass, newpass, quit).
 *    Fixes problem reported by Raoul Schaffner with PC Eudora.
 * Read 'quit' command from client instead of just terminating after 
 *    password change.
 * Add new code for NIS support (contributed by Max Caines).
 *
 * 08/31/93. Version 1.2.
 * Generalized the expected string matching to solve several problems
 *    with NIS and AIX. The new "*" character in pattern strings
 *    matches any sequence of 0 or more characters.
 * Fix an error in the "getemess" function which could cause the
 *    program to hang if more than one string was defined in the
 *    P2 array.

 * 6/4/20000 version 1.6a
 *  Updated Code to use PIPES, and also added save passwd output to file.
 */

/* Steve Dorner's description of the simple protocol:
 *
 * The server's responses should be like an FTP server's responses; 
 * 1xx for in progress, 2xx for success, 3xx for more information
 * needed, 4xx for temporary failure, and 5xx for permanent failure.  
 * Putting it all together, here's a sample conversation:
 *
 *   S: 200 machine_name popassd v1.4 hello, who are you?\r\n
 *   E: user yourloginname\r\n
 *   S: 200 your password please.
 *   E: pass yourcurrentpassword\r\n
 *   S: 200 your new password please.\r\n
 *   E: newpass yournewpassword\r\n
 *   200 Password changed, thank-you.\r\n
 *   E: quit\r\n
 *   S: 200 Bye-bye\r\n
 *   S: <closes connection>
 *   E: <closes connection>
 */

#define HAS_SHADOW
#define FRED 
/* #define AIX */
#define RED_HAT_LINUX_6_0
/* #define BSD_2_1 */


 
#define VERSION "1.6a"

#define SUCCESS 1
#define FAILURE 0
#define BUFSIZE 512

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include <syslog.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <strings.h>
#include <errno.h>
#include <stdarg.h>
#include <pwd.h>
#include <string.h>
#include <termios.h>
#include <dirent.h>
#ifndef BSD_2_1
#ifndef AIX
#	include <getopt.h>
#endif
#endif

#ifdef HAS_SHADOW
#	include <shadow.h>
/*#	include <shadow/pwauth.h> */
#	ifndef PW_PPP
#		define PW_PPP PW_LOGIN
#	endif

#	ifndef RED_HAT_LINUX_6_0
		char *pw_encrypt (char *, char *);	/* To permit long shadow passwords */
#		define crypt pw_encrypt		/* for short passwords as well.    */
#	endif

#endif

/*
 * Prototypes
 */

int main (int argc, char *argv[]);
int process(int *ToChild, int *FromChild);
int dochild (char *slavedev, char *user);
int findpty (char **slave);
void writestring (int fd, char *s);
char *talktochild ( int master_read, int master_write, char *user, char *oldpass, 
					char *newpass, char *emess);
int match (char *str, char *pat);
char *expect (int master, char **expected, char *buf);
int getemess (int master, char **expected, char *buf);
void WriteToClient (char *fmt, ...);
void ReadFromClient (char *line);
int chkPass (char *user, char *pass, struct passwd *pw);

/* Prompt strings expected from the "passwd" command. If you want
 * to port this program to yet another flavor of UNIX, you may need to add
 * more prompt strings here.
 *
 * Each prompt is defined as an array of pointers to alternate 
 * strings, terminated by an empty string. In the strings, '*'
 * matches any sequence of 0 or more characters. Pattern matching
 * is forced to lower case so enter only lower case letters.
 */

static char *P1[] =
   {
	 "password: ",
     "changing password for *\nenter old password: ",
#if 0
     "changing nis password for * on *.\nold password: ",
#endif     
	 "changing local password for *",				/* BSD v2.1 */
	 ""
   };

static char *P2[] =
   {
	 "Error changing password for *\nchanging password for *",	
						/* IBM's AIX 4.3.3. */
	 "new password:",
	 "new unix password:",
	 "changing password for *\nenter new password:",/* Cobalt Linux 4.0 (mips) */
	 "changing password for *\nnew unix password: ",/* Red Hat Linux 6.0 */
	 "changing password for *\nnew unix password:",	/* RedHat Linux 5.2 */
	 "changing password for *\n*'s new password:",	/* IBM's AIX 4.2.1. */
     "enter new password:",							/* non-shadow passwords */
     "changing password for *\nnew password:",		/* shadow passwords     */
	 "New password (8 significant characters):",	/* BSD v2.1 */
	 ""
   };

/* New password (8 significant characters):
Please don't use an all-lower case password.
Unusual capitalization, control charactersor digits are suggested.
New password (8 significant characters):*/

static char *P3[] =
   {
	 "new password (again):",
	 "retype new unix password:",		/* RedHat Linux 5.2 */
	 "re-enter *'s new password:",		/* IBM's AIX 4.2.1. */
     "re-type new password:",			/* non-shadow passwords	*/
     "re-enter new password:",			/* shadow passwords	*/
	 "retype new password:",			/* BSD v2.1 */
     ""
   };

static char *P4[] =
   {
     "password changed",
     "nis entry changed on *",
	 "passwd: all authentication tokens updated successfully",	/* RedHat Linux 5.2 + 6.0 */
	 "passwd:*updating passwd database*passwd:*done*",			/* BSD v2.1 */
     ""
   };

int verbose = 0;
int debug_mode = 0;
FILE *logfile = NULL;
		
struct passwd *pw;
char user[BUFSIZE];

int main (int argc, char *argv[])
{
	int res;
	static int ToChild[2], FromChild[2];
	int i;

/* Check for Args */
	for (i=1;i<argc;i++) {
		switch (*argv[i]) {
			case 'v':
				verbose = 1;
				break;
			case 'd':
				fprintf (stderr, "Debug mode on\n");
				debug_mode = 1;
			/*	verbose = 1; */
				break;
			case 'l':
				fprintf (stderr, "Lower Debug mode on\n");
				debug_mode = -1;
			/*	verbose = 1; */
				break;
			case 'f':
				logfile = fopen("temp.log","wb");
				break;

			default:
				fprintf (stderr, "invalid option {%s}\n", argv[i]);
				exit (1);
		}
	}
	

/* Setup input/output to child using pipes. */
/* **************************************** */
	if (pipe(ToChild) != 0 || pipe(FromChild) != 0) {
		WriteToClient("500 Can't create pipes. {%s}",strerror(errno));
		return 1;
	}
	else if (debug_mode > 0) {
		printf("Pipe 1: {%d/%d}\n",ToChild[0],ToChild[1]);
		printf("Pipe 2: {%d/%d}\n",FromChild[0],FromChild[1]);
	}


	res = process(ToChild,FromChild);

/* Close Pipes */
	close(ToChild[0]);
	close(ToChild[1]);
	close(FromChild[0]);
	close(FromChild[1]);

	if (logfile)
		fclose(logfile);
	return res;
}

int process(int *ToChild, int *FromChild)
{
/* PIPE stuff*/
	char *error_str;
	char line[BUFSIZE];
	char oldpass[BUFSIZE];
	char newpass[BUFSIZE];
	char emess[BUFSIZE];
	char *slavedev = NULL;
	int c; 
/*	int master; */
	pid_t pid, wpid;
	int wstat;

#ifdef HAS_SHADOW
    struct spwd *spwd;
    struct spwd *getspnam();
#endif

	*user    =
	*oldpass =
	*newpass = 0;

	openlog ("poppassd", LOG_PID, LOG_LOCAL2);

	gethostname(line, sizeof (line));
	WriteToClient ("200 %s poppassd v%s hello, who are you?", line, VERSION);

	ReadFromClient (line);
	sscanf (line, "user %s", user) ;
	if (strlen (user) == 0) {
		WriteToClient ("500 Username required.");
		return(1);
	}

	WriteToClient ("200 your password please.");
	ReadFromClient (line);
	sscanf (line, "pass %s", oldpass) ;

	if (strlen (oldpass) == 0) {
		WriteToClient ("500 Password required.");
		return(1);
	}

	if ((pw = getpwnam (user)) == NULL) {
		WriteToClient ("500 Invalid user or password");
		return(1);
	}

#ifdef HAS_SHADOW
    if ((spwd = getspnam(user)) == NULL)
	  pw->pw_passwd = "";
    else
	  pw->pw_passwd = spwd->sp_pwdp;
#endif

	if (chkPass (user, oldpass, pw) == FAILURE) {    
		sleep(3);
		WriteToClient ("500 Invalid user or password");
		return(1);
	}


	WriteToClient ("200 your new password please.");
	ReadFromClient (line);
	sscanf (line, "newpass %s", newpass);
     
	/* new pass required */
	if (strlen (newpass) == 0) {
		WriteToClient ("500 New password required.");
		return(1);
	}

    /* fork child process to talk to password program */
	if ((pid = fork()) < 0)     /* Error, can't fork */
	{
		syslog (LOG_ERR, "can't fork for passwd: %m");
		WriteToClient ("500 Server error (can't fork passwd), get help!");
		return (1);
	}

	if (pid)   /* Parent */
	{
		error_str = talktochild (FromChild[0], ToChild[1], user, oldpass, newpass, emess);
		if ( error_str ) {

			if (debug_mode > 0) {
				if (*emess == '\0')
					printf("Password Failed {%s}\n",error_str);
				else
					printf("Password Failed {%s}\n",emess);
			}

			syslog (LOG_ERR, "failed attempt by %s", user);
			if (*emess == '\0')
				WriteToClient ("500 '%s'.",error_str );
			else 
				WriteToClient ("500 '%s'", emess);			
			return(1);
		}

		if (debug_mode  > 0) 
			printf("Finished Talking to Child\n");
#ifndef BSD_2_1
		if ((wpid = waitpid (pid, &wstat, 0)) < 0) {
			syslog (LOG_ERR, "wait for /bin/passwd child failed: %m");
			WriteToClient ("500 Server error (wait failed), get help!");
			return (1);
		}

		if (debug_mode > 0) 
			printf("Checking Child Process ID\n");

		if (pid != wpid) {
			syslog (LOG_ERR, "wrong child (/bin/passwd waited for!");
			WriteToClient ("500 Server error (wrong child), get help!");
			return (1);
		}

		if (WIFEXITED (wstat) == 0) {
			syslog (LOG_ERR, "child (/bin/passwd) killed?");
			WriteToClient ("500 Server error (funny wstat), get help!");
			return (1);
		}

		if (WEXITSTATUS (wstat) != 0) {
			syslog (LOG_ERR, "child (/bin/passwd) exited abnormally");
			WriteToClient ("500 Server error (abnormal exit), get help!");
			return (1);
		}
#endif
		if (debug_mode > 0)
			printf("Child Process has finished\n");

		syslog (LOG_ERR, "password changed for %s", user);
		WriteToClient ("200 Password changed, thank-you.");

		ReadFromClient (line);
		if (strncmp(line, "quit", 4) != 0) {
			WriteToClient("500 Quit required.");
			return (1);
		}

		WriteToClient("200 Bye.");
		return (0);
	}
	else      /* Child */
	{
	/* Setup Child input/output */
		dup2(ToChild[0],STDIN_FILENO);
	/*	dup2(FromChild[1],STDOUT_FILENO); */
		dup2(FromChild[1],STDERR_FILENO); 

		dochild (slavedev, user);
	}
}

/*
 * dochild
 *
 * Do child stuff - set up slave pty and execl /bin/passwd.
 *
 * Code adapted from "Advanced Programming in the UNIX Environment"
 * by W. Richard Stevens.
 *
 */

int dochild (char *slavedev, char *user)
{
   int slave;
   struct termios stermios;

   /* Start new session - gets rid of controlling terminal. */
   
   if (setsid() < 0) {
      syslog(LOG_ERR, "setsid failed: %m");
      return(0);
   }

   /* Do some simple changes to ensure that the daemon does not mess */
   /* things up. */
  
   if (!debug_mode)
		chdir ("/");
   umask (0);

/*
 * Shadow password suite looks the user in the login database. Since
 * poppassd does not 'login', it will fail. So, cheat. Keep root status
 * and pass the user on the command line.
 */

   if (debug_mode > 0)
		execl("./dummy",				"dummy", user, (char*)0);


#ifdef HAS_SHADOW
   execl("/bin/passwd",     "passwd", user, (char*)0);
   execl("/usr/bin/passwd", "passwd", user, (char*)0);
#else

#ifdef FRED
   execl("/bin/passwd",     "passwd", user, (char*)0);
   execl("/usr/bin/passwd", "passwd", user, (char*)0);
#else

/*
 * Without the shadow password suite, the standard password program
 * looks at the uid for the user. Become the user and don't pass it
 * on the command line.
 */
   setregid (pw->pw_gid, pw->pw_gid);
   setreuid (pw->pw_uid, pw->pw_uid);

   execl("/bin/passwd",     "passwd",       (char*)0);
   execl("/usr/bin/passwd", "passwd",       (char*)0);
#endif
#endif

   syslog(LOG_ERR, "can't exec /bin/passwd: %m");
   return(0);
}


/*
 * findpty()
 *
 * Finds the first available pseudo-terminal master/slave pair.  The master
 * side is opened and a fd returned as the function value.  A pointer to the
 * name of the slave side (i.e. "/dev/ttyp0") is returned in the argument,
 * which should be a char**.  The name itself is stored in a static buffer.
 *
 * A negative value is returned on any sort of error.
 *
 * Modified by Norstad to remove assumptions about number of pty's allocated
 * on this UNIX box.
 */

int findpty (char **slave)
{
   int master;
   static char line[] = "/dev/ptyXX";
   DIR *dirp;
   struct dirent *dp;

   dirp = opendir("/dev");
   while ((dp = readdir(dirp)) != NULL) {
      if (strncmp(dp->d_name, "pty", 3) == 0 && strlen(dp->d_name) == 5) {
         line[8] = dp->d_name[3];
         line[9] = dp->d_name[4];
         if ((master = open(line, O_RDWR)) >= 0) {
            line[5] = 't';
            *slave = line;
            closedir(dirp);
            return (master);
         }
      }
   }
   closedir(dirp);
   return (-1);
}

/*
 * writestring()
 *
 * Write a string in a single write() system call.
 */
void writestring (int fd, char *s)
{
     int l;

     l = strlen (s);
     write (fd, s, l);
     if (verbose)
         syslog(LOG_DEBUG, "write: %s", s);
}

/*
 * talktochild()
 *
 * Handles the conversation between the parent and child (password program)
 * processes.
 *
 * Returns SUCCESS is the conversation is completed without any problems,
 * FAILURE if any errors are encountered (in which case, it can be assumed
 * that the password wasn't changed).
 */
char *talktochild ( int master_read, int master_write, char *user, char *oldpass, char *newpass,
					char *emess)
{
	char *error_str;
	static char buf[BUFSIZE];
	char pswd[BUFSIZE+1];
	int m, n;
		
	*emess = 0;

#ifndef HAS_SHADOW
#ifndef FRED
	 if (debug_mode)
		printf("Stage 1.\n");
	 if (logfile) {
		 fprintf(logfile,"Stage 1.\n");
		 fflush(logfile);
	 }

	 error_str = expect(master_read, P1, buf);
     if (error_str) return error_str;

     sprintf(pswd, "%s\n", oldpass);
     writestring(master_write, pswd);
#endif 
#endif

 	 if (debug_mode)
		printf("Stage 2.\n");
	 if (logfile) {
		 fprintf(logfile,"Stage 2.\n");
		 fflush(logfile);
	 }

	 error_str = expect(master_read, P2, buf);
     if (error_str) return error_str;

	 
	 if (debug_mode > 0)
		printf("Sending New Password...");

	 sprintf(pswd, "%s\n", newpass);
     writestring(master_write, pswd);

	 if (debug_mode > 0)
		printf("done\n");
	 
	 if (debug_mode)
		printf("Stage 3.\n");
	 if (logfile) {
		 fprintf(logfile,"Stage 3.\n");
		 fflush(logfile);
	 }

	 error_str = expect(master_read, P3, buf);
     if (error_str) {
		 int OK = 0;
#ifdef BSD_2_1
		char **s = P2, *p = error_str;

		if (debug_mode)
			printf("Checking Stage 2 again.\n");
		if (logfile) {
			fprintf(logfile,"Checking Stage 2 again.\n");
			fflush(logfile);
		}

		for (s = P2; **s != 0; s++) {

			if (debug_mode > 0)
				printf(" '%s'=='%s'??\n",p,*s);
			if (logfile) {
				fprintf(logfile," '%s'=='%s'??\n",p,*s);
				fflush(logfile);
			}

			switch (match(p, *s)) {
				case 2:
					if (verbose)
						syslog (LOG_DEBUG, "expect: succes\n");
					OK = 1;
			}
		}

		if (!OK) {
			if (debug_mode)
				printf("Stage 3 FAILED. {%s}\n",buf);
		   /* getemess(master_read, P2, buf); */
			if (logfile) {
				 fprintf(logfile,"Stage 3 FAILED. {%s}\n",buf);
				 fflush(logfile);
			}
		
			strcpy(emess, buf);
			return error_str;
		}
		else {
			if (debug_mode > 0)
				printf("Sending New Password...");

			writestring(master_write, pswd);
		 
			if (debug_mode > 0)
				printf("done\n");

			error_str = expect(master_read, P3, buf);
			if (error_str)
				OK = 1;
		}
#endif
		if (!OK) {
			if (debug_mode)
				printf("Stage 3 FAILED. {%s}\n",buf);
		   /* getemess(master_read, P2, buf); */
			if (logfile) {
				 fprintf(logfile,"Stage 3 FAILED. {%s}\n",buf);
				 fflush(logfile);
			}
		
			strcpy(emess, buf);
			return error_str;
		}
		
     }

	 if (debug_mode > 0)
		printf("Sending New Password...");

     writestring(master_write, pswd);
	 
	 if (debug_mode > 0)
		printf("done\n");
	 
#ifndef HAS_SHADOW  /* shadow prints no success message :( */
#ifndef AIX			/* AIX prints no success message :( */
	 error_str = expect(master_read, P4, buf);
     if (error_str) return error_str;
#endif
#endif

#ifdef RED_HAT_LINUX_6_0
	 error_str = expect(master_read, P4, buf);
     if (error_str) return error_str;
#endif

	 if (logfile) {
		 fprintf(logfile,"Finished.\n");
		 fflush(logfile);
	 }
     return NULL;
}

/*
 * match ()
 *
 * Matches a string against a pattern. Wild-card characters '*' in
 * the pattern match any sequence of 0 or more characters in the string.
 * The match is case-insensitive.
 *
 * Entry: str = string.
 *        pat = pattern.
 *
 * Exit:  function result =
 *		0 if no match.
 *		1 if the string matches some initial segment of
 *		  the pattern.
 *		2 if the string matches the full pattern.
 */

#define	NO_MATCH		0
#define	PART_MATCH		1
#define	MATCH			2

int match(char *text, char *p)
{
    register int	last;
    register int	matched;
    register int	reverse;

    for ( ; *p; text++, p++) {
		if (*text == '\0' && *p != '*')
			return PART_MATCH;
		switch (*p) {
			case '\n':
			case '\r':
				text--;
				continue;
			default:
				if (tolower(*text) != tolower(*p))
					return NO_MATCH;
				continue;
			case '?':
				/* Match anything. */
				continue;
			case '*':
				while (*++p == '*')
					/* Consecutive stars act just like one. */
					continue;
				if (*p == '\0')
					/* Trailing star matches everything. */
					return MATCH;
				while (*text)
					if ((matched = match(text++, p)) != NO_MATCH)
						return matched;
				return PART_MATCH;
		}
    }
	if (*text == '\0')
		return MATCH;
	return PART_MATCH;
}


/*
 * expect ()
 *
 * Reads 'passwd' command output and compares it to expected output.
 *
 * Entry: master = fid of master pty.
 *	  expected = pointer to array of pointers to alternate expected
 *            strings, terminated by an empty string.
 *        buf = pointer to buffer.
 *
 * Exit:  function result = SUCCESS if output matched, FAILURE if not.
 *        buf = the text read from the slave.
 *
 * Text is read from the slave and accumulated in buf. As long as
 * the text accumulated so far is an initial segment of at least 
 * one of the expected strings, the function continues the read.
 * As soon as one of full expected strings has been read, the
 * function returns SUCCESS. As soon as the text accumulated so far
 * is not an initial segment of or exact match for at least one of 
 * the expected strings, the function returns FAILURE.
 */

char *expect (int master_read, char **expected, char *buf)
{
	char *error_str;

	int n, m, count = 0;
	char **s;
	char *p;
	int initialSegment = 0;
     
	errno = 0;
	buf[0] = 0;
	while (1) {
		n = strlen (buf);
     	if (n >= BUFSIZE-1) {
			syslog(LOG_ERR, "buffer overflow on read from child");
			return buf;
		}

		if (debug_mode > 0)
			printf("Reading from 'passwd'\n");
		if (logfile) {
			 fprintf(logfile,"Reading from 'passwd'\n");
			 fflush(logfile);
		}
		
		m = read (master_read, &buf[n], BUFSIZ-1-n);
		if (debug_mode > 0)
			printf("Read %d bytes\n",m);
		if (logfile) {
			 fprintf(logfile,"Read %d bytes\n",m);
			 fflush(logfile);
		}

		if (m < 0) {
			if (debug_mode > 0)
				printf("Error Reading %s\n",strerror(errno));
			if (logfile) {
				 fprintf(logfile,"Error Reading %s\n",strerror(errno));
				 fflush(logfile);
			}
			syslog(LOG_ERR, "read error from child: %m");
			return buf;
		}
		buf[n+m] = '\0';

	/* remove '\r' and '\n' and ' ' (spaces)*/
		p = &buf[n] + strlen(&buf[n]) - 1;
		while (*p == '\r' || *p == '\n' || (*p == ' ' && !initialSegment)) p--;
		*++p = '\0';

		if (verbose)
			syslog (LOG_DEBUG, "read: %s\n", &buf[n]);
		if (debug_mode > 0)
			printf("read: '%s'\n", buf);
		if (logfile) {
			 fprintf(logfile,"read: '%s'\n", buf);
			 fflush(logfile);
		}

	/* Ignore leading whitespace. It gets in the way. */
		p = buf;
		while (isspace (*p))
			++p;

		if (*p == '\0') {
			count++;
			if (count == 100)
				return "Failed to read any data from passwd";
			continue;
		}

		initialSegment = 0;
		for (s = expected; **s != 0; s++) {

			if (debug_mode > 0)
				printf(" '%s'=='%s'??\n",p,*s);
			if (logfile) {
				 fprintf(logfile," '%s'=='%s'??\n",p,*s);
				 fflush(logfile);
			}

			switch (match(p, *s)) {
				case 2:
					if (verbose)
						syslog (LOG_DEBUG, "expect: succes\n");
					if (debug_mode > 0)
						printf("    - Located Match (%s)\n",p);
					return NULL;
				case 1:
					initialSegment = 1;
				default:
					break;
			}
		}

		if (!initialSegment) {
			if (verbose)
				syslog (LOG_DEBUG, "expect: failure\n");
			if (debug_mode > 0)
				printf("    - Failed to Match\n");
			return buf;
		}
	}     
}

/*
 * getemess()
 *
 * This function accumulates a 'passwd' command error message issued
 * after the first copy of the password has been sent.
 *
 * Entry: master = fid of master pty.
 *	  expected = pointer to array of pointers to alternate expected
 *            strings for first password prompt, terminated by an 
 *            empty string.
 *        buf = pointer to buffer containing text read so far.
 *
 * Exit:  buf = the error message read from the slave.
 *
 * Text is read from the slave and accumulated in buf until the text
 * at the end of the buffer is an exact match for one of the expected
 * prompt strings. The expected prompt string is removed from the buffer,
 * returning just the error message text. Newlines in the error message
 * text are replaced by spaces.
 */
int getemess (int master_read, char **expected, char *buf)
{
   int n, m;
   char **s;
   char *p, *q;

   n = strlen(buf);
   while (1) {
      for (s = expected; **s != 0; s++) {
         for (p = buf; *p; p++) {
            if (match(p, *s) == 2) {
               *p = 0;
               for (q = buf; *q; q++) if (*q == '\n') *q = ' ';
               return;
            }
         }
      }
      if (n >= BUFSIZE-1) {
	 syslog(LOG_ERR, "buffer overflow on read from child");
	 return;
      }
      m = read(master_read, buf+n, BUFSIZE+1-n);
      if (m < 0) {
	 syslog(LOG_ERR, "read error from child: %m");
	 return;
      }
      n += m;
      buf[n] = 0;

      if (verbose)
		syslog (LOG_DEBUG, "read: %s\n", buf);
   }
}

void WriteToClient (char *fmt, ...)
{
	va_list ap;
	
	va_start (ap, fmt);
	vfprintf (stdout, fmt, ap);
	fputs ("\r\n", stdout );
	fflush (stdout);
	va_end (ap);
}

void ReadFromClient (char *line)
{
	char *sp;
	int i;

	strcpy (line, "");
	fgets (line, BUFSIZE, stdin);
	if ((sp = strchr(line, '\n')) != NULL) *sp = '\0'; 
	if ((sp = strchr(line, '\r')) != NULL) *sp = '\0'; 
	
	/* convert initial keyword on line to lower case. */
	
	for (sp = line; isalpha(*sp); sp++) *sp = tolower(*sp);
}

#ifndef crypt
	char *crypt(const char *key, const char *salt);
#endif

int chkPass (char *user, char *pass, struct passwd *pw)
{
     /*  Compare the supplied password with the password file entry */
	if (strcmp (crypt (pass, pw->pw_passwd), pw->pw_passwd) != 0)
		return (FAILURE);
	else 
		return (SUCCESS);
}

--------------99412C805852856F58C2F23B--


Date: Mon, 20 Nov 2000 12:41:03 -0700 (MST)
From: Roger Walker <rosco at rope dot net>
Subject: Using APOP

	Actually, I'm not even sure APOP is what I am looking for. I have
the latest version working (after that compile problem with nmdb - thanks
for the help). Now I want to ensure there is some form of encrypted
authentication happening. APOP seems to be what I am looking for, but
there doesn't seem to be any way to use that for Windows Netscape or
Outlook clients.

	Am I mistaken? Is there a practical way to use APOP or something
similar with these clients?

	Thanks.

-- 
Roger Walker                         <http://www.rat-hole.com>
Voice/Fax 1-780-440-2685             <http://www.man-from-linux.com>
"HIS Pain; YOUR Gain"                <http://www.rope.net>
<http://www.rope.net/signature.html>


Date: Tue, 21 Nov 2000 10:32:23 +1300 (NZDT)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: How do I disable DNS lookup (ERRORS) at run-time?

On Mon, 20 Nov 2000, Jack Sasportas wrote:

> Also when a reverse lookup is done, and 5 minutes later another reverse
> is done does it do a full query again, or does it respond from cache so
> to speak?

Bind default is to cache negative hits (failures in real speak) for 5
minutes. After that a new query is made.

AB


Date: Mon, 20 Nov 2000 17:53:58 -0500
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: -ERR Unknown command: "xsender"

Has anyone seen this message before?
Any ideas what I can do to correct the problem ?

Thanks....

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Mon, 20 Nov 2000 18:02:23 -0500
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: -ERR Unknown command: "xsender"

on Mon, Nov 20, 2000 at 05:53:58PM -0500, Jack Sasportas wrote:
> Has anyone seen this message before?
> Any ideas what I can do to correct the problem ?

http://www.eudora.com/qpopper/faq.html#netscape.auth

-- 
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: http://www.hesketh.com/careers/

Date: Mon, 20 Nov 2000 15:11:24 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: -ERR Unknown command: "xsender"

At 5:53 PM -0500 11/20/00, Jack Sasportas wrote:

>  Has anyone seen this message before?
>  Any ideas what I can do to correct the problem ?
>
>  Thanks....
>

This is in the FAQ at <http://www.eudora.com/qpopper/faq.html#netscape.auth>.

Date: Mon, 20 Nov 2000 15:09:10 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Logging

At 9:42 PM -0500 11/20/00, Jack Sasportas wrote:

>  Before I ask my question, first I have to understand the proper source.
>  Is qpopper responsable for the information that gets logged in the
>  maillog, or is the logging program?
>
>  I ask because I want to change the format of the information put into
>  the log file in order to make it easier to read, and I'm not sure if
>  that's in a config file, code, logging program, or what..
>
>  Any help is greatly appreciated...
>
>  Sample
>  Current Log Entry:
>  Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo 0 0 1 525
>  63.86.46.148 63.86.46.148
>
>  Proposed:
>  Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo - 0 0 1 - 525
>  -  [3.86.46.148]  [63.86.46.148]
>

Some of the content is handled by syslog, but most of it comes from 
the application, Qpopper.  Specifically, the addition of hyphens in 
between some elements could be done by Qpopper code.  There are 
currently no configuration elements for this.

Why do the hyphens make it easier?

Date: Tue, 21 Nov 2000 09:20:09 -0500
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Re: Logging

While troubleshooting pop problems we tend to watch or tail the log files, and
in doing so the hyphans or brackets allow you to quickly see the fields per
say of data, this instead of a bunch of numbers where spaces kind of melt
together...

Current:
Nov 20 21:14:32 saturn qpopper[17438]: Stats: kennethb 0 0 2 1695
208.61.159.67 208.61.159.67
Enhanced:
Nov 20 21:14:32 saturn qpopper[17438]: Stats: kennethb 0 0 2 size=1695
[208.61.159.67]  [208.61.159.67]

I have also seen apps to change colors of certain key words so you can lets
say have ERR be red etc.
Basically I beleive the brackets allow you to see what you want quicker and
easily....

Thanks


equivalent qpopper.


Qpopper Support wrote:

> At 9:42 PM -0500 11/20/00, Jack Sasportas wrote:
>
> >  Before I ask my question, first I have to understand the proper source.
> >  Is qpopper responsable for the information that gets logged in the
> >  maillog, or is the logging program?
> >
> >  I ask because I want to change the format of the information put into
> >  the log file in order to make it easier to read, and I'm not sure if
> >  that's in a config file, code, logging program, or what..
> >
> >  Any help is greatly appreciated...
> >
> >  Sample
> >  Current Log Entry:
> >  Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo 0 0 1 525
> >  63.86.46.148 63.86.46.148
> >
> >  Proposed:
> >  Nov 20 09:39:54 saturn qpopper[27423]: Stats: lchiquillo - 0 0 1 - 525
> >  -  [3.86.46.148]  [63.86.46.148]
> >
>
> Some of the content is handled by syslog, but most of it comes from
> the application, Qpopper.  Specifically, the addition of hyphens in
> between some elements could be done by Qpopper code.  There are
> currently no configuration elements for this.
>
> Why do the hyphens make it easier?

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Mon, 20 Nov 2000 18:39:13 -0800
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: Logging

Jack Sasportas wrote:
> 
> Before I ask my question, first I have to understand the proper source.
> Is qpopper responsable for the information that gets logged in the
> maillog, or is the logging program?

To a certain extent the true answer is both, but the bulk of what 
gets written by syslog is designed by  the program calling it...

I.e. Syslog prefixes the date and process number etc. -- up to 
the colon after the PID.
The rest of the line is done by (in this case) qpopper.
Grep for calls to syslog. The code surrounding that should be what 
you're looking for  (without looking at the code). It may be that
the syslog call is made by a subroutine that gets called elswhere
(consistent with the way I remember qpopper doing things). In that
case, you'll be grepping for calls to the wapper subroutine(s).


-- 
Stephen Samuel +1(604)876-0426                samuel at bcgreen dot com
		   http://www.bcgreen.com/~samuel/
Powerful committed communication, reaching through fear, uncertainty and
doubt to touch the jewel within each person and bring it to life.

Date: Tue, 21 Nov 2000 14:23:45 -0800 (GMT)
From: Balgansuren <balgaa at publica.ub.mng dot net>
Subject: Re: Qpopper+DRAC compile problem

Hello,

Currently, DRAC-1.10 normal working on the same machine no problem with
Qpopper-3.0b36. 

But I can't compile with Qpopper-3.1.2. It is interesting and only I
want to upgrade POP3 to Qpopper-3.1.2. I don't know
which RPC libraries used for DRAC. Do you have any information?

I have installed Solaris 7 with necessary libraries.

Any suggestion?

Thanks,
Balgaa

On Sun, 19 Nov 2000, Kenneth Porter wrote:

> On Sat, 18 Nov 2000 17:51:18 -0800 (GMT), Balgansuren wrote:
> 
> >Undefined                       first referenced
> > symbol                             in file
> >xdr_enum                            /usr/local/lib/libdrac.a(drac_xdr.o)
> >clnt_create                         /usr/local/lib/libdrac.a(dracauth.o)
> >clnt_sperror                        /usr/local/lib/libdrac.a(dracauth.o)
> >xdr_u_long                          /usr/local/lib/libdrac.a(drac_xdr.o)
> >clnt_spcreateerror                  /usr/local/lib/libdrac.a(dracauth.o)
> >I had compiled/installed DRAC library suggessfully.
> 
> This is saying that these symbols are missing from your system, so DRAC
> can't link successfully. (It will compile successfully as it doesn't
> need those symbols until link time.) That looks like RPC stuff. Are you
> missing some RPC library? (BTW, XDR is eXternal Data Representation,
> how parameters are portably packaged when used with RPC.)
> 
> Ken
> mailto:shiva at well dot com
> http://www.sewingwitch.com/ken/
> 
> 
> 


Date: Tue, 21 Nov 2000 10:05:34 +0100
From: Juergen Georgi <georgi at belwue dot de>
Subject: Re: poppassd w/shadow and/or APOP support?


--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii

On Fri 2000-11-17 (14:37), Steven Champeon wrote:
> 
> Does anyone here have a version of poppassd that runs under Linux, has
> support for shadow passwords and/or APOP auth (based on whether the user
> is listed in the pop.auth file)? If not, I'll hack my own, but I'd much
> rather start with a good base if possible. Everything I've found is 
> six or seven years old, or doesn't support shaodw, or doesn't support
> APOP - I'd like to be able to use either.

Attached is a poppassd.c I hacked together two years ago, but actually 
never used it in production. It is based on the version 1.2 for solaris
and supports modification of APOP secrets. Use at you own risk.

Regards,

-Juergen

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="poppassd.c"

--YiEDa0DAkWCtVeE4--

Date: Tue, 21 Nov 2000 08:37:38 -0500
From: "Rob Hines Jr." <rhines at joboptions dot com>
Subject: Qpopper lock problems

I have Qpopper 3.1 installed on my system and for the most part it works
wonderfully. I have one user who is having problems. Each time she tries to
log in, she gets multiple warnings:

/home/myusername/myusername.pop lock busy. Is another session active?

Of course I've checked, and there isn't, the permissions on her home dir are
correct, and in every other respect, her account is just like other user
accounts. I'm at a loss as to what else to try.

Any suggestions would be appreciated.

--
Rob Hines Jr.




Date: Tue, 21 Nov 2000 11:49:44 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Qpopper lock problems

At 8:37 AM -0500 11/21/00, Rob Hines Jr. wrote:

>  I have Qpopper 3.1 installed on my system and for the most part it works
>  wonderfully. I have one user who is having problems. Each time she tries to
>  log in, she gets multiple warnings:
>
>  /home/myusername/myusername.pop lock busy. Is another session active?
>
>  Of course I've checked, and there isn't, the permissions on her home dir are
>  correct, and in every other respect, her account is just like other user
>  accounts. I'm at a loss as to what else to try.
>
>  Any suggestions would be appreciated.

What does an 'ls -l' on '/home/myusername/myusername.pop' show?

From: "Kenneth Porter" <shiva at well dot com>
Date: Tue, 21 Nov 2000 19:40:32 -0800
Subject: Re: Logging

On Tue, 21 Nov 2000 09:20:09 -0500, Jack Sasportas wrote:

>While troubleshooting pop problems we tend to watch or tail the log files, and
>in doing so the hyphans or brackets allow you to quickly see the fields per
>say of data, this instead of a bunch of numbers where spaces kind of melt
>together...

Rather than modify qpopper, I'd recommend piping the tail output
through an awk or Perl script. You could use awk with a printf to put
the numbers in fixed-width fields, making them line up better in
columns.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/



Date: Wed, 22 Nov 2000 12:40:57 +0000
From: davep at hmgcc.gov dot uk (DaveP)
Subject: NTLM authentication

Has anyone looked at providing NTLM authentication (as used by Outlook
and friends) in Qpopper?

Dave

Date: Thu, 23 Nov 2000 13:12:28 +0100
From: Michael Heiming <mh at vbag dot de>
Subject: Re: Using APOP

Hello,

I'm using qpopper (V 3.0.2) and it runs like a champ...:-)

You must ensure to have a client that supports APOP authentication,
like Pegasus for WIN, and you have to enable it of course...

If you compiled qpopper with APOP support, you just need to set his pwd
with popauth .... and it  works, but only with APOP if the users pwd is set
in
ex. /etc/pop.auth, normal POP3 pwd will not be recognized!

I don't know if Outlook/Netscape (WIN) supports it....NS-Mail that comes
with
Crashicator (Linux) does not support APOP...but fetchmail does...:-)

Roger Walker wrote:

>         Actually, I'm not even sure APOP is what I am looking for. I have
> the latest version working (after that compile problem with nmdb - thanks
> for the help). Now I want to ensure there is some form of encrypted
> authentication happening. APOP seems to be what I am looking for, but
> there doesn't seem to be any way to use that for Windows Netscape or
> Outlook clients.
>
>         Am I mistaken? Is there a practical way to use APOP or something
> similar with these clients?
>
>         Thanks.
>
> --
> Roger Walker                         <http://www.rat-hole.com>
> Voice/Fax 1-780-440-2685             <http://www.man-from-linux.com>
> "HIS Pain; YOUR Gain"                <http://www.rope.net>
> <http://www.rope.net/signature.html>

Michael Heiming
Sysadmin

--
       __   __   __     Virtueller Bau-Markt AG
 \  / [__) [__] [ __    Meerbuscher Strasse 64
  \/  [__) |  | [_./    40670 Meerbusch
     www.vbag.de        Michael Heiming (mh at vbag dot de)
Fon: +49 2159 969 300 Fax: +49 2159 969 399




Date: Thu, 23 Nov 2000 11:20:53 -0700 (MST)
From: Roger Walker <rosco at rope dot net>
Subject: Re: Using APOP

On Thu, 23 Nov 2000, Randall Gellens wrote:

> At 1:12 PM +0100 11/23/00, Michael Heiming wrote:
> 
> >  I don't know if Outlook/Netscape (WIN) supports it....NS-Mail that comes
> >  with Crashicator (Linux) does not support APOP...but fetchmail does...:-)
> 
> Eudora supports APOP, of course.  And it's now available for free. 
> <http://www.eudora.com>.
> 
> There is a table that lists which clients support APOP at 
> <http://www.sendmail.org/~ca/email/mel/SASL_ClientRef.html>.

	You know that. I know that. I can tell my clients (and family
members!) that until I'm blue in the face - but they aren't always
convinced to change. I'll work on them :-)

-- 
Roger Walker                         <http://www.rat-hole.com>
Voice/Fax 1-780-440-2685             <http://www.man-from-linux.com>
"HIS Pain; YOUR Gain"                <http://www.rope.net>
<http://www.rope.net/signature.html>


Date: Thu, 23 Nov 2000 10:09:24 -0800
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Using APOP

At 1:12 PM +0100 11/23/00, Michael Heiming wrote:

>  I don't know if Outlook/Netscape (WIN) supports it....NS-Mail that comes
>  with Crashicator (Linux) does not support APOP...but fetchmail does...:-)

Eudora supports APOP, of course.  And it's now available for free. 
<http://www.eudora.com>.

There is a table that lists which clients support APOP at 
<http://www.sendmail.org/~ca/email/mel/SASL_ClientRef.html>.

Date: Fri, 24 Nov 2000 14:10:57 -0800 (PST)
From: Gary Hall <hall at cs.sfu dot ca>
Subject: libkrb.so.1 missing from on Solaris 8

I'm attempting to install qpopper3.0.2 on a Solaris 8 host.

When configured without any Kerberos options enabled, it compiles but
fails to run because it can't find libkrb.so.1.

myhost{hall}104: telnet myhost pop   
Connected to myhost.
Escape character is '^]'.
ld.so.1: qpopper: fatal: libkrb.so.1: open failed: No such file or directory
Connection closed by foreign host.

When configured with --with-kerberos5=/usr/lib/krb5, it fails to compile
because it can't find some necessary include files:

pop_init.c:112: krb5.h: No such file or directory
pop_init.c:113: com_err.h: No such file or directory
pop_init.c:115: kerberosIV/krb.h: No such file or directory
make[1]: *** [pop_init.o] Error 1
make[1]: Leaving directory `/net/Src/POP/qpopper3.1.2/popper'
make: *** [popper_server] Error 2

According to the man page, libkrb should be made available with the packages
SUNWcsl and SUNWarc, both of which I have installed.

I would appreciate suggestions from someone who has managed to install 
qpopper3.0.2 on Solaris 8.

-- 
Gary Hall hall at css.sfu dot ca  | Voice (604) 291-5925
Centre for Systems Science | Fax   (604) 291-5404
Simon Fraser University    |
Burnaby, B.C.  V5A 1S6     |


From: "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
Subject: qpopper help
Date: Tue, 28 Nov 2000 22:52:35 -0600

I'm very new to linux, and I was wondering if anyone knew of a site that had
some info on installing and useing qpopper. Or if someone could help me with
qpopper. Any help would be greatly apprecited.

Date: Tue, 28 Nov 2000 22:03:49 -0800 (PST)
From: "Jeremy C. Reed" <reed at wcug.wwu dot edu>
Subject: Re: qpopper help

On Tue, 28 Nov 2000, Watson, Stephen Wheeler wrote:

> I'm very new to linux, and I was wondering if anyone knew of a site
> that had some info on installing and useing qpopper. Or if someone
> could help me with qpopper. Any help would be greatly apprecited.

Welcome! You will find that almost all software includes some type of
documentation. 

Your qpopper should come with an INSTALL document that has information on
configuring and using qpopper. It also includes a manual page -- type "man
popper".

Also, you should check out the FAQ at
http://www.eudora.com/freeware/qpop_faq.html.

What specific help do you need?

  Jeremy C. Reed
  http://bsd.reedmedia.net/  -- BSD news and resources
  http://www.isp-faq.com/    -- find answers to your questions


Date: Wed, 29 Nov 2000 01:10:01 -0500
From: Frank Beale <fbbeale at richmond.infi dot net>
Subject: Re: Qpopper lock problems

I have the same problem from time to time as well. I am using 3.1 and when
it happens on our server ps aux shows the session is still active even
though the user has disconnected and is talking to me on the phone. There is
also a .username.pop file in /var/spool/mail. Eventually it goes away or I
kill the process and then they get the mail without any problem. Our server
is running Redhat 6.0 and qpopper is in server mode. Also the server now
seems to generate a lot of BOGUS.username files now as well. 

Thanks,

Frank Beale

At 11:49 AM 11/21/00 -0800, you wrote:
>At 8:37 AM -0500 11/21/00, Rob Hines Jr. wrote:
>
>>  I have Qpopper 3.1 installed on my system and for the most part it works
>>  wonderfully. I have one user who is having problems. Each time she tries to
>>  log in, she gets multiple warnings:
>>
>>  /home/myusername/myusername.pop lock busy. Is another session active?
>>
>>  Of course I've checked, and there isn't, the permissions on her home dir are
>>  correct, and in every other respect, her account is just like other user
>>  accounts. I'm at a loss as to what else to try.
>>
>>  Any suggestions would be appreciated.
>
>What does an 'ls -l' on '/home/myusername/myusername.pop' show?
>


Date: Tue, 28 Nov 2000 22:45:18 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Qpopper lock problems

At 1:10 AM -0500 11/29/00, Frank Beale wrote:

>  I am using 3.1 and when
>  it happens on our server ps aux shows the session is still active even
>  though the user has disconnected and is talking to me on the phone. There is
>  also a .username.pop file in /var/spool/mail.

What does an 'strace' on the process show?  That should indicate what 
it is doing.

From: "Ralf Corterier" <ralf.corterier at topmail dot de>
Subject: qpopper syslog entries
Date: Wed, 29 Nov 2000 09:51:58 +0100

Hello,

we are using qpopper for distributing mail within our lan. It works great, but there is one annoying detail I'd like to get rid off. Version is 3.1.2. Qpopper was compiled with configure --with-log-facility=LOG_LOCAL2, which will go into /var/log/qpopper.
log. This works fine for statistics logging (qpopper is called with -s by inetd), but for every connect there is also an entry in /var/log/messages (format: popper: connect from X.X.X.X (X.X.X.X), where X.X.X.X is the local ip of the machine connecting). 
These entries do not show up in /var/log/popper.log, so there are not logged to local2. /var/log/messages is configured with local2.none. As statistics logging is done only to qpopper.log, this seems to work ok. As far as I understand the entries in /var/
log/messages may be used for the smtp after pop feature, that some isp use. But since we only use qpopper internally, the entries in /var/log/messages are very annoying (/var/log/messages mainly consists of these entries). Is there any way to turn this of
f?

Thanks,

Ralf Corterier

________________________________________________________________
TopMail - Jetzt kostenlos anmelden - http://www.topmail.de
Auktionen.de macht Sie fit für den Winter! Alles für Body, Sport
 und Wellness - damit wird die kalte Jahreszeit so heiss wie nie
  zuvor! Und so günstig, dass Sie nicht am Heizöl sparen müssen.
------------------ http://www.auktionen.de ----------------------


Date: Wed, 29 Nov 2000 12:01:10 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: qpopper syslog entries

At 9:51 AM +0100 11/29/00, Ralf Corterier wrote:

>  Hello,
>
>  we are using qpopper for distributing mail within our lan. It works 
> great, but there is one annoying detail I'd like to get rid off. 
> Version is 3.1.2. Qpopper was compiled with configure 
> --with-log-facility=LOG_LOCAL2, which will go into /var/log/qpopper.
>  log. This works fine for statistics logging (qpopper is called with 
> -s by inetd), but for every connect there is also an entry in 
> /var/log/messages (format: popper: connect from X.X.X.X (X.X.X.X), 
> where X.X.X.X is the local ip of the machine connecting).
>  These entries do not show up in /var/log/popper.log, so there are 
> not logged to local2. /var/log/messages is configured with 
> local2.none. As statistics logging is done only to qpopper.log, 
> this seems to work ok. As far as I understand the entries in /var/
>  log/messages may be used for the smtp after pop feature, that some 
> isp use. But since we only use qpopper internally, the entries in 
> /var/log/messages are very annoying (/var/log/messages mainly 
> consists of these entries). Is there any way to turn this of
>  f?


What is the exact text of the message?  I do not see anywhere in 
Qpopper that logs "connect from" (or "Connect from").  Maybe inetd is 
doing the logging?

If you compile Qpopper with debugging (use '--enable-debugging' with 
./configure) then all log entries generated by Qpopper show the file 
name and line number where generated.

From: "Kenneth Porter" <shiva at well dot com>
Date: Wed, 29 Nov 2000 12:03:29 -0800
Subject: Re: qpopper syslog entries

On Wed, 29 Nov 2000 09:51:58 +0100, Ralf Corterier wrote:

>Qpopper was compiled with configure --with-log-facility=LOG_LOCAL2,
>which will go into /var/log/qpopper.
>log. This works fine for statistics logging (qpopper is called with
>-s by inetd), but for every connect there is also an entry in
>/var/log/messages (format: popper: connect from X.X.X.X (X.X.X.X),
>where X.X.X.X is the local ip of the machine connecting). 

This is probably logging from inetd, not qpopper. You can redirect
those logs using a suitable control line in /etc/hosts.allow. For
example:

qpopper : ALL : SEVERITY local2.info : ALLOW

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/



From: "Matt Garretson" <mattg at assembly.state.ny dot us>
Subject: Re: qpopper syslog entries
Date: Wed, 29 Nov 2000 15:16:12 -0500

> /var/log/messages (format: popper: connect from X.X.X.X (X.X.X.X), 
> where X.X.X.X is the local ip of the machine connecting).
>  These entries do not show up in /var/log/popper.log, so there are 


This sounds a lot like the messages that tcpd (TCP Wrappers) 
generates.  Check your /etc/inetd.conf to see if your system is 
using it.  Other than that, it might be coming from inetd itself
as someone else mentioned.


-Matt


From: "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
Subject: Qpopper works now
Date: Fri, 1 Dec 2000 07:52:34 -0600 

I got qpopper to work, I diden't set it to server mode when I compiled it.
Thank yall for all your help.

From: "Watson, Stephen Wheeler" <S.W.Watson at student.tcu dot edu>
Subject: Mailing Lists with Qpopper
Date: Fri, 1 Dec 2000 13:04:18 -0600 

Anyone know how to make a mailing list?

Date: Fri, 1 Dec 2000 14:23:53 -0500
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: Mailing Lists with Qpopper

on Fri, Dec 01, 2000 at 01:04:18PM -0600, Watson, Stephen Wheeler wrote:
> Anyone know how to make a mailing list?

No, unfortunately, such technology has been lost to the world forever,
leaving us with such mailing lists as already exist, which explains why
questions unrelated to the intent of the original mailing list keep
cropping up -- there simply aren't enough lists to cover the broad
range of topics. ;)

qpopper is a POP server, not a mail transfer agent or mailing list
manager. You may want to consider asking your question on a list that
caters to configuration and management of mailing lists, not POP. Or,
you could try majordomo, mailman, lyris, or any of the hundreds of
mailing list manager software packages.

 http://www.greatcircle.com
 http://www.list.org
 http://www.lyris.com

HTH,
Steve

-- 
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: http://www.hesketh.com/careers/

From: "Brian Curtis" <lists at pomfret dot net>
Subject: Qpopper and "xsender"
Date: Fri, 1 Dec 2000 15:21:32 -0500

Hello,

I recently switched to Qpopper, and quite easily I should mention.
Everything is running fine and I'm happy with the switch.  However, when any
of my clients use Netscape to check mail, the following is output to the
logfile:

qpopper[20154]: [username] at [isp.net] (1.2.3.4): -ERR Unknown command:
"xsender". [pop_get_command.c:122]

This doesn't seem to affect their ability to retrieve email, so I'm just
wondering what the problem is, and if it can be safely ignored or fixed.


Thanks,

Brian Curtis


From: "Kenneth Porter" <shiva at well dot com>
Date: Fri, 01 Dec 2000 12:37:19 -0800
Subject: Re: Qpopper and "xsender"

http://www.eudora.com/qpopper/faq.html#netscape.auth

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/



Date: Fri, 1 Dec 2000 15:30:20 -0500
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: Qpopper and "xsender"

on Fri, Dec 01, 2000 at 03:21:32PM -0500, Brian Curtis wrote:
> I recently switched to Qpopper, and quite easily I should mention.
> Everything is running fine and I'm happy with the switch.  However, when any
> of my clients use Netscape to check mail, the following is output to the
> logfile:
> 
> qpopper[20154]: [username] at [isp.net] (1.2.3.4): -ERR Unknown command:
> "xsender". [pop_get_command.c:122]
> 
> This doesn't seem to affect their ability to retrieve email, so I'm just
> wondering what the problem is, and if it can be safely ignored or fixed.

It must be a problem with your mailing list config. :)

No, really - this is a FAQ:

 http://www.eudora.com/qpopper/faq.html#netscape.auth

HTH,
Steve

-- 
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: http://www.hesketh.com/careers/

Date: Fri, 1 Dec 2000 15:30:46 -0500
From: Scott McDermott <mcdermot at questra dot com>
Subject: Re: Qpopper and "xsender"

Brian Curtis on Fri  1/12 15:21 -0500:
> qpopper[20154]: [username] at [isp.net] (1.2.3.4): -ERR Unknown
> command: "xsender". [pop_get_command.c:122]

My guess is that this is just server-side support for parsing X-Sender:
headers and passing them back to the client.  They're not necessary but
might allow some cases to optimize.  They can be safely ignored...we do
here without problems.

Date: Fri, 01 Dec 2000 22:04:05 +0100
From: hypnose at t-online dot de (guenter wessling)
Subject: qpopper on 2036 - flag --with-log-device

Hi, all.
This is to Mr. G. again:
Compiling 3.1.2 on my linux 2.0.36 works all right, as long as I do not put
the 
--with-log-facility flag into ./configure.
--enable-log-login works - just the "facility" is dismissed (configure
steps out).
Does the specified logfile have to be "touched" in advance ?
Despite from this, 3.1.2 fullfills all my wishes. 

Guenter

guenter wessling (hypnose at t-online dot de)

From: "Brian Curtis" <lists at pomfret dot net>
Subject: Re: Qpopper and "xsender"
Date: Fri, 1 Dec 2000 19:26:06 -0500

> http://www.eudora.com/qpopper/faq.html#netscape.auth

Hrmph....I guess an RTFM is in order here.  Don't know how I missed that FAQ
entry.

Oh well.  Thanks for all the info anyway.


Brian Curtis


From: "Marc Jacquard" <marcj at fujitsu dot com>
Subject: Problems with log file
Date: Fri, 1 Dec 2000 16:55:21 -1000

Since installing the new Qpopper 3.1.2, we have been seeing millisecond
access time and no year designated in the log file. Is there a way to get
rid of the millisecond field and put the year back in?  We have several
programs that parse this log for reports and we really do not want to
rewrite all of these programs.  Also, we store these logs and sometimes have
to search them for our client.  It is really inconvenient not to have the
year in each entry line of the log.

Thanks in advance,

Marc Jacquard
SR. Systems Engineer
Fujitsu America, INC.
Hilo Office
email: marcj at fujitsu dot com
Telephone: 808-934-4103
Pager: 888-787-5814


From: "Gian-Carlo Baldarelli" <gbalda at glomanet dot com>
Subject: MAC difficulty
Date: Sat, 2 Dec 2000 09:30:19 +0100

I got some trouble with outlookexpress-for-MAC client, a couple of my
customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
their email from my mailserver

freeBSD 4.0
qpop 3.0.2

Any idea ??????????

Gian-Carlo - Italy


From: "InvictaNet Customer Support" <support at invictanet.co dot uk>
Subject: RE: MAC difficulty
Date: Sat, 2 Dec 2000 09:59:00 -0000

42

(see the hitch-hikers guide to the galaxy)


Alternatively, how about giving some useful information. Try looking in your
log file - probably /var/log/messages and note any error messages.


Martyn Routley
-----------------------------------------------------
InvictaNet - The Internet in Plain English, Guaranteed
http://www.invictanet.co.uk
mailto:info at invictanet.co dot uk
phone: 0870 7402252
fax: +44 (0)1233 334001
------------------------------------------------------



-----Original Message-----
From: Gian-Carlo Baldarelli [mailto:gbalda at glomanet dot com]
Sent: Saturday, December 02, 2000 8:30 AM
To: Subscribers of Qpopper
Subject: MAC difficulty


I got some trouble with outlookexpress-for-MAC client, a couple of my
customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
their email from my mailserver

freeBSD 4.0
qpop 3.0.2

Any idea ??????????

Gian-Carlo - Italy



From: "InvictaNet Customer Support" <support at invictanet.co dot uk>
Subject: RE: MAC difficulty
Date: Sat, 2 Dec 2000 11:52:10 -0000

(1) It's a book. A giant super computer was asked "What is the meaning of
life, the universe and everything". After several aeons, the computer
answered "42".

(2) Although Mac computers are very clever for some things, their brains
seem to have no end of problems with TCP/IP. For instance, you can only
connect to one interface at a  time, so if they use a modem for web
browsing, they will not be able to use an ethernet interface to collect
their email from an internal mail server .

If there are no error messages in your server log file, the mac is probably
not making a TCP/IP connection to the server. Start at the mac and try to
telnet to port 110 on your server. Hopefully, that should give you some
clues.



Martyn Routley
-----------------------------------------------------
InvictaNet - The Internet in Plain English, Guaranteed
http://www.invictanet.co.uk
mailto:info at invictanet.co dot uk
phone: 0870 7402252
fax: +44 (0)1233 334001
------------------------------------------------------



-----Original Message-----
From: Gian-Carlo Baldarelli [mailto:gbalda at glomanet dot com]
Sent: Saturday, December 02, 2000 11:41 AM
To: InvictaNet Customer Support
Subject: R: MAC difficulty


Sorry no messages in the log related to the problem

-----Messaggio originale-----
Da: InvictaNet Customer Support [mailto:support at invictanet.co dot uk]
Inviato: sabato 2 dicembre 2000 10.59
A: Qpopper
Cc: Gian-Carlo Baldarelli
Oggetto: RE: MAC difficulty


42 ???????????????????????????????????????

(see the hitch-hikers guide to the galaxy) ??????????????????????????????


Alternatively, how about giving some useful information. Try looking in your
log file - probably /var/log/messages and note any error messages.


Martyn Routley
-----------------------------------------------------
InvictaNet - The Internet in Plain English, Guaranteed
http://www.invictanet.co.uk
mailto:info at invictanet.co dot uk
phone: 0870 7402252
fax: +44 (0)1233 334001
------------------------------------------------------



-----Original Message-----
From: Gian-Carlo Baldarelli [mailto:gbalda at glomanet dot com]
Sent: Saturday, December 02, 2000 8:30 AM
To: Subscribers of Qpopper
Subject: MAC difficulty


I got some trouble with outlookexpress-for-MAC client, a couple of my
customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
their email from my mailserver

freeBSD 4.0
qpop 3.0.2

Any idea ??????????

Gian-Carlo - Italy





Date: Sat, 02 Dec 2000 09:36:58 -0500
From: john <john at elehost dot com>
Subject: Re: MAC difficulty

Gian,

It appears that the OE for Mac only uses the protocol APOP for checking 
mail (I can't figure out why) and therefore users can not check their mail 
with the normal popassd.
You should see in your logs:

 >>APOP username

The only solution we are working on is to allow for APOP authentication.

John

At 09:30 AM 12/02/2000 +0100, Gian-Carlo Baldarelli wrote:
>I got some trouble with outlookexpress-for-MAC client, a couple of my
>customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
>their email from my mailserver
>
>freeBSD 4.0
>qpop 3.0.2
>
>Any idea ??????????
>
>Gian-Carlo - Italy





Date: Sat, 02 Dec 2000 14:14:00 -0500
From: john <john at elehost dot com>
Subject: RE: MAC difficulty

I don't know i did say it "appears",

I do not own a Mac so I can not look at the program to try and figure it 
out, but all of our customers on Mac's (all handful of them) that recently 
upgraded to the latest version of OE, now get an APOP error. I have gone 
through with them on the phone to try and find out if OE is setting that 
somewhere, but had no luck.
It is only the newest version of OE however, the older ones work fine.

If you have any suggestions other than enabling APOP, they would be much 
appreciated. Are you running apop authentication or popassd or both?

Thanks
John

At 05:13 PM 12/02/2000 +0000, InvictaNet Customer Support wrote:
>So why is it that my own Mac (using OE5) can pick up mail from any of my pop
>servers (I run qpopper 3.1 and 3.1b10 (and previously various 2.x
>versions)without any problems. I also have many customers using various
>types of mac from pre power pc upwards.
>
>
>
>Martyn Routley
>-----------------------------------------------------
>InvictaNet - The Internet in Plain English, Guaranteed
>http://www.invictanet.co.uk
>mailto:info at invictanet.co dot uk
>phone: 0870 7402252
>fax: +44 (0)1233 334001
>------------------------------------------------------
>
>
>
>-----Original Message-----
>From: john [mailto:john at elehost dot com]
>Sent: Saturday, December 02, 2000 2:37 PM
>To: Gian-Carlo Baldarelli; Subscribers of Qpopper
>Subject: Re: MAC difficulty
>
>
>Gian,
>
>It appears that the OE for Mac only uses the protocol APOP for checking
>mail (I can't figure out why) and therefore users can not check their mail
>with the normal popassd.
>You should see in your logs:
>
>  >>APOP username
>
>The only solution we are working on is to allow for APOP authentication.
>
>John
>
>At 09:30 AM 12/02/2000 +0100, Gian-Carlo Baldarelli wrote:
> >I got some trouble with outlookexpress-for-MAC client, a couple of my
> >customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
> >their email from my mailserver
> >
> >freeBSD 4.0
> >qpop 3.0.2
> >
> >Any idea ??????????
> >
> >Gian-Carlo - Italy



From: "InvictaNet Customer Support" <support at invictanet.co dot uk>
Subject: RE: MAC difficulty
Date: Sat, 2 Dec 2000 17:13:56 -0000

So why is it that my own Mac (using OE5) can pick up mail from any of my pop
servers (I run qpopper 3.1 and 3.1b10 (and previously various 2.x
versions)without any problems. I also have many customers using various
types of mac from pre power pc upwards.



Martyn Routley
-----------------------------------------------------
InvictaNet - The Internet in Plain English, Guaranteed
http://www.invictanet.co.uk
mailto:info at invictanet.co dot uk
phone: 0870 7402252
fax: +44 (0)1233 334001
------------------------------------------------------



-----Original Message-----
From: john [mailto:john at elehost dot com]
Sent: Saturday, December 02, 2000 2:37 PM
To: Gian-Carlo Baldarelli; Subscribers of Qpopper
Subject: Re: MAC difficulty


Gian,

It appears that the OE for Mac only uses the protocol APOP for checking
mail (I can't figure out why) and therefore users can not check their mail
with the normal popassd.
You should see in your logs:

 >>APOP username

The only solution we are working on is to allow for APOP authentication.

John

At 09:30 AM 12/02/2000 +0100, Gian-Carlo Baldarelli wrote:
>I got some trouble with outlookexpress-for-MAC client, a couple of my
>customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
>their email from my mailserver
>
>freeBSD 4.0
>qpop 3.0.2
>
>Any idea ??????????
>
>Gian-Carlo - Italy






From: "Lisa Casey" <lisa at jellico dot com>
Subject: Please educate me  :)
Date: Mon, 4 Dec 2000 11:48:03 -0500

Hi Folks,

I'm running Sendmail and qpopper 3.0fc1 on FreeBSD. I need to find out if
the version of qpopper I'm using supports etrn. It would probably help if I
even knew what etrn is....   A quick serch on the 'Net didn't turn up much
hard info on it.

Would someone from this list mind education me a wee bit on ertn and whether
or not I can support it with my version of qpopper (also whether or not I
need to do anything special in qpopper's configuration to support it).

Thanks, I appreciate any info I can get.

Lisa Casey, Webmaster
Interstate 2000, Inc.
lisa at jellico dot com
webmaster at jellico dot com





Date: Mon, 4 Dec 2000 17:31:55 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Please educate me  :)

It's sendmail that you want to support ETRN, not qpopper and sendmail does
(if you have a recent enough version),

Fergal


On Mon, Dec 04, 2000 at 11:48:03AM -0500, Lisa Casey wrote:
> Hi Folks,
> 
> I'm running Sendmail and qpopper 3.0fc1 on FreeBSD. I need to find out if
> the version of qpopper I'm using supports etrn. It would probably help if I
> even knew what etrn is....   A quick serch on the 'Net didn't turn up much
> hard info on it.


From: "Erin Jones" <erin at internationalcomputing dot com>
Subject: Re: MAC difficulty
Date: Mon, 4 Dec 2000 13:12:02 -0500

I had this problem a couple months ago on a redhat machine running qpopper
( i don't remember the version)  upgrading to the latest rpm solved the
problem.

ej

----- Original Message -----
From: "john" <john at elehost dot com>
To: "Gian-Carlo Baldarelli" <gbalda at glomanet dot com>; "Subscribers of Qpopper"
<qpopper at lists.pensive dot org>
Sent: Saturday, December 02, 2000 9:36 AM
Subject: Re: MAC difficulty


: Gian,
:
: It appears that the OE for Mac only uses the protocol APOP for checking
: mail (I can't figure out why) and therefore users can not check their mail
: with the normal popassd.
: You should see in your logs:
:
:  >>APOP username
:
: The only solution we are working on is to allow for APOP authentication.
:
: John
:
: At 09:30 AM 12/02/2000 +0100, Gian-Carlo Baldarelli wrote:
: >I got some trouble with outlookexpress-for-MAC client, a couple of my
: >customers who got Macintosh(G3 6 iMAC) with outlook express can't dowload
: >their email from my mailserver
: >
: >freeBSD 4.0
: >qpop 3.0.2
: >
: >Any idea ??????????
: >
: >Gian-Carlo - Italy
:
:
:
:


From: "Tom Frey" <tom at udzhome dot de>
Subject: multiple domains
Date: Mon, 4 Dec 2000 23:48:50 +0100

This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C05E4C.C0B00360
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I want to setup my mailserver to handle mutliple domains.
But the problem is the pop server... 

Let's assume i have 2 domains hosted and every domain has a user called =
postmaster... what to do? 
Is there any way to define them for different domains?

I also tried to set my usernames to: name at domain dot de but qpopper seems =
not to pass usernames containing an " @ ".

thx tom

------=_NextPart_000_001B_01C05E4C.C0B00360
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" =
http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV>I want to setup my mailserver to handle mutliple domains.</DIV>
<DIV>But the problem is the pop server... </DIV>
<DIV>&nbsp;</DIV>
<DIV>Let's assume i have 2 domains hosted and every domain has a user =
called 
postmaster... what to do? </DIV>
<DIV>Is there any way to define them for different domains?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I also tried to set my usernames to: <A 
href="mailto:name at domain dot de">name@domain dot de</A> but qpopper seems not =
to pass 
usernames containing an " @ ".</DIV>
<DIV>&nbsp;</DIV>
<DIV>thx tom</DIV></FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_001B_01C05E4C.C0B00360--