LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2005, 07:16 AM   #1
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Rep: Reputation: 15
popa3d authentication problem


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:
Code:
LIBS += -lcrypt
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:~#
 
Old 08-17-2005, 03:54 PM   #2
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Original Poster
Rep: Reputation: 15
I don't believe that no one can give me an idea!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
POPA3D problem ? Peristalsis Slackware 0 11-02-2004 07:42 AM
popa3d maildir??? razor7300 Linux - Software 0 08-31-2004 05:03 AM
popa3d help!!! Keyser Sose Slackware 3 07-18-2004 06:04 PM
popa3d email download problem. Manuel-H Linux - Software 1 08-22-2003 05:18 AM
Help about setting up popa3d marcomas Slackware 0 07-29-2003 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration