dpkg-reconfigure postfix question

Discussion in 'Installation/Configuration' started by Al1937, Sep 12, 2009.

  1. Al1937

    Al1937 New Member

    While running "dpkg-reconfigure postfix"

    Other destinations to accept mail for (blank for none): <-- server1.example.com, localhost.example.com, localhost.localdomain, localhost

    But in my package configuration i have , , where the above calls for localhost.localdomain.

    Should I accept as is or enter localhost.localdomain between the , ,

    --------------------------------------------------------------------------------------
    I performed a dig localhost.localdomain

    [email protected]:/home/albert# dig localhost.localdomain

    ; <<>> DiG 9.5.1-P2 <<>> localhost.localdomain
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16373
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;localhost.localdomain. IN A

    ;; AUTHORITY SECTION:
    . 893 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2009091200 1800 900 604800 86400

    ;; Query time: 17 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Sat Sep 12 14:25:11 2009
    ;; MSG SIZE rcvd: 114
    ---------------------------------
    So I did insert it.
    Was I correct in doing so?

    ---------------------------------------
    A dig localhost resulted in:

    [email protected]:/home/albert# dig localhost

    ; <<>> DiG 9.5.1-P2 <<>> localhost
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48069
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;localhost. IN A

    ;; ANSWER SECTION:
    localhost. 0 IN A 127.0.0.1

    ;; Query time: 20 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Sat Sep 12 14:29:13 2009
    ;; MSG SIZE rcvd: 43
    ------------------------
    Is this the correct?

    Trying to learn this stuff.
     
    Last edited: Sep 12, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

    Enter localhost.localdomain.
    What's in /etc/hosts?
     

Share This Page