Hi guys

here is the situation
I'm using postfix + popa3d
but I can't get popa3d working fine
so... postfix is delivering the mail to the virtual mailboxes
I've compiled popa3d to support virtual domains
here is the params.h
Code:
#ifndef _POP_PARAMS_H
#define _POP_PARAMS_H
#define POP_SERVER "popa3d"
#define POP_STANDALONE 0
#if POP_STANDALONE
#define POP_OPTIONS 1
#define DAEMON_ADDR "0.0.0.0" /* INADDR_ANY */
#define DAEMON_PORT 110
#define DAEMON_LIBWRAP 0
#if DAEMON_LIBWRAP
#define DAEMON_LIBWRAP_IDENT POP_SERVER
#endif
#define MAX_SESSIONS 500
#define MAX_SESSIONS_PER_SOURCE 50
#define MAX_BACKLOG 5
#define MIN_DELAY 10
#endif
#define POP_VIRTUAL 1
#if POP_VIRTUAL
#define VIRTUAL_HOME_PATH "/home/virtual/popa3d/"
#define VIRTUAL_AUTH_PATH "auth"
#define VIRTUAL_SPOOL_PATH "mail"
#define VIRTUAL_ONLY 1
#else
#define VIRTUAL_ONLY 0
#endif
#define POP_USER POP_SERVER
#define POP_CHROOT "/var/empty"
#define POP_TIMEOUT (10 * 60)
#define POP_SUPPORT_LAST 1
#define MAX_MAILBOX_MESSAGES 2097152
#define MAX_MAILBOX_OPEN_BYTES 2147483647
#define MAX_MAILBOX_WORK_BYTES 2147483647
#if !VIRTUAL_ONLY
#define AUTH_PASSWD 0
#define AUTH_SHADOW 1
#define AUTH_PAM 0
#define AUTH_PAM_USERPASS 0
#define USE_LIBPAM_USERPASS 0
#if AUTH_PAM || AUTH_PAM_USERPASS
#define AUTH_PAM_SERVICE POP_SERVER
#endif
#endif
#if POP_VIRTUAL || AUTH_PASSWD || AUTH_SHADOW
#define AUTH_DUMMY_SALT "xx"
#endif
#define AUTH_FAILED_MESSAGE "Authentication failed (bad password?)"
#if !VIRTUAL_ONLY
#define MAIL_SPOOL_PATH "/var/mail"
#ifndef MAIL_SPOOL_PATH
#define HOME_MAILBOX_NAME "Mailbox"
#endif
#endif
#define LOCK_FCNTL 1
#define LOCK_FLOCK 0
#define SYSLOG_IDENT POP_SERVER
#define SYSLOG_OPTIONS LOG_PID
#define SYSLOG_FACILITY LOG_DAEMON
#define SYSLOG_PRI_LO LOG_INFO
#define SYSLOG_PRI_HI LOG_NOTICE
#define SYSLOG_PRI_ERROR LOG_CRIT
#define POP_BUFFER_SIZE 0x80
#define AUTH_BUFFER_SIZE (2 * POP_BUFFER_SIZE)
#if POP_VIRTUAL
#define VIRTUAL_AUTH_SIZE 0x100
#endif
#define FILE_BUFFER_SIZE 0x10000
#define RETR_BUFFER_SIZE 0x8000
#define LINE_BUFFER_SIZE 0x20
#endif
and in the Makefile I've uncommented this:
When I try to log in into the pop3 server using outlook express or thunderbird, I can see this in /var/log/messages
Code:
Aug 16 14:42:31 mailserver popa3d[31959]: Authentication failed for UNKNOWN USER
from the mail client I get:
Code:
There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail.domain.name', Server: 'mail.domain.name', Protocol: POP3, Server Response: '-ERR Authentication failed (bad password?)', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92
I've tried both for username to log in into the pop3 server
username: user
pass: ****
and
username:
user@domain.name
pass: ****
but still the same

Can anyone help me, please!
thank you
P.S.
Code:
root@mailserver:~# nmap mail.domain.name
Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-08-16 15:10 EEST
Interesting ports on mailserver.org (ip.add.re.ss):
(The 1658 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
37/tcp open time
110/tcp open pop3
113/tcp open auth
Nmap run completed -- 1 IP address (1 host up) scanned in 2.540 seconds
root@mailserver:~#