*** authlib/preauthvchkpw.c.dist Sat Dec 1 22:57:26 2001 --- authlib/preauthvchkpw.c Sat Dec 1 23:03:03 2001 *************** *** 97,102 **** --- 97,114 ---- } } + if ( strcmp("pop3", service) == 0 ) { + if ( vpw->pw_gid & NO_POP ) { + return(-1); + } else { + #ifdef HAVE_OPEN_SMTP_RELAY + /* open the relay to pop users */ + open_smtp_relay(); + #endif + + } + } + auth.sysuserid=&uid; auth.sysgroupid=gid; auth.homedir=vpw->pw_dir;