Help me to install RoundCube

Discussion in 'General' started by MacSIM, Apr 15, 2008.

  1. apage

    apage New Member

    More

    Here is some more:

    May 25 14:13:56 itholdings postfix/smtpd[11116]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    May 25 14:13:56 itholdings postfix/smtpd[11116]: connect from 22.dd.1343.static.theplanet.com[67.19.221.34]
    May 25 14:13:57 itholdings postfix/smtpd[11116]: NOQUEUE: reject: RCPT from 22.dd.1343.static.theplanet.com[67.19.221.34]: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<server3.golevel.com>
    May 25 14:13:58 itholdings postfix/smtpd[11116]: disconnect from 22.dd.1343.static.theplanet.com[67.19.221.34]
    May 25 14:17:18 itholdings postfix/anvil[11118]: statistics: max connection rate 1/60s for (smtp:67.19.221.34) at May 25 14:13:56
    May 25 14:17:18 itholdings postfix/anvil[11118]: statistics: max connection count 1 for (smtp:67.19.221.34) at May 25 14:13:56
    May 25 14:17:18 itholdings postfix/anvil[11118]: statistics: max cache size 1 at May 25 14:13:56
     
  2. Hans

    Hans Moderator Moderator

    It seems that your full qualified domain name has not been setup correctly.
    What's the output of: hostname -f ?
     
  3. apage

    apage New Member

    erm

    How do I get the output of hostname -f Do I type that in a terminal window???

    just typed hostname -f into the terminal and it cameback itholdings.itholdings.co.nz
     
    Last edited: May 27, 2008
  4. Hans

    Hans Moderator Moderator

    Yes indeed. Login as root via SSH by using Putty or something like that if you don't have access directly.
     
  5. apage

    apage New Member

    hostname -f

    itholdings.itholdings.co.nz
     
  6. Hans

    Hans Moderator Moderator

    Is the output of the command hostname -f the same as the output of the command: hostname ?

    What's the output of the command: netstat -tap ?

    Do you have an A-record pointing to your server IP within the DNS-records of your ISP?
     
  7. apage

    apage New Member

    help

    No hostname just produces itholdings



    itholdings:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost:60000 *:* LISTEN 2 3770/postgrey.pid
    tcp 0 0 *:imaps *:* LISTEN 2 3366/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 2 3366/dovecot
    tcp 0 0 localhost:mysql *:* LISTEN 1 7781/mysqld
    tcp 0 0 *:11211 *:* LISTEN 1 4022/memcached
    tcp 0 0 *:pop3 *:* LISTEN 2 3366/dovecot
    tcp 0 0 *:imap2 *:* LISTEN 2 3366/dovecot
    tcp 0 0 *:smtp *:* LISTEN 1 3609/master
    tcp6 0 0 *:www *:* LISTEN 8 249/apache2
    tcp6 0 0 *:ssh *:* LISTEN 5 757/sshd
    tcp6 0 68 itholdings.itholdin:ssh testpc1.interware:53303 ESTABLISHED4 460/sshd: unknown
    tcp6 0 1484 itholdings.itholdin:ssh 121-73-39-227.cab:62216 ESTABLISHED4 348/0

    Would it be easier for me to send you a private message with my login details to ssh for putty and winscp so you can go have a look???

    Or talk me through it on MSN??

    I really appreciate your help with this though :)
     
    Last edited: May 27, 2008
  8. apage

    apage New Member

    Erm

    Do you have an A-record pointing to your server IP within the DNS-records of your ISP?

    How do I check that??
     
  9. Hans

    Hans Moderator Moderator

    I am not completely sure if i can help you out, so i prefer that others can read it as well to asist us.
    Step by step otherwise we fall.

    What i can tell you is that you need to set your hostname again.
    The output of hostname must be the same as the output of hostname -f

    Please repeat the step 5 here: http://www.howtoforge.com/perfect_setup_debian_etch_p3
     
  10. apage

    apage New Member

    Help

    Ok.

    I know nothing about setting up a dedicated server so please bare with my ignorant questions lol...

    Where do I get these folowing settings frome??

    Address: IP address of server?? The one I use to login to ssh??
    Netmask:
    Network?:
    Broadcast:
    Gateway:

    Should my hostname be itholdings.itholdings.co.nz or just itholdings.co.nz or something.itholdings.co.nz where "something" = anything I like?

    Where do I get ip6 settings??
     
  11. Hans

    Hans Moderator Moderator

    If your server is within a datacenter, your ISP should provide these information.
     
  12. apage

    apage New Member

    Help

    Is it not kept in a file on the server??

    My hosting company are not the most helpful of people....

    Otherwise I will have to email them.....
     
  13. Hans

    Hans Moderator Moderator

    What's the output of the command: ifconfig ?
     
  14. apage

    apage New Member

    ifconfig

    eth0 Link encap:Ethernet HWaddr 00:15:58:9C:2D:5A
    inet addr:202.49.189.125 Bcast:202.49.189.255 Mask:255.255.255.0
    inet6 addr: fe80::215:58ff:fe9c:2d5a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4474842 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3467457 errors:0 dropped:0 overruns:0 carrier:0
    collisions:926733 txqueuelen:1000
    RX bytes:2956985289 (2.7 GiB) TX bytes:1432973069 (1.3 GiB)
    Interrupt:193 Base address:0xd000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:20217 errors:0 dropped:0 overruns:0 frame:0
    TX packets:20217 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2627304 (2.5 MiB) TX bytes:2627304 (2.5 MiB)
     
  15. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    route -nee
    ?

    The A record is ok:
    Code:
    mh1:~# dig apage.co.nz
    
    ; <<>> DiG 9.3.4 <<>> apage.co.nz
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3376
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;apage.co.nz.                   IN      A
    
    ;; ANSWER SECTION:
    apage.co.nz.            600     IN      A       202.49.189.125
    
    ;; Query time: 883 msec
    ;; SERVER: 145.253.2.75#53(145.253.2.75)
    ;; WHEN: Wed May 28 16:08:08 2008
    ;; MSG SIZE  rcvd: 45
    
    mh1:~#
    but you should set up an MX record as well:
    Code:
    mh1:~# dig mx apage.co.nz
    
    ; <<>> DiG 9.3.4 <<>> mx apage.co.nz
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34256
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;apage.co.nz.                   IN      MX
    
    ;; AUTHORITY SECTION:
    apage.co.nz.            600     IN      SOA     ns1.itholdings.co.nz. admin.itholdings.co.nz. 0 86400 7200 86400 600
    
    ;; Query time: 339 msec
    ;; SERVER: 145.253.2.75#53(145.253.2.75)
    ;; WHEN: Wed May 28 16:08:12 2008
    ;; MSG SIZE  rcvd: 86
    
    mh1:~#
     
  16. apage

    apage New Member

    route -nee

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
    202.49.189.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0
    0.0.0.0 202.49.189.1 0.0.0.0 UG 0 0 0 eth0 0 0 0
     
  17. apage

    apage New Member

    MX Record

    How do I create an MX Record???

    Also my hostname and hostname -f are still not the same does this matter?
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Your gateway is 202.49.189.1, the netmask is 255.255.255.0, the network address 202.49.189.0, and the broadcast address 202.49.189.255.

    Please put the right hostname in /etc/hostname and run
    Code:
    /etc/init.d/hostname.sh start
    There's another problem: there are no name servers defined for your domain:
    Code:
    mh1:~# dig ns apage.co.nz
    
    ; <<>> DiG 9.3.4 <<>> ns apage.co.nz
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35403
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;apage.co.nz.                   IN      NS
    
    ;; AUTHORITY SECTION:
    apage.co.nz.            600     IN      SOA     ns1.itholdings.co.nz. admin.itholdings.co.nz. 0 86400 7200 86400 600
    
    ;; Query time: 1211 msec
    ;; SERVER: 145.253.2.75#53(145.253.2.75)
    ;; WHEN: Thu May 29 18:56:43 2008
    ;; MSG SIZE  rcvd: 86
    
    mh1:~#
    Please go to your registrar's web interface and specify name servers (usually you can use the ones from your registrar). In the same web interface you can also define MX records (if you use your registrar's name servers).
     
  19. apage

    apage New Member

    Hostname

    Please put the right hostname in /etc/hostname and run...

    What is the correct hostname to put in this gile? at the moment it is itholdings

    is that correct or should it be itholdings.co.nz???
     
  20. apage

    apage New Member

    hostname

    hostname itholdings.co.nz
    hostname -f itholdings.co.nz
     

Share This Page