Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 20:28:40 -0700
From:      Ron <>
To:        Robert Bonomi <>
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 12.04.2012 13:54, Robert Bonomi wrote:
>> From  Thu Apr 12 15:09:43 2012
>> Date: Thu, 12 Apr 2012 13:01:10 -0700
>> From: Ron <>
>> To: <>
>> Subject: Postfix + Courier IMAP local email problems
>> I'm having a couple of issues with postfix and courier-imap on my 
>> new
>> machine and I'm trying to figure out what is different from my old
>> machine.  I've checked every config file I think of and they both 
>> seem
>> to be set up the same.
>> Here are the two issues:
>> 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
> this is a 'well known' problem.
>> 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).
> it's not that sample.  <grin>
>>                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
> The problem is that the 'local' machine DOES NOT KNOW that it is 
> supposed
> to accept mail for the domain specified in the email addressz.
>   The server looks at the address, determines that it is *NOT* local,
> by whatever means 'postfix' uses to make that determination (it's the
> 'w' class in Sendmail), and goes off to query DNS for the MX for the
> 'remote' machine to send mail to.  DNS returns "this" (the one asking 
> for
> the 'remote' machine name) machine as the destination to deliver to.
> the local server =knows= that is incorrect, because it is not the 
> delivery
> point for that domain.  hence the error message, and 'return to 
> sender'
> as undeliverable.
> This _is_ a configuration error in (probably) the local mailserver, 
> or in
> the way the local hostname/domainname are set up..

I guess the question is: What is the configuration error?

I've tried setting:

mydestination =,

and it has no affect.  The on my new machine is exactly the 
same as the on my old machine except for:

virtual_alias_domains =,

which contains the domain of my new machine. is also identical.

Is there a verbose mode I can put postfix into to see that the issue 

It should also be noted that is a postfix virtual domain.  
This was true of my old machine as well, but I don't know if that 
matters.  Sending email to produces the same MX error.

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