From owner-freebsd-questions@FreeBSD.ORG Thu Apr 12 20:07:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 698DC106564A for ; Thu, 12 Apr 2012 20:07:30 +0000 (UTC) (envelope-from rg.lists@rzweb.com) Received: from flabnapple.net (flabnapple.net [216.129.104.99]) by mx1.freebsd.org (Postfix) with ESMTP id 564E98FC12 for ; Thu, 12 Apr 2012 20:07:30 +0000 (UTC) Received: from mail.flabnapple.net (localhost [127.0.0.1]) by flabnapple.net (Postfix) with ESMTP id 0AEB41CC07E for ; Thu, 12 Apr 2012 13:01:11 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 12 Apr 2012 13:01:10 -0700 From: Ron To: Message-ID: <606a3fb9c92576166ef1af20bc4a906a@flabnapple2.net> X-Sender: rg.lists@rzweb.com User-Agent: RoundCube Webmail/0.7 Subject: Postfix + Courier IMAP local email problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2012 20:07:30 -0000 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 todd@mysite.com) 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 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). 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 second issue is if (again, SSH'd in an using mail) I send email to a local user without the @mysite.com (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. Everything works fine if I send email from a remote client (Thunderbird, Mail.app) and read the email with a remote client via IMAP. It's just the local email sending that seems to be broken. I'd like to get one of these two problems fixed so root can email me daily log files, which it can't do right now or I can't read via IMAP because they are't going to the right mailbox. Is there some simple I'm just messing up?