Well, first off, courier is supposed to replace sendmail, so if you still have sendmail, get rid of it.....
Michael Carter wrote: >I'm still stuggling to get courier to work...I'd really like to as it >sounds like the solution I need. Nonetheless, documentation isn't really >clear as to how to test the installation. I really would like some help >from other Solaris admins who have successfully installed this! > >After installation I am proceeding with the post-installation tests. >I've created a test account called "sophie" and added the user to my >existing sendmail aliases file. > >---------- >According to the INSTALL file, I need to do the following: > >Log on to the test account and run maildirmake to create two maildirs: >maildirmake $HOME/test, and maildirmake $HOME/bounces. > >Create $HOME/.courier-test-default, containing one line: ./test. Create >$HOME/.courier, containing one line: ./bounces. If you previously >selected >.qmail compatibility, you will need to use .qmail-test-default and >.qmail, of course. Keep that in mind as you work through the remaining >tests. >---------- > >I created the files: > > >---------- >drwxr-xr-x 5 sophie users 512 Mar 3 10:11 . >drwxr-xr-x 24 root root 512 Mar 3 10:06 .. >-rw-r--r-- 1 sophie users 10 Mar 3 10:10 .courier >-rw-r--r-- 1 sophie users 7 Mar 3 10:10 >.courier-test-default >-rw-r--r-- 1 sophie users 252 Mar 3 10:08 .cshrc >-rw-r--r-- 1 sophie users 144 Mar 3 10:06 .profile >drwx------ 5 sophie users 512 Mar 3 10:09 bounces >drwxr-xr-x 2 sophie users 512 Mar 3 10:06 public_html >drwx------ 5 sophie users 512 Mar 3 10:09 test >---------- > >I then ran the perftest1 script as user sophie according to the INSTALL >instructions: > >----------< >Run the perftest1 script, which can be found in the directory containing >Courier's source code: > >sh perftest1 1000 "user-test-1 user-test-2 user-test-3 user-test-4 >user-test-5" > >Run this script while logged on to the test account. Replace "user" with >the name of your test account. This will send 1000 messages with five >recipients per >message. You should end up with exactly 5000 messages in $HOME/test/new. >Count them. > >>---------- >> > >I ran sh perftest1 5000 "sophie-test-1 sophie-test-2 sophie-test-3 >sophie-test-4 sophite-test-5" > >Nothing shows up in the "test" or "bounces" maildirs! >Checking my syslog, I see lots of "user unknown" errors and lots of >complaints from *sendmail*! There are some success messages from >courier, but there is no mail to be seen in the maildir directories at >all. > >----------< >Mar 3 10:13:37 kashmir courieresmtp: >id=0001E884.3C8267CF.000061D9,from=<>,addr=<sophie@kashmir>: 250 2.0.0 >g23ICSNn024883 Message accepted for delivery >Mar 3 10:13:37 kashmir courieresmtp: >id=0001E884.3C8267CF.000061D9,from=<>,addr=<sophie@kashmir>,size=2819,success: >delivered: kashmir.aviate.org [200.1.1.5] >ar 3 10:13:34 kashmir sendmail[25043]: g23ICSNh024883: >to=<sophie@kashmir>, delay=00:00:04, xdelay=00:00:02, mailer=local, >pri=32360, dsn=2.0.0, stat=Sent >Mar 3 10:13:35 kashmir sendmail[25050]: g23ICSNk024883: >to=<sophie@kashmir>, delay=00:00:02, xdelay=00:00:01, mailer=local, >pri=32360, dsn=2.0.0, stat=Sent >Mar 3 10:13:36 kashmir sendmail[24883]: g23ICSNm024883: ><sophie-test-1@kashmir>... User unknown >Mar 3 10:13:36 kashmir sendmail[24883]: g23ICSNm024883: ><sophie-test-2@kashmir>... User unknown >Mar 3 10:13:36 kashmir courieresmtp: >id=0001E88B.3C8267CF.000061DB,from=<sophie@kashmir>,addr=<sophie-test-1@kashmir>: >550 5.1.1 <sophie-test-1@kashmir>... User unknown >Mar 3 10:13:36 kashmir courieresmtp: >id=0001E88B.3C8267CF.000061DB,from=<sophie@kashmir>,addr=<sophie-test-1@kashmir>,status: >failure >Mar 3 10:13:36 kashmir courieresmtp: >id=0001E88B.3C8267CF.000061DB,from=<sophie@kashmir>,addr=<sophie-test-2@kashmir>: >550 5.1.1 <sophie-test-2@kashmir>... User unknown >Mar 3 10:13:36 kashmir courieresmtp: >id=0001E88B.3C8267CF.000061DB,from=<sophie@kashmir>,addr=<sophie-test-2@kashmir>,status: >failure > >>---------- >> > >One thing I know for sure, there is no user "sophie-test-x" anywhere in >the system. The script doesn't take this into account, it just blindly >sends mail to each of the accounts provided on the command line. Unless >I'm missing some magic here, this is doomed to fail from the outset! At >this point in INSTALL, there isn't any mention of alias files, which is >where you'd expect to at least find something like: sophie-test-1:sophie >to redirect mail to the right spot. > >I finally found all the bounce messages in /var/mail in the user's mail >file. Isn't the mail supposed to be in the user's maildirs? I don't >think this is how it's supposed to work at all, yet I've followed the >INSTALL file. It appears that sendmail should be disabled for this test >to have even a chance of working, but there is no mention anywhere that >existing mail servers should be disabled. In fact, at one point the docs >suggest leaving the current mail server in operation until all >post-install checks are complete. > >I would really appreciate feedback on these issues. > >Thanks in advance! > > >-- >Mike Carter >Systems Admin >Aviate.Org >[EMAIL PROTECTED] > > > >_______________________________________________ >courier-users mailing list >[EMAIL PROTECTED] >Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
