Help configuring email server...

linux at bizniche.com linux at bizniche.com
Tue Oct 5 13:40:01 CDT 2004


Hey everyone:

For some reason, understanding how to run a for-fun email server is
beyond me.  So, I'm trying to get this configured one step at a time. 
I find some tutorials online that say..."Yeah, just setup exim,
fetchmail, squirrelmail, courier-imap, and spamassassin and you're
almost there!"  That sounds like a lot to me.  So...I'm starting small.
 First things first, I want to get exim working with courier-imap.  

Here is my setup, then I will show the errors I'm getting:

Debain Testing
exim
courier-imap
Timewarner cable
mdg.homelinux.org pointing from dyndns.org to my server.  

Here is a snip of my exim conf. (the parts that seem relevant)
=====
host_accept_relay = 127.0.0.1 : ::::1
host_auth_accept_relay = *
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  #file = /var/mail/${local_part}
  directory=${home}/Maildir
  maildir_format = true
  prefix=""
===================

My /etc/login.defs file has:
QMAIL_DIR    Maildir/
#MAIL_DIR             
MAIL_FILE    Maildir/

==================

And my /etc/pam.d file has:
session optional pam_mail.so standard noenv dir=~/Maildir

===================

In my home dir, I have a .forward with:
~/Maildir

I also have a folder called Maildir with mdg:mail ownership.

====================

Now, when I log into mutt, and send a test mail somewhere, it works just
fine.  Comes from mdg at mdg.homelinux.org.  When I try to mail back, I
get this header:
 ----- Message header follows -----

Received: by 10.11.98.52 with SMTP id v52mr399875cwb;
       Mon, 04 Oct 2004 08:47:12 -0700 (PDT)
Received: by 10.11.98.53 with HTTP; Mon, 4 Oct 2004 08:47:12 -0700 (PDT)
Message-ID: <ed8871fe04100408471c08b76b at mail.gmail.com>
Date: Mon, 4 Oct 2004 10:47:12 -0500
From: Matt Graham <gerter at gmail.com>
Reply-To: Matt Graham <gerter at gmail.com>
To: Matt Graham <mdg at mdg.homelinux.org>
Subject: Re: Testing
In-Reply-To: <20041004154344.GA3243 at mdg.homelinux.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <20041004154344.GA3243 at mdg.homelinux.org>
========================


And I see this in my exim log:


2004-10-05 13:08:02 Start queue run: pid=5976
2004-10-05 13:08:02 1CEnRF-0001Pe-00 == ~/Maildir/@mdg.homelinux.org
<mdg at mdg.homelinux.org> directing defer (-41): retry time not reached
2004-10-05 13:08:02 1CEXlE-000104-00 == ~/Maildir/@mdg.homelinux.org
<mdg at mdg.homelinux.org> directing defer (-41): retry time not reached
2004-10-05 13:08:02 1CEXfM-0000zL-00 == ~/Maildir/@mdg.homelinux.org
<mdg at mdg.homelinux.org> directing defer (-41): retry time not reached
2004-10-05 13:08:02 1CEXIh-0000xp-00 == ~/Maildir/@mdg.homelinux.org
<mdg at localhost> directing defer (-41): retry time not reached
2004-10-05 13:08:02 1CEXIg-0000xp-00 == ~/Maildir/@mdg.homelinux.org
<mdg at localhost> directing defer (-41): retry time not reached
2004-10-05 13:08:02 1CEXcW-0000zA-00 == ~/Maildir/@mdg.homelinux.org
<mdg at mdg.homelinux.org> directing defer (-41): retry time not reached
2004-10-05 13:08:02 End queue run: pid=5976

========================

My mail never gets delivered to ~/Maildir.  Can anyone see what I'm
doing wrong?  

Sorry for the huge email...just trying to give as much info as possible.

Matt



More information about the Kclug mailing list