Help with Dovecot, Postfix and whacky results.
Daevid Vincent
daevid at daevid.com
Tue Jun 2 22:30:13 UTC 2009
I don't understand what's happening here.
Installed packages in question:
dovecot 1.1.4-0ubuntu1.2
postfix 2.5.5-1
and for the sake of completeness:
alpine 2.00+dfsg-1
roundcube 0.1.1-7ubuntu0.1
I have *my* user account "daevid" and everything works fantastic. I use
Outlook, Evolution, Alpine, Roundcube, and things are great!
$ ll /var/spool/mail
-rw-rw---- 1 daevid mail 1202532 2009-06-02 15:00 daevid
$ ll /home/daevid/mail
drwx------ 8 daevid daevid 4096 2009-06-02 15:04 .
drwxr-xr-x 57 daevid daevid 4096 2009-06-02 14:47 ..
-rw------- 1 daevid daevid 6387 2004-10-21 11:53 Drafts
drwx------ 3 daevid daevid 4096 2009-05-13 16:11 Friends
drwx------ 13 daevid daevid 4096 2009-05-13 16:11 .imap
drwx------ 4 daevid daevid 4096 2009-06-02 15:04 Jobs
-rw------- 1 daevid daevid 165663 2009-06-02 14:28 Junk E-mail
drwx------ 4 daevid daevid 4096 2009-06-02 15:04 Lists
drwx------ 3 daevid daevid 4096 2009-06-02 15:04 Other
-rw------- 1 daevid daevid 494 2009-02-09 22:56 saved-messages
-rw------- 1 daevid daevid 494 2009-02-09 22:56 sent-mail
-rw------- 1 daevid daevid 39280 2009-06-02 14:48 Sent Mail
-rw------- 1 daevid daevid 847522 2009-06-02 14:26 spam
-rw------- 1 daevid daevid 679 2009-05-24 18:52 .subscriptions
-rw------- 1 daevid daevid 9316 2009-05-15 21:39 Trash
You have mail in /var/mail/daevid
So then I added another user to my system and that user can't get mail via
ANY of the clients mentioned above!!?? WTF? Plus a new directory Maildir is
added to their home folder (and this is where new mail is showing up vs the
/var/spool/mail dir that my mail shows in):
root@:/var/spool/mail# ll
-rw-rw---- 1 daevid mail 1202532 2009-06-02 15:00 daevid
-rw-rw---- 1 mike mail 0 2009-05-20 13:11 mike
$ ll /home/mike/mail/
total 20
drwx------ 3 mike users 4096 2009-06-02 14:52 .
drwxr-xr-x 5 mike users 4096 2009-06-02 14:52 ..
drwx------ 3 mike users 4096 2009-06-02 14:42 .imap
-rw------- 1 mike users 498 2009-06-02 14:52 saved-messages
-rw------- 1 mike users 498 2009-06-02 14:52 sent-mail
$ ll /home/mike/Maildir/
total 20
drwx------ 5 mike users 4096 2009-06-02 14:48 .
drwxr-xr-x 5 mike users 4096 2009-06-02 14:52 ..
drwx------ 2 mike users 4096 2009-06-02 14:48 cur
drwx------ 2 mike users 4096 2009-06-02 14:48 new
drwx------ 2 mike users 4096 2009-06-02 14:48 tmp
If I send a test message from Alpine ON my server to this new account, it
will show up in this folder (and not in /var/spool/mail as *my* mail does.
huh?
$ ll /home/mike/Maildir/new
total 12
drwx------ 2 mike users 4096 2009-06-02 14:48 .
drwx------ 5 mike users 4096 2009-06-02 14:48 ..
-rw------- 1 mike users 748 2009-06-02 14:48
1243979295.V801I1abe007M273661.daevid.com
$ cat /home/mike/Maildir/new/1243979295.V801I1abe007M273661.daevid.com
--------------------------------------------------------------------------
Return-Path: <daevid at example.com>
X-Original-To: mike at example.com
Delivered-To: mike at example.com
Received: by example.com (Postfix, from userid 1000)
id 32ED3C047AD; Tue, 2 Jun 2009 14:48:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
by daevid.com (Postfix) with ESMTP id 2FA0BC04386
for <mike at example.com>; Tue, 2 Jun 2009 14:48:15 -0700 (PDT)
Date: Tue, 2 Jun 2009 14:48:15 -0700 (PDT)
From: Daevid Vincent <daevid at example.com>
To: mike at example.com
Subject: a test message server to server
Message-ID: <alpine.DEB.2.00.0906021447290.17722 at example.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
did this go anywhere?
--------------------------------------------------------------------------
So what really baffles me is that I don't understand why one account would
work fine and the other wouldn't? Shouldn't this be an all or nothing
situation? And how do I fix it so that other accounts work like mine does?
I do use procmail in my account, but I don't see any setting that tells it
to redirect to /var/spool/mail
http://www.daevid.com/content/examples/procmail.php
I have two files that he doesn't have but they don't look useful:
$ cat .mailrc
set crt=24
set ask askcc metoo hold noheader
ignore received message-id status
cat .mailboxlist
/home/daevid/Mail/SVLUG
/home/daevid/Mail/posted
rii
Templates
INBOX
~/mail/Lists
~/mail/Other
~/mail/spam
~/Mail/Friends
~/Mail/Other
~/Mail/spam
Sent mail
Trash
...
[and it has 209 lines in it like that]
...help.
More information about the ubuntu-users
mailing list