On 12.04.2012 13:54, Robert Bonomi wrote:
From [email protected] Thu Apr 12 15:09:43 2012
Date: Thu, 12 Apr 2012 13:01:10 -0700
From: Ron <[email protected]>
To: <[email protected]>
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 [email protected]) on the same
machine, but using the full email address, I get the following error
and
the email bounced back:
553 5.3.5 mail.mysite.com. 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 mysite.com and mail.mysite.com
(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 main.cf.
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 = mysite.com, mail.mysite.com
and it has no affect. The main.cf on my new machine is exactly the
same as the main.cf on my old machine except for:
virtual_alias_domains = mysite.com, mail.mysite.com
which contains the domain of my new machine.
master.cf is also identical.
Is there a verbose mode I can put postfix into to see that the issue
is?
It should also be noted that mysite.com 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 [email protected] produces the same MX error.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"