HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Courier POP3 login refusal (

bahadirtonguc 9th April 2008 01:14

Courier POP3 login refusal

I just installed Postfix and Courier. Postfix can receive messages (I can monitor from Webmin GUI) but when I try login inside or outside the network, it asks username and password then -ERR login failed. I try logging in with real accounts. What can be wrong. SMTP working okay but POP3 wont let me in..

I tried "telnet localhost pop3" or "telnet 110" and both giving the same error.

Thanks for helping

falko 9th April 2008 23:23

Any errors in your mail log?
How did you install Courier?

bahadirtonguc 10th April 2008 19:01

after a hard try, installing/removing courier 100 times, I installed popa3d and all was solved all of a sudden.. Why it is not told in forums and websites instead of writing millions of pages about courier..


trallador 11th April 2008 13:24

i have the same problem. I followed this guide:

courier and imap responses in telnet but not auth :/

falko 11th April 2008 22:28

Any errors in your mail log?

trallador 12th April 2008 22:38

Ok partially solutioned. Now pop auth correctly but imap its not okay

falko 13th April 2008 21:29

I need the error messages from your mail log (in /var/log), otherwise I can't help you.

imitrik 17th April 2008 21:18

Having the same issue with courier pop3
Hi! I have the same issue with loging to pop3 on courier (have ispconfig installed, postfix and courier). I can see in webmin that mail is arriving in the Maildir in the specified account, but neather /mailuser, nor /webmail can log in. In both cases the same error:
Apr 17 19:17:11 SERVER courierpop3login: Connection, ip=[::ffff:X.Y.Z.D]
Apr 17 19:17:11 SERVER courierpop3login: LOGIN FAILED,, ip=[::ffff:X.Y.Z.D]
Apr 17 19:17:16 SERVER courierpop3login: Disconnected, ip=[::ffff:X.Y.Z.D],

Can you help me?
Have tried loging in with e-mail and username as username, but nothing done. :confused:

falko 17th April 2008 22:21 is the wrong username. It must be something like web1_user. If it still doesn't work, please post the error messages again.

imitrik 18th April 2008 00:51

I was researching through couriers files and found that in authmysqlrc (located in /etc/courier/), the file is left intend from my last configuration(other then ispconfig), and think that this is what is wrong about loging error(i have tried also with web1_USER, but no effect):
MYSQL_SERVER localhost
MYSQL_HOME_FIELD "/home/vmail"

This file tells courier to use other database (virtualmin created, before I removed it, but courier conf. unfortunately left untouched after ispconfig installation)
Can you help me, what should be the content of this file for ispconfig?

Thanks a lot!

This is my postfix conf. file:
# See /usr/share/postfix/ for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination =,, localhost
relayhost =
mynetworks =
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
debug_peer_list =

All times are GMT +2. The time now is 05:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.