okey, the network looks like this
wan/ISP<->router<->server (<-> webserver)
the dns client is installed on server, not on the virtual webserver.
this is the error…
May 29 20:53:19 webservern postfix/smtp[5003]: 330E3123EFB: to=, relay=none, delay=84411, delays=84391/0.06/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)
Well, the contents of your /etc/resolv.conf file specify what DNS servers your server would be using. Since it appears that your server isn’t able to perform DNS lookups, there may be a problem with the DNS servers listed in /etc/resolv.conf.
Whenever you’re able to log in, my suggestion would be to review that file, and verify that all the nameservers listed in it are working properly.