Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th September 2008, 05:47
almeister9 almeister9 is offline
Member
 
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Red face JOY OF JOYS! ... NEARLY... so close now.

OK. after following Falko's howto Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS) several times I have finally got some real results.
I can log into phpmyadmin.
I can create a domain and a user.
I can send a welcome mail using mailx, and it is recieved.
I can log into squirrelmail and see the welcome email

I can send an email to that address from an external account and it is received.
BUT.
I cannot send emails from that account.

using: less /var/log/mail.log I see that it cant resolve the domain names.
Quote:
Sep 20 13:13:16 smail postfix/smtpd[8032]: connect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:16 smail postfix/smtpd[8032]: 0C39F3200CE: client=localhost.localdomain[127.0.0.1]
Sep 20 13:13:16 smail postfix/cleanup[8022]: 0C39F3200CE: message-id=<1820.10.1.1.2.1221880380.squirrel@10.1.1.55>
Sep 20 13:13:16 smail postfix/qmgr[7773]: 0C39F3200CE: from=<news@scribalpublishingmail.com.au>, size=1312, nrcpt=1 (queue active)
Sep 20 13:13:16 smail postfix/smtpd[8032]: disconnect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:16 smail amavis[7750]: (07750-02) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <news@scribalpublishingmail.com.au> -> <al@dvdindustry.com.au>, Message-ID: <1820.10.1.1.2.1221880380.squirrel@10.1.1.55>, mail_id: 5d9krlj1o-p2, Hits: 3.521, size: 783, queued_as: 0C39F3200CE, 15638 ms
Sep 20 13:13:16 smail postfix/smtp[8023]: 5CCB93200CD: to=<al@dvdindustry.com.au>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=0.06/0/0.01/16, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0C39F3200CE)
Sep 20 13:13:16 smail postfix/qmgr[7773]: 5CCB93200CD: removed
Sep 20 13:13:36 smail postfix/smtp[8036]: 0C39F3200CE: to=<al@dvdindustry.com.au>, relay=none, delay=20, delays=0.02/0.02/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=dvdindustry.com.au type=MX: Host not found, try again)
Sep 20 13:13:40 smail postfix/smtpd[8019]: connect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:40 smail postfix/smtpd[8019]: D6AD93200D3: client=localhost.localdomain[127.0.0.1]
Sep 20 13:13:40 smail postfix/cleanup[8022]: D6AD93200D3: message-id=<1842.10.1.1.2.1221880420.squirrel@10.1.1.55>
Sep 20 13:13:40 smail postfix/qmgr[7773]: D6AD93200D3: from=<news@scribalpublishingmail.com.au>, size=782, nrcpt=1 (queue active)
Sep 20 13:13:40 smail postfix/smtpd[8019]: disconnect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:40 smail imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 20 13:13:40 smail imapd: LOGIN, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], port=[47861], protocol=IMAP
Sep 20 13:13:41 smail imapd: LOGOUT, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=655, sent=203, time=1
Sep 20 13:13:41 smail imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 20 13:13:41 smail imapd: LOGIN, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], port=[47863], protocol=IMAP
Sep 20 13:13:41 smail imapd: LOGOUT, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], headers=142, body=0, rcvd=294, sent=1320, time=0
Sep 20 13:13:45 smail imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 20 13:13:45 smail imapd: LOGIN, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], port=[47868], protocol=IMAP
Sep 20 13:13:45 smail imapd: LOGOUT, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], headers=436, body=0, rcvd=311, sent=1844, time=0
Sep 20 13:13:45 smail postfix/smtpd[8032]: connect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:45 smail postfix/smtpd[8032]: BD27F3200D4: client=localhost.localdomain[127.0.0.1]
Sep 20 13:13:45 smail postfix/cleanup[8022]: BD27F3200D4: message-id=<1842.10.1.1.2.1221880420.squirrel@10.1.1.55>
Sep 20 13:13:45 smail postfix/qmgr[7773]: BD27F3200D4: from=<news@scribalpublishingmail.com.au>, size=1311, nrcpt=1 (queue active)
Sep 20 13:13:45 smail postfix/smtpd[8032]: disconnect from localhost.localdomain[127.0.0.1]
Sep 20 13:13:45 smail amavis[7751]: (07751-02) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <news@scribalpublishingmail.com.au> -> <almeister9g@gmail.com>, Message-ID: <1842.10.1.1.2.1221880420.squirrel@10.1.1.55>, mail_id: ELfVBgnyZ4pJ, Hits: 3.521, size: 782, queued_as: BD27F3200D4, 4865 ms
Sep 20 13:13:45 smail postfix/smtp[8023]: D6AD93200D3: to=<almeister9g@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.9, delays=0.07/0/0/4.9, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BD27F3200D4)
Sep 20 13:13:45 smail postfix/qmgr[7773]: D6AD93200D3: removed
Sep 20 13:13:52 smail imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 20 13:13:52 smail imapd: LOGIN, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], port=[47870], protocol=IMAP
Sep 20 13:13:52 smail imapd: LOGOUT, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], headers=142, body=0, rcvd=294, sent=1320, time=0
Sep 20 13:14:05 smail postfix/smtp[8036]: BD27F3200D4: to=<almeister9g@gmail.com>, relay=none, delay=20, delays=0.02/0/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 20 13:16:42 smail imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 20 13:16:42 smail imapd: LOGIN, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], port=[60298], protocol=IMAP
Sep 20 13:16:42 smail imapd: LOGOUT, user=news@scribalpublishingmail.com.au, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
I am using a D-Link DSL 504T 4-port adsl modem router and I have added port forwarding by adding the following server rules to static IP 10.1.1.55 (my mail server):
SMTP port 25
POP3 port 110
IMAP ports 143, 585, 993
all these are TCP (not UDP)

the bit that I think is the clue is
Quote:
(Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
I have my name server listed as 10.1.1.1 (my router) is this correct, should it maybe be the name server of my ISP or the name server of my DNS host (my DNS is hosted by the same place that the domain name is registered with).

If I do need to change this name server value, could any helpers please include places where I need to change it.

Thanx in advance.
Cheers
Reply With Quote
Sponsored Links
  #2  
Old 20th September 2008, 10:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
 
Default

Please edit the file /etc/resolv.conf and make sure that the nameserver listed in that file is reachable from your server. Use e.g. the nameserver of your cable access provider.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
almeister9 (21st September 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD can not close uploaded files rdmandel HOWTO-Related Questions 5 4th August 2008 16:04
So close to getting 3D on my ATI graphics card, please help me finish thirtythree HOWTO-Related Questions 6 27th September 2007 22:04
Please, anyone help... really close to installing ISPConfig mcroteau105 HOWTO-Related Questions 1 17th May 2007 12:31
How to Program "Closed or Close DNS Server" bpmee Suggest HOWTO 1 14th October 2006 09:21
Close All Port Using Iptables !! pinguingilo Installation/Configuration 3 4th July 2006 06:08


All times are GMT +2. The time now is 07:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.