PDA

View Full Version : Unable to send emails out. Local delivery ok


beeman
2nd February 2008, 19:46
Hi
Due to a HD crash had to reinstall Dapper and ISP Config. Had a problem with gcc4.1.2 and reverted to gcc 3.4 plus modded file as per: http://www.howtoforge.com/forums/showthread.php?t=19222 Thanks very much. But whilst everything seems to be working no emails are arriving 'outside' internal emails are working fine. Incoming emails/spam also fine. To help:- I had to set up server at another location and re set /etc/network/interfaces and /etc/hosts to current host. Secondly the Outlook 'test' message does not work and thirdly I cannot ssh in from other than the same network. I suspect DNS settings - it works on local (192.168.1.250) but not on mailserver.martley.org. Any help would be appreciated from this 'newbie'

falko
3rd February 2008, 20:16
Does mailserver.martley.org point to the right server?

mh1:~# dig mailserver.martley.org

; <<>> DiG 9.3.4 <<>> mailserver.martley.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61045
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mailserver.martley.org. IN A

;; ANSWER SECTION:
mailserver.martley.org. 86400 IN A 86.53.36.56

;; Query time: 76 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Sun Feb 3 19:16:16 2008
;; MSG SIZE rcvd: 56

mh1:~#

beeman
4th February 2008, 01:53
Thanks so much - yes right server IP but found wrong IP in /etc/resolv.conf ie one that had been set up automatically when I loaded Dapper. Afraid I didn't know to look there but a friend did (Thanks Tom)!
He also cleared the problem in .ssh/known_hosts to get the ssh working.
Seems to be working OK now.
Only thing not working is Outlook test message!