This is a discussion on [courier-users] No mail delivered locally - fresh install of 0.52.1 on RHEL 4 within the Courier-Imap forums, part of the Mail Servers and Related category; I've just installed courier 0.52.1 on a brand new RHEL 4 system with a pretty simple config. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've just installed courier 0.52.1 on a brand new RHEL 4 system with a pretty
simple config. When sending mail from the same host via /bin/mail or from another host to the courier host, mail is never delivered locally to the user. I'm using Maildir and have run makemaildir $HOME/Maildir as the test user (me). If I access courier via IMAP I can create folders and copy messages into/out of folders and those messages appear under $HOME/Maildir. Here's an excerpt from /var/log/maillog after sending a test msg from another host to "sol" (the courier host): Nov 30 14:26:16 sol courieresmtpd: started,ip=[::ffff:192.5.10.1] Nov 30 14:26:16 sol courieresmtpd: EHLO dune.magnicomp.com Nov 30 14:26:16 sol courieresmtpd: STARTTLS Nov 30 14:26:16 sol courieresmtpd: EHLO dune.magnicomp.com Nov 30 14:26:16 sol courieresmtpd: MAIL From:<mcooper@MagniComp.com> SIZE=384 Nov 30 14:26:16 sol courieresmtpd: RCPT To:<mcooper@sol.magnicomp.com> Nov 30 14:26:16 sol authdaemond: received userid lookup request: mcooper Nov 30 14:26:16 sol authdaemond: authpam: trying this module Nov 30 14:26:16 sol authdaemond: authpam: sysusername=mcooper, sysuserid=<null>, sysgroupid=976, homedir=/home/mcooper, address=mcooper, fullname=Mike Cooper, maildir=<null>, quota=<null>, options=<null> Nov 30 14:26:16 sol authdaemond: Authenticated: sysusername=mcooper, sysuserid=<null>, sysgroupid=976, homedir=/home/mcooper, address=mcooper, fullname=Mike Cooper, maildir=<null>, quota=<null>, options=<null> Nov 30 14:26:16 sol courieresmtpd: DATA Nov 30 14:26:16 sol courierd: Waiting. shutdown time=Wed Nov 30 15:17:01 2005, wakeup time=Wed Nov 30 15:17:01 2005, queuedelivering=0, inprogress=0Nov 30 14:26:16 sol courieresmtpd: QUIT If I poke around /usr/local/courier/0.52.1 I find that the message is sitting under /usr/local/courier/0.52.1/var/tmp: -------------------- cd /usr/local/courier/default/var/tmp/113338 [root@sol 113338]# ls -lt | head total 16104 -rw-rw---- 1 courier courier 214 Nov 30 14:26 C4002169 -rw-rw---- 1 courier courier 812 Nov 30 14:26 D4002169 [root@sol 113338]# cat C4002169 smcooper@MagniComp.com fdns; dune.magnicomp.com (dune.magnicomp.com [::ffff:192.5.10.1]) e t M00000000003D1179.00000000438E2708.0000791E rmcooper@sol.magnicomp.com R N uauthsmtp E1133994376 p1133418376 W1133403976 [root@sol 113338]# cat D4002169 Received: from dune.magnicomp.com (dune.magnicomp.com [::ffff:192.5.10.1]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by sol.magnicomp.com with esmtp; Wed, 30 Nov 2005 14:26:16 -0800 id 00000000003D1179.00000000438E2708.0000791E Received: from dune.magnicomp.com (dune.magnicomp.com [127.0.0.1]) by dune.magnicomp.com (8.12.11/8.12.10) with ESMTP id jAUMQGJb023047 for <mcooper@sol.magnicomp.com>; Wed, 30 Nov 2005 14:26:16 -0800 Received: (from mcooper@localhost) by dune.magnicomp.com (8.12.11/8.12.11/Submit) id jAUMQGsF023046 for mcooper@sol.magnicomp.com; Wed, 30 Nov 2005 14:26:16 -0800 Date: Wed, 30 Nov 2005 14:26:16 -0800 From: "Michael A. Cooper" <mcooper@MagniComp.com> Message-Id: <200511302226.jAUMQGsF023046@dune.magnicomp.com> To: mcooper@sol.magnicomp.com Subject: Test 40 Test message XXX ---------------- I've left authentication off for ESMTP. I've disabled BOFH stuff: [root@sol default]# cat etc/bofh opt BOFHBADMIME=accept opt BOFHSUPPRESSBACKSCATTER=none [root@sol default]# cat etc/smtpaccess/default # Copyright 1998 - 1999 Double Precision, Inc. See COPYING for # distribution information. # # Default access policies for courieresmtpd # # By default, enable relaying for localhost. 127.0.0.1 allow,RELAYCLIENT 192.5.10 allow,RELAYCLIENT ..... NOTE: 192.5.10 is our internal IP ADDRESS range for this LAN. System is Red Hat Enterprise Linux 4 WS on an AMD64. Sendmail is turned off. I've been trying to figure out what's going on for 2 days and my head is pretty sore from beating it on my keyboard. :-) mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |