Perfect Setup Suse 10 can send but not receive mail

Discussion in 'HOWTO-Related Questions' started by Grizzly, Feb 21, 2006.

  1. Grizzly

    Grizzly New Member

    It's been 26hrs since I Made the change +-
     
  2. falko

    falko Super Moderator Howtoforge Staff

    server1.webpapagedirect.co.za still doesn't exist in DNS:

    Code:
    dig server1.webpapagedirect.co.za
    
    ; <<>> DiG 9.2.1 <<>> server1.webpapagedirect.co.za
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11690
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;server1.webpapagedirect.co.za. IN      A
    
    ;; AUTHORITY SECTION:
    co.za.                  10800   IN      SOA     ns0.coza.net.za. root.ns0.coza.net.za. 1060303018 28800 7200 2592000 86400
    
    ;; Query time: 46 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Fri Mar  3 16:14:22 2006
    ;; MSG SIZE  rcvd: 101
     
  3. Grizzly

    Grizzly New Member

    totally lost

    Should I

    A: wait for the full 72 hours before I do anything
    B: somehow change server1.webpagedirect.co.za to
    www.webpagedirect.co.za on the server itself
    C: change my settings at my registrar that would be the authoritive NS "coza"
    from www.webpagedirect.co.za to server1.webpagedirect.co.za

    I'm lost, but optimistic.

    if I dig mx webpagedirect.co.za
    I get

    ; <<>> DiG 9.3.1 <<>> mx webpagedirect.co.za
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44344
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;webpagedirect.co.za. IN MX

    ;; ANSWER SECTION:
    webpagedirect.co.za. 85858 IN MX 0 server1.webpagedirect.co.za.

    ;; Query time: 42 msec
    ;; SERVER: 168.210.2.2#53(168.210.2.2)
    ;; WHEN: Fri Mar 3 20:01:17 2006
    ;; MSG SIZE rcvd: 61

    Is this atleast a step in the right way?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That's ok, and now you must create an A record for server1.webpagedirect.co.za on ns0.coza.net.za (that's the authoritative name server for your domain).
     
  5. Grizzly

    Grizzly New Member

    This is done on zoneedit

    The guys at coza say that I should do this at zoneedit, which Ive done as below In the IP-address A-record section on zoneedit

    IP Addresses
    Name Numeric IP
    webpagedirect.co.za 196.33.247.203
    ftp.webpagedirect.co.za 196.33.247.203
    pop3.webpagedirect.co.za 196.33.247.203
    server1.webpagedirect.co.za 196.33.247.203
    smtp.webpagedirect.co.za 196.33.247.203
    www.webpagedirect.co.za 196.33.247.203
     
  6. falko

    falko Super Moderator Howtoforge Staff

    It's working now:

    Code:
    dig server1.webpagedirect.co.za
    
    ; <<>> DiG 9.2.1 <<>> server1.webpagedirect.co.za
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60000
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;server1.webpagedirect.co.za.   IN      A
    
    ;; ANSWER SECTION:
    [B][COLOR="Red"]server1.webpagedirect.co.za. 86400 IN   A       196.33.247.203[/COLOR][/B]
    
    ;; Query time: 167 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Sat Mar  4 11:51:26 2006
    ;; MSG SIZE  rcvd: 61
     
  7. Grizzly

    Grizzly New Member

    Thanks Falko I, But I still have the same error
     
  8. Grizzly

    Grizzly New Member

    Q> what should be setup in server settings DNS?
    webpagedirect.co.za dns server nl primary and secondary zoneedit server
    or what was put in there by default nl www.webpagedirect.co.za at NS1 &NS2
     
  9. falko

    falko Super Moderator Howtoforge Staff

    You're still getting this error?
     
  10. Grizzly

    Grizzly New Member

    yup unfortunetly Iam

    This is the Postfix program at host server1.webpapagedirect.co.za.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]> (expanded from
    <[email protected]>): Host or domain name not found. Name service
    error for name=server1.webpapagedirect.co.za type=AAAA: Host not found
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Why does it say server1.webpapagedirect.co.za and not server1.webpagedirect.co.za?
     
  12. Grizzly

    Grizzly New Member

    Tired eyes

    Thanks Falko I would probably only seen that in a day or 2. the error was in my main.cf file now I receive error

    This is the Postfix program at host server1.webpagedirect.co.za.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]> (expanded from
    <[email protected]>): mail for server1.webpagedirect.co.za loops
    back to myself
     
  13. Grizzly

    Grizzly New Member

    haleluja

    :D THANK YOU FALKO

    I Just added server1.webpagedirect.co.za to /etc/postfix/local-host-names
    and bob's your uncle. Send Receive working like a dream.

    Thank you again for all your patience.
     
    Last edited: Mar 6, 2006
  14. falko

    falko Super Moderator Howtoforge Staff

    Add server1.webpagedirect.co.za to the mydestination line in /etc/postfix/main.cf and restart Postfix.
     

Share This Page