Problems when trying to use gmail for mail forwarding

October 2, 2011 at 8:42 pm Leave a comment

You can set up postfix to forward mail via gmail (http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/). This is nice because it lets you use command line tools to send mail without you have to go the whole hog and implement a mail server.

When I tried to do this I got the following error, despite my dns plainly failing

Oct 2 21:03:20 moment postfix/smtp[14469]: 431DAE045C: to=, relay=none, delay=984, delays=984/0.04/0/0, dsn=4.4.3, status=deferred (
Host or domain name not found. Name service error for name=smtp.gmail.com type=A
: Host not found, try again)

This mail explained what was going on (http://www.sslug.dk/~chlor/postfix/http://www.sslug.dk/~chlor/postfix/). Apparently postfix does its own dns – which is a little crazy, and my resolv.conf file was missing. I think this is ever so slightly broken….

P.S Gmail will mangle your from address but it’s okay for small personal tools.

Advertisements

Entry filed under: Uncategorized.

Converting ordnance survey coordinates into templates within wikipedia markup Automatic security updates on Centos and Redhat

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


October 2011
M T W T F S S
« Sep   Nov »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

%d bloggers like this: