Index: [Article Count Order] [Thread]

Date:  Wed, 16 Aug 2006 12:13:18 -0700
From:  "Bruce Timberlake" <brucetimberlake (at mark) gmail.com>
Subject:  [coba-e:06396] Re: bogus mail
To:  coba-e (at mark) bluequartz.org
Message-Id:  <f76f5d3e0608161213s6191944cuf5e5bfe6cb954742 (at mark) mail.gmail.com>
In-Reply-To:  <44E36AAC.6040809 (at mark) mixfans.org>
References:  <20060816132844.E6CC414103D1 (at mark) port995.com>	 <44E3533E.5050105 (at mark) mixfans.org>	 <118a01c6c15a$66dd3bb0$6700a8c0 (at mark) OfficeKen>	 <44E35E3D.7010601 (at mark) mixfans.org>	 <121001c6c161$0ac52ac0$6700a8c0 (at mark) OfficeKen>	 <44E36AAC.6040809 (at mark) mixfans.org>
X-Mail-Count: 06396

> > Is the home/.sites/28/site1/.users/29/lilian/mbox owned by
> > lilian:site1    ?
> >
> Yup .. it is, but it's not only this user ... I see it's a ln or
> symbolic link to /mail/saved-messages
> 58 bytes big.

The symlink was set up by openwebmail. I haven't figured out why they
want the saved-messages folder as the inbox.

I just (like 2 days ago) migrated a bunch of domains from a 550 to a
BQ box, then installed openwebmail. All the mbox symlinks on the BQ
box were wrong, as they are not part of the CMU "checklist" of site
renumberings to deal with; CMU treats them just as any other
symlink/file.

The first time inbound mail delivery is attempted, it fails, since the
mbox symlink points to a non-existent file. Sendmail (I think) renames
mbox to BOGUS.username.random and then recreates a new clean mbox file
to deliver the mail into.

We checked mail via openwebmail after the new mbox file was created
(not a symlink), and the symlink is not needed; openwebmail reads from
mbox just fine, saves into the folders in ~/mail just fine, etc.

So I did this command to purge all the other "bad" symlinks on the new
BQ server:

  cd /home/.users
  find . -name "mbox" -type l -exec rm {} \;

Now, whenever a new messages comes in for a user, the mbox file is
recreated and everybody is happy.