8 messages in net.sourceforge.lists.courier-users[courier-users] Re: Help! Problem wit...
FromSent OnAttachments
James HouseMar 11, 2003 2:20 pm 
Sam VarshavchikMar 11, 2003 3:05 pm 
James HouseMar 11, 2003 6:02 pm 
James HouseMar 11, 2003 7:31 pm 
elijahMar 11, 2003 8:45 pm 
James A BakerMar 12, 2003 2:12 am 
James HouseMar 13, 2003 6:55 am 
James HouseMar 27, 2003 8:09 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Help! Problem with post install tests - More infoActions...
From:James House (hou@trilobyte.net)
Date:Mar 11, 2003 7:31:45 pm
List:net.sourceforge.lists.courier-users

At 3/11/2003 09:47 PM -0500, you wrote:

James House writes:

Mar 11 11:17:04 brick courierd: id=0336E206.3E6E2806.0000554D,from=<te@brick.foo.net>,addr=<test-te st@brick.foo.net>: 550 User unknown.

Correct. Verify that 'brick.foo.net' is properly listed in locals.

Verify that 'test' is actually in the password file, with the correct home directory, ownership, and permissions.

Sadly, I re-verified all of the above, and it all looks ok. Any other ideas?

Define what you mean by "re-ferified".

Should it really say "addr=<test@brick.foo.net>" ???

That depends on how you set up the local account, your dot-courier files, and your arguments to the perftest script.

Ok. Here's the whole synopsis of what I've done (basically following the INSTALL document step-for-step).

1) Downloaded courier 0.41, un-tared it, created a "courier" user and group ("groupadd courier" followed by "useradd -g courier courier"

2) ./configure --with-transport="local esmtp dsn" --without-ipv6 --enable-https --with-mailuser=courier --with-mailgroup=courier --enable-softtimeout=7200 --disable-autorenamesent

3) make

4) make check

5) ./configure --with-transport="local esmtp dsn" --without-ipv6 --enable-workarounds-for-imap-client-bugs --enable-https - -with-mailuser=courier --with-mailgroup=courier --enable-softtimeout=7200 --disable-autorenamesent

(added the "workarounds" option)

6) make

[became root]

7) make install-strip

8) make install-configure

9) made "test" user ("useradd test")

10) /usr/lib/courier/sbin/courier start

11) /usr/lib/courier/libexec/authlib/authdaemond start

[became "test"]

12) made maildirs as "test" user home dir ("maildirmake test", "maildirmake bounces")

13) made the file ".courier" file to contain "./bounces", made the file ".courier-test-default" to contain "./test"

14) sh ~jhouse/swr/courier-0.41.0.20030308/courier/perftest1 1000 "test-test-1 test-test-2 test-test-3 test-test-4 test-test-5"

======

No files made it to test/new or bounces/new.

modified "locals" file to look like this:

localhost foo.net .foo.net brick.foo.net

(host name is "brick.foo.net')

re-ran perftest1 several times with variants of the above (leaving out one or more of the above lines). watching the mailq I can see all of the mails go to "postmaster" - and I've already noted that the maillog has the error "unknown user".

I've checked that the maildirs (~test/test and ~test/bounces) etc. are owned by "test". I've even tried setting every file and dir under "~test" as 777 permissions.

Can you see what step I've missed or what I've done wrong? - I completed an install of courier 0.40 a few months ago (on a different system) by following the INSTALL doc word-for-word then, and had no problems. I can't see what I've done wrong this time.

Thanks a lot for your time, james