Sendmail && Google Apps Email - Not Working Together



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@xxxxxxxxxx". 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@xxxxxxxxxx>, relay=irc@localhost
<snip>
sm-mta[981]: m5OMSLet000981: <-- MAIL From:<irc@xxxxxxxxxx> SIZE=125
sm-mta[981]: m5OMSLet000981: --- 250 2.1.0 <irc@xxxxxxxxxx>... Sender ok
sm-mta[981]: m5OMSLet000981: <-- RCPT To:<staff@xxxxxxxxxx>
sm-mta[981]: m5OMSLet000981: --- 550 5.1.1 <staff@xxxxxxxxxx>... User unknown
sm-mta[981]: m5OMSLet000981: <staff@xxxxxxxxxx>... User unknown
sm-mta[981]: m5OMSLet000981: <-- DATA
sm-mta[981]: m5OMSLet000981: --- 503 5.0.0 Need RCPT (recipient)
sendmail[980]: m5OMSGT1000980: to=staff@xxxxxxxxxx, 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=<irc@xxxxxxxxxx>, 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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • PLEASE HELP!!
    ... I can receive emails through OE but can't send any. ... The message could not be sent because the server rejected the sender's ... My email accounts are working fine directly - it's just OE that distorts ... outgoing mail. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • RE: freebsd-questions Digest, Vol 52, Issue 3
    ... To subscribe or unsubscribe via the World Wide Web, ... bypassing a proxy server ... > As some of you may recall, I'm engaged in an ongoing saga trying to set> up a FreeBSD machine on a school's network. ...
    (freebsd-questions)
  • Re: Question
    ... >I am a network manager for a small government. ... >proprietary to something like FreeBSD or linux? ... Are server needs are currently simple and we only have one NT4 server ...
    (freebsd-newbies)
  • RE: FreeBSD Security Survey
    ... Your also ignoring the fact that many security holes are a lot ... queries to this server to the NAS only. ... server with a new version of FreeBSD. ... Your survey responses lack any responses that indicate that leaving ...
    (freebsd-questions)
  • Re: freebsd reseller
    ... 2000 for workstations and 2000 Server for servers. ... FreeBSD and OpenBSD. ... When I try to install dvips I get the following ... >> I'm not at all familiar with firewire stuff. ...
    (freebsd-questions)