Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I'm having a problem setting up Dovecot: The command Code: #telnet user smtp returns: user/smtp: Temporary failure in name resolution. Does this mean that there is a problem in ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4

    Dovecot, postfix pop3/imap server issue

    Hi

    I'm having a problem setting up Dovecot:

    The command
    Code:
    #telnet user smtp
    returns:
    user/smtp: Temporary failure in name resolution.

    Does this mean that there is a problem in the aliases file? (/etc/aliases)

    Code:
    #telnet localhost smtp
    , works fine...

    Here is the configuration!

    postconf -n returns:
    Code:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    home_mailbox = Maildir/
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mynetworks = 127.0.0.0/8
    newaliases_path = /usr/bin/newaliases.postfix
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    sample_directory = /usr/share/doc/postfix-2.3.3/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_path = private/auth
    smtpd_sasl_type = dovecot
    unknown_local_recipient_reject_code = 550

    Dovecot -n returns:
    Code:
    # 1.0.7: /etc/dovecot.conf
    login_dir: /var/run/dovecot/login
    login_executable(default): /usr/libexec/dovecot/imap-login
    login_executable(imap): /usr/libexec/dovecot/imap-login
    login_executable(pop3): /usr/libexec/dovecot/pop3-login
    mail_location: maildir:~/Maildir/
    mail_executable(default): /usr/libexec/dovecot/imap
    mail_executable(imap): /usr/libexec/dovecot/imap
    mail_executable(pop3): /usr/libexec/dovecot/pop3
    mail_plugin_dir(default): /usr/lib64/dovecot/imap
    mail_plugin_dir(imap): /usr/lib64/dovecot/imap
    mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
    imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
    imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
    imap_client_workarounds(pop3): outlook-idle
    pop3_client_workarounds(default):
    pop3_client_workarounds(imap):
    pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
    auth default:
      mechanisms: plain login
      passdb:
        driver: pam
      userdb:
        driver: passwd
      socket:
        type: listen
        client:
          path: /var/spool/postfix/private/auth
          mode: 432
          user: postfix
          group: postfix
    aliases:

    Code:
    # Basic system aliases -- these MUST be present.
    mailer-daemon:    postmaster
    postmaster:    root
    
    # General redirections for pseudo accounts.
    bin:        root
    daemon:        root
    adm:        root
    lp:        root
    sync:        root
    shutdown:    root
    halt:        root
    mail:        root
    news:        root
    uucp:        root
    operator:    root
    games:        root
    gopher:        root
    ftp:        root
    nobody:        root
    radiusd:    root
    nut:        root
    dbus:        root
    vcsa:        root
    canna:        root
    wnn:        root
    rpm:        root
    nscd:        root
    pcap:        root
    apache:        root
    webalizer:    root
    dovecot:    root
    fax:        root
    quagga:        root
    radvd:        root
    pvm:        root
    amanda:        root
    privoxy:    root
    ident:        root
    named:        root
    xfs:        root
    gdm:        root
    mailnull:    root
    postgres:    root
    sshd:        root
    smmsp:        root
    postfix:    root
    netdump:    root
    ldap:        root
    squid:        root
    ntp:        root
    mysql:        root
    desktop:    root
    rpcuser:    root
    rpc:        root
    nfsnobody:    root
    
    ingres:        root
    system:        root
    toor:        root
    manager:    root
    dumper:        root
    abuse:        root
    
    newsadm:    news
    newsadmin:    news
    usenet:        news
    ftpadm:        ftp
    ftpadmin:    ftp
    ftp-adm:    ftp
    ftp-admin:    ftp
    www:        webmaster
    webmaster:    root
    noc:        root
    security:    root
    hostmaster:    root
    info:        postmaster
    marketing:    postmaster
    sales:        postmaster
    support:    postmaster
    
    
    # trap decode to catch security attacks
    decode:        root
    
    # Person who should get root's mail
    #root:        marc
    Please be gentle with responses, I'm a newbie regarding Linux and mail servers =)

    //Konduktorn

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    i think you are getting things mixed up.

    if you tell it

    Code:
    telnet user smtp
    it is going to try to resolve "user" as a computer name, which will most than likely fail. it queries the services file to find out what port = smtp.

    localhost works, because it is defined in the /etc/host file.

    the /etc/aliases files only pertains to users, not computers
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4
    Quote Originally Posted by scathefire View Post
    i think you are getting things mixed up.

    if you tell it

    Code:
    telnet user smtp
    it is going to try to resolve "user" as a computer name, which will most than likely fail. it queries the services file to find out what port = smtp.

    localhost works, because it is defined in the /etc/host file.

    the /etc/aliases files only pertains to users, not computers
    AAh, okay. Yeah, that makes sense.

    What would you recommend me to do, in order to test smtp?

  4. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    linux user # 503963

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...