[tpop3d-discuss]auth-flatfile method

Daryl Meese darylm at magiasoftware.com
Wed, 14 Apr 2004 18:01:58 -0500


My apologies if this is delivered multiple times - I did not get one back
from the list so I assume it did not get delivered.  Email is not my thing
today.


The log files show

listeners_post_select: client [5]24.107.126.90/magiasoftware.com: connected
to local address 66.193.230.64:110
connection_parsecommand: client [5]24.107.126.90/magiasoftware.com: received
`USER MS2U2@magiasoftware.com'
connection_sendresponse: client [5]24.107.126.90/magiasoftware.com: sent
`+OK Tell me your password.'
connection_parsecommand: client [5]24.107.126.90/magiasoftware.com: received
`PASS [...]'
authcontext_new_user_pass: began session for `MS2U2@magiasoftware.com' with
flatfile; uid 0, gid 0
fork_child: client [5]MS2U2@magiasoftware.com(24.107.126.90): authentication
context has UID of 0
fork_child: [5]MS2U2@magiasoftware.com(24.107.126.90): began session for
`MS2U2@magiasoftware.com' with flatfile; child PID i
s 663
connection_sendresponse: client [5]MS2U2@magiasoftware.com(24.107.126.90):
sent `-ERR Everything's really bad'
connections_post_select: client [5]MS2U2@magiasoftware.com(24.107.126.90):
finished session for `MS2U2@magiasoftware.com' wit
h flatfile
connections_post_select: client [5]MS2U2@magiasoftware.com(24.107.126.90):
disconnected; 45/116 bytes read/written


Another quick thought...

could this be a permissions problem?

The file is in the /var/mail directory (default permissions -- never been
touched)
the file is chmod 600 owned by mailnull | mail.

Could this be the problem?

TIA,

Daryl



-----Original Message-----
From: tpop3d-discuss-admin@lists.beasts.org
[mailto:tpop3d-discuss-admin@lists.beasts.org]On Behalf Of Chris
Lightfoot
Sent: Wednesday, April 14, 2004 3:05 PM
To: Daryl Meese
Cc: tpop3d-discuss@lists.beasts.org
Subject: Re: [tpop3d-discuss]auth-flatfile method


On Wed, Apr 14, 2004 at 02:42:16PM -0500, Daryl Meese wrote:
> On Tue, Apr 13, 2004 at 08:58:02PM -0500, Daryl Meese wrote:
> >
> > when I run tpop3d -h auth-flatfile is included under available
> > authentication drivers.  Does that mean it is definately available?
>
> yes.
>
> OK, I finally have it actually checking the flat file if I send the
> user@domain combination but not for just user.  Not a big deal at all for
me
> but I am still getting errors this error:
>
> "ERR Everything's Really Bad" What should that be telling me? (other than
> that everything is really bad?

you've got it in one! What's in the system log, though?
Make sure you use the -v option, so that you get more
detailed error reporting.

> I have a file in /etc/mail named as just the user part of the user@domain
> combo.  I also have the following conf line
>
> mailbox: bsd:/var/mail/$(user) bsd:/var/mail/$(local_part)
>
> and am guessing (somewhat blindly) that "/var/mail/$(local_part)" will
> translate to the file named after the user and that
"bsd:/var/mail/$(user)"
> will look for a file named user@domain.

yes, that's right.

--
``Making canned cola requires millions of dollars in abstruse gear
  and manufacturing gizmos. It's easier to make nerve gas than
  manufacture cola.'' (from the OpenCola.com soft drink recipe)

_______________________________________________
tpop3d-discuss mailing list
tpop3d-discuss@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/tpop3d-discuss