I followed these instructions in order to send mail and here's the Postfix log:
Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang postfix/cleanup[5810]: 8EE2464931: message-id=<20110925224624.8EE2464931@tshepang> Sep 26 00:47:44 tshepang postfix/qmgr[5772]: 8EE2464931: from=<[email protected]>, size=350, nrcpt=1 (queue active) Sep 26 00:48:04 tshepang postfix/smtp[5859]: 8EE2464931: to=<[email protected]>, relay=none, delay=127, delays=107/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again) Sep 26 00:48:39 tshepang postfix/smtpd[5728]: disconnect from localhost[127.0.0.1] Also, this may be relevant (from "/etc/postfix/main.cf"):
myhostname = tshepang mydestination = tshepang, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 inet_interfaces = all inet_protocols = all I am running this on Debian 6.
/etc/resolv.conffor invalid/non-responding resolvers. Try to do ahost gmail.com; see if you get results.host gmail.comgivesgmail.com has address 74.125.233.24on the line, and then;; connection timed out; no servers could be reachedon the second. But it's strange because I can ping it.host -t mx gmail.com? You're right, though, this is somewhat odd.resolv.conf, possibly due tonetwork-managerorresolvconfnot quite playing ball.