Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 13:15:51 -0700
From:      Chuck Swiger <>
To:        Ron <>
Subject:   Re: Postfix + Courier IMAP local email problems
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Apr 12, 2012, at 1:01 PM, Ron wrote:
> If I send email from a local user (while SSH'd in using the command line mail) to another local user (mail on the same machine, but using the full email address, I get the following error and the email bounced back:
> 553 5.3.5 config error: mail loops back to me (MX problem?)
> 554 5.3.5 Local configuration error
> The only thing I can think of is that and (the mx record) do not point to the same server (which they did on my old machine).  I have also tried everything I can think of in how users are listed in postfix's virtual file and in /etc/aliases and server entries in

You need to tell Postfix that and are local.
See the mydestination keyword in

> The second issue is if (again, SSH'd in an using mail) I send email to a local user without the (mail todd) then the email isn't available via IMAP externally.  I can read it using the command line mail, but not externally via IMAP.  These two mailboxs are completely separate and have two different lists of waiting email.

This implies you might be using a command line mail which does direct delivery to a Unix-style mailbox, but Postfix is using courier via mailbox_transport setting.  Postfix ought to come with a sendmail-ish wrapper which does delivery via Courier instead, probably under /usr/local/libexec/postfix/sendmail and linked to /usr/local/sbin/sendmail or similar via mailwrapper(8).


Want to link to this message? Use this URL: <>