public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] courier problems
@ 2005-11-23 14:31 Nick Smith
  2005-11-23 21:09 ` James Hiscock
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Smith @ 2005-11-23 14:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

ive been trying to setup a mail server following the how-to at
http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hostingand
everything seems to have been setup correctly, but i keep getting
these
errors and cant login

Nov 22 23:28:29 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 22 23:28:29 mail imapd: LOGIN FAILED, user=nick.smith@domain.com,
ip=[::ffff:127.0.0.1]
Nov 22 23:28:29 mail imapd: authentication error: Input/output error

i get this everytime i try to login either via an email client or via
squirrelmail, squirrelmail gives me a "* ERROR: Connection dropped by IMAP
server." *error*.  *i can however login using mutt on the local machine and
see that the mail is indeed coming in.  so postfix is doing its job.  this
has been a work in progress and over the last month i have been googling
tring to find answers, i came across a post on squarism.com that said to
downgrade to courier-authlib from 0.57 to 0.55 that it was a shared library
problem, so i did that, and it still doesnt work, i have restarted services
and even rebooted and still nothing.

i have set up mail servers with gentoo before using an older version of this
how-to and it worked flawlessly, i know that there have been changes going
on with gentoo, like with the apache config files and stuff like that, so im
pretty sure something like that happened to courier.  but has anyone had
this problem and possibly know how to correct it?  can anyone point me in
the right direction?

thanks

Nick

[-- Attachment #2: Type: text/html, Size: 1985 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] courier problems
  2005-11-23 14:31 [gentoo-user] courier problems Nick Smith
@ 2005-11-23 21:09 ` James Hiscock
  2005-11-23 21:17   ` Nick Smith
  0 siblings, 1 reply; 5+ messages in thread
From: James Hiscock @ 2005-11-23 21:09 UTC (permalink / raw
  To: gentoo-user

> ive been trying to setup a mail server following the how-to at
> http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
> and everything seems to have been setup correctly, but i keep getting these
> errors and cant login

I know I had to reduce the set of authentication modules in
/etc/courier/authlib/authdaemonrc to get my install of courier-imap to
let me login properly... I changed

authmodulelist="authuserdb authpam authshadow authldap authmysql
authcustom authpipe"

to just

authmodulelist="authpam authshadow"

...and that resolved my problems. I seem to recall errors about
invalid MySQL configuration, though, which is what twigged me to the
problem... maybe your issue is somewhat similar?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] courier problems
  2005-11-23 21:09 ` James Hiscock
@ 2005-11-23 21:17   ` Nick Smith
  2005-11-24  5:46     ` Heinz Sporn
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Smith @ 2005-11-23 21:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On 11/23/05, James Hiscock <boxroot@gmail.com> wrote:
>
> > ive been trying to setup a mail server following the how-to at
> >
> http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
> > and everything seems to have been setup correctly, but i keep getting
> these
> > errors and cant login
>
> I know I had to reduce the set of authentication modules in
> /etc/courier/authlib/authdaemonrc to get my install of courier-imap to
> let me login properly... I changed
>
> authmodulelist="authuserdb authpam authshadow authldap authmysql
> authcustom authpipe"
>
> to just
>
> authmodulelist="authpam authshadow"
>
> ...and that resolved my problems. I seem to recall errors about
> invalid MySQL configuration, though, which is what twigged me to the
> problem... maybe your issue is somewhat similar?
>
> --
> gentoo-user@gentoo.org mailing list
>
> i wish it were that simple, all i have in mine, just like the how-to says
is

authmodulelist="authmysql authpam"

thanks for the info.

Nick

[-- Attachment #2: Type: text/html, Size: 1531 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] courier problems
  2005-11-23 21:17   ` Nick Smith
@ 2005-11-24  5:46     ` Heinz Sporn
  2005-11-25 22:17       ` Nick Smith
  0 siblings, 1 reply; 5+ messages in thread
From: Heinz Sporn @ 2005-11-24  5:46 UTC (permalink / raw
  To: gentoo-user

Am Mittwoch, den 23.11.2005, 16:17 -0500 schrieb Nick Smith:
> 
> 
> On 11/23/05, James Hiscock <boxroot@gmail.com> wrote:
>         > ive been trying to setup a mail server following the how-to
>         at
>         >
>         http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
>         > and everything seems to have been setup correctly, but i
>         keep getting these
>         > errors and cant login
>         
>         I know I had to reduce the set of authentication modules in
>         /etc/courier/authlib/authdaemonrc to get my install of
>         courier-imap to 
>         let me login properly... I changed
>         
>         authmodulelist="authuserdb authpam authshadow authldap
>         authmysql
>         authcustom authpipe"
>         
>         to just
>         
>         authmodulelist="authpam authshadow"
>         
>         ...and that resolved my problems. I seem to recall errors
>         about 
>         invalid MySQL configuration, though, which is what twigged me
>         to the
>         problem... maybe your issue is somewhat similar?
>         
>         --
>         gentoo-user@gentoo.org mailing list
>         
> i wish it were that simple, all i have in mine, just like the how-to
> says is 
> 
> authmodulelist="authmysql authpam"

What about interactively logging into mysql with the provided
credentials? Does that work?

> 
> thanks for the info.
> 
> Nick
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   heinz.sporn@sporn-it.com
         heinz.sporn@utanet.at
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] courier problems
  2005-11-24  5:46     ` Heinz Sporn
@ 2005-11-25 22:17       ` Nick Smith
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Smith @ 2005-11-25 22:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

>
>
> What about interactively logging into mysql with the provided
> credentials? Does that work?


i can log in just fine with the user and pass i have specified in the conf
files.

[-- Attachment #2: Type: text/html, Size: 364 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-25 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23 14:31 [gentoo-user] courier problems Nick Smith
2005-11-23 21:09 ` James Hiscock
2005-11-23 21:17   ` Nick Smith
2005-11-24  5:46     ` Heinz Sporn
2005-11-25 22:17       ` Nick Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox