Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

(fixed) vpopmail authentication problems

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
darkcoder
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Fri May 09, 2003 7:13 pm
Location: Lynchburg, VA

(fixed) vpopmail authentication problems

  • Quote

Post by darkcoder » Tue Jun 08, 2004 5:38 am

I follow originally the official qmail/vpopmail howto. At first, everything works fine, but now vpopmail refuse to authenticate users neither by imap nor pop3. I retry the guide from the begining by removing first all installed components and configs and reinstall them again without suceess two times. Currently I'm on the third install and have performed all steps upto the courier-imap configuration, and again access is refused. I tested the access with both telnet to pop3 port and thunderbird email client (pop, and imap). All the vpopmail tools are working, for example this is the output of vuserinfo command:
vuserinfo command

Code: Select all

name:   demo
passwd: $1$vLEy.2o.$ZUSBVmuesma32ZbhRaxuF.
clear passwd: demo
comment: demo
uid:    0
gid:    0
flags:  0
gecos: demo
limits: No user limits set.
dir:       /var/vpopmail/domains/mydomain.net/demo
quota:     1024S
usage:     0%
account created: Tue Jun  8 00:31:38 2004
last auth: Never logged in
output of telnet to mydomain.net 110

Code: Select all

Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
USER demo@mydomain.net
+OK Password required.
PASS demo
-ERR Login failed.
vpopmail file info

Code: Select all

# ls -l /etc/vpopmail.conf
-rw-r-----  1 root vpopmail 637 Jun  7 23:50 /etc/vpopmail.conf
# ls -l /var/vpopmail/bin/vchkpw
-rws--x--x  1 root vpopmail 81296 Jun  7 20:45 /var/vpopmail/bin/vchkpw
Ports available on the computer

Code: Select all

Interesting ports on localhost.localdomain (127.0.0.1):
(The 1653 ports scanned but not shown below are in state: closed)
PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
110/tcp   open  pop3
143/tcp   open  imap
443/tcp   open  https
3306/tcp  open  mysql
Packages build and their flags

Code: Select all

[ebuild   R   ] net-mail/vpopmail-5.4.0  +clearpasswd -ipalias +mysql  0 kB
[ebuild   R   ] net-mail/courier-imap-3.0.4-r1  +berkdb -fam +gdbm +ldap +mysql +nls +pam -postgres -(selinux)  0 kB 
What I'm missing?
Last edited by darkcoder on Fri Jun 18, 2004 6:53 pm, edited 1 time in total.
Not bleeding edge.... No pain no game :twisted:
Top
darkcoder
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Fri May 09, 2003 7:13 pm
Location: Lynchburg, VA

  • Quote

Post by darkcoder » Tue Jun 08, 2004 6:45 am

Apparently my problem is that courier-imap (v 3.0.2 and 3.0.4) ignore the authdaemonrc config file, thus ignoring my authmodulelist="authvchkpw" entry and making my imap/pop3 servers reject logins. But if I specify that instruction on each server config (ie. pop3d file, imapd file, etc), then they work without problem.

Anyway if anyone have any suggestions about this let me know.
Not bleeding edge.... No pain no game :twisted:
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Jun 08, 2004 3:31 pm

I have run into what looks like the same problems that you have. Unfortunatly I have not figured out a solution yet. I will let you know if I find out anything.
Long live the gentoo forums!!!!!
Top
ribo
n00b
n00b
User avatar
Posts: 53
Joined: Wed Aug 14, 2002 6:23 am
Contact:
Contact ribo
Website

  • Quote

Post by ribo » Mon Jun 14, 2004 4:01 am

scootersmk wrote:I have run into what looks like the same problems that you have. Unfortunatly I have not figured out a solution yet. I will let you know if I find out anything.
he just gave you the solution :D
But if I specify that instruction on each server config (ie. pop3d file, imapd file, etc), then they work without problem.
Top
darkcoder
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Fri May 09, 2003 7:13 pm
Location: Lynchburg, VA

  • Quote

Post by darkcoder » Fri Jun 18, 2004 6:52 pm

I found the problem. Since I use a mix of the original gentoo qmail howto and the forums qmail howto (with antivirus), a problem arrise when reinstalling components. The problem is that step 4 of the qmail forums howto must be included.
> emerge /usr/portage/net-mail/courier-imap/courier-imap-3.0.2-r1.ebuild
> nano -w /etc/courier-imap/authdaemonrc
authmodulelist="authvchkpw"
> nano -w /etc/courier-imap/imapd
IMAPDSTART=YES
AUTHMODULES="authvchkpw"
> nano -w /etc/courier-imap/pop3d
POP3DSTART=YES
AUTHMODULES="authvchkpw"
> rc-update add courier-imapd default
> rc-update add courier-pop3d default
> /etc/init.d/courier-imapd start
> /etc/init.d/courier-pop3d start
That steps are needed if you plan to use imap and pop3 without ssl.
Not bleeding edge.... No pain no game :twisted:
Top
Gandalf the White
Guru
Guru
Posts: 320
Joined: Wed Dec 17, 2003 2:40 pm
Location: Verdun, Canada
Contact:
Contact Gandalf the White
Website

  • Quote

Post by Gandalf the White » Tue Sep 28, 2004 8:44 pm

THank you thank you thank you thank you thank you! Sorry for resurrecting this thread from the grave, but thank you!
Top
darkcoder
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Fri May 09, 2003 7:13 pm
Location: Lynchburg, VA

  • Quote

Post by darkcoder » Tue Sep 28, 2004 10:11 pm

You are welcome, and it feels good to know was able to help someone. :D
Not bleeding edge.... No pain no game :twisted:
Top
Post Reply

7 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic