From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 22:33:56 2008 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 ED02E1065673 for ; Tue, 24 Jun 2008 22:33:56 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id D08A78FC1B for ; Tue, 24 Jun 2008 22:33:56 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so10298699rvf.43 for ; Tue, 24 Jun 2008 15:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=FOm9xrEy6VPGiLF2lbrXjO4X8i5w+0bGZYBFRqbzoRc=; b=DOQwGLdJDsi/WHkTaQ66Qyrvm/E8BktUkk2P52kWf6DCL+mA/2oWYttCEBKRIyr+sr q5wibk5qZ8EyR3UydPjM6IHpU5pNl+U5z11rLg1XG4RvTr5nbaTCO8vYODnr5FUjQr6F 5+C6zmOEamzha6bc+SNtDOyoHcctuGSOLhqOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=d+hn+foFOSFpq9MAEVeqZMpeDtRPQwS/Ky3SfZJIrZdZCSmuYj9UbGbsWgojFQpY2N 1MXj8wnUoo+POp76UumgSbGmW6tFIESmsVLqqbqPrsa9/CgPhtOcJX+y2SI2EAvRbJSo BGBoL2zoD/pqe8yhcs471yL/QFUwNGLcOA8DE= Received: by 10.141.63.20 with SMTP id q20mr15527020rvk.258.1214346835871; Tue, 24 Jun 2008 15:33:55 -0700 (PDT) Received: by 10.114.254.11 with HTTP; Tue, 24 Jun 2008 15:33:55 -0700 (PDT) Message-ID: <8d23ec860806241533p666ec109m5e280204b0759b07@mail.gmail.com> Date: Tue, 24 Jun 2008 18:33:55 -0400 From: Schiz0 To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Sendmail && Google Apps Email - Not Working Together 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: Tue, 24 Jun 2008 22:33:57 -0000 Hey list, I have a FreeBSD 7.0-RELEASE box at "domain.tld". I decided I want to use Google Apps to handle my email accounts, so I set my MX records at "domain.tld" to point to google's servers. I don't want to accept any incoming mail on my FreeBSD box (It's firewalled off anyway), but I do want to be able to send outgoing mail. I have sendmail_enable="NO" in my /etc/rc.conf. Now, the problem is that I cannot send OUTGOING mail from the server itself to the @domain.tld email accounts. It isn't a firewall issue because the server can send mail out to any other address just fine. Below is the output of /var/log/maillog. I'm trying to send an email from the "irc" account on the server, to "staff@domain.tld". I think maybe sendmail is getting confused because the hostname of the FreeBSD box is also "domain.tld", the same host I'm trying to send outgoing mail to. Can anyone shed any light on the issue? Thanks! sendmail[980]: m5OMSGT1000980: from=irc, size=125, class=0, nrcpts=1, msgid=<200806242228.m5OMSGT1000980@domain.tld>, relay=irc@localhost sm-mta[981]: m5OMSLet000981: <-- MAIL From: SIZE=125 sm-mta[981]: m5OMSLet000981: --- 250 2.1.0 ... Sender ok sm-mta[981]: m5OMSLet000981: <-- RCPT To: sm-mta[981]: m5OMSLet000981: --- 550 5.1.1 ... User unknown sm-mta[981]: m5OMSLet000981: ... User unknown sm-mta[981]: m5OMSLet000981: <-- DATA sm-mta[981]: m5OMSLet000981: --- 503 5.0.0 Need RCPT (recipient) sendmail[980]: m5OMSGT1000980: to=staff@domain.tld, ctladdr=irc (1004/1004), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30125, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown sm-mta[981]: m5OMSLet000981: <-- RSET sm-mta[981]: m5OMSLet000981: --- 250 2.0.0 Reset state sm-mta[981]: m5OMSLet000981: from=, size=125, class=0, nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] sm-mta[981]: m5OMSLeu000981: <-- QUIT sm-mta[981]: m5OMSLeu000981: --- 221 2.0.0 tastetherainbow.ws closing connection