delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/10/03:18:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>
Subject: Re: exim and imap3d
Date: Sun, 10 Jul 2005 02:17:44 -0500
Lines: 42
Message-ID: <daqi1n$6dm$1@sea.gmane.org>
References: <42D0845A DOT 8648 DOT 5D91C7 AT localhost>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <42D0845A.8648.5D91C7@localhost>
X-IsSubscribed: yes

Wes S wrote:

> I've spent most of saturday trying to get exim and imap3d to work.  
> By inserting a bunch of echo "some thing" statements in the exim-conf 
> file, I figured out where the config script was bombing on me.  So 
> exim seems to be working a-ok.  At least it sends and I can get pine 
> to read my /var/spool/mail/(user).
> 
> However, I'd like to use a windows mail program so I need to get 
> imap3d to work.  
> 
> Using filemon from www.sysinternals.com (tip found searching this 
> list archives), I figured out that ipop3d is looking for mail in 
> /var/mail/(user).  Let me verify, create directories, copy a user to 
> /var/mail and try getting mail via ipop3d.  Works!  So ipop3d works, 
> my settings in mozzila work, I got inetd working, yada yada.
> 
> Well, obviously I need to tell exim to put mail somewhere else so I 
> changed the exim.conf file to use what ipop3d wanted.  I rebooted the 
> pc rather than send HUP to exim, figured had the same effect.
> 
> So in exim.conf I changed this:
> 
> local_delivery:
>   driver = appendfile
>   file = /var/mail/$local_part
> 
> Now I get 2005-07-09 21:27:41 IJDXRD-0001D4-AT == wess AT wess DOT mdns DOT org 
> R=localuser T=local_delivery defer (13): Permission denied: creating 
> lock file hitching post 
[snip]

Permission denied is the clue here, you should have read the comments above the
part of exim's configuration you changed.  Copy the permissions of the original
spool directory (/var/spool/mail/) to the one you made (/var/mail):

   chmod --reference=/var/spool/mail /var/mail
   chown --reference=/var/spool/mail /var/mail

That should do it.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019