postfix mail not receiving

Discussion in 'Server Operation' started by soroccoheaven, Dec 18, 2007.

  1. soroccoheaven

    soroccoheaven New Member

    hi,
    I am trying to configure postfix with mandrake 10.2 followed the howtoforge by falko.
    Now i am not able to receive mail.the errors is as :

    Dec 18 19:36:37 mandrake postfix/tlsmgr[24771]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
    so i created file manually (dont know do i have to create it ?..) after i am getting error as :
    Dec 18 20:17:54 mandrake postfix/smtpd[3080]: 404ABC6D7: client=mandrake.lin.ald[192.168.2.2]
    Dec 18 20:18:02 mandrake postfix/cleanup[3224]: 404ABC6D7: message-id=<[email protected]>
    Dec 18 20:18:02 mandrake postfix/qmgr[3060]: 404ABC6D7: from=<[email protected]>, size=361, nrcpt=1 (queue active)
    Dec 18 20:18:03 mandrake postfix/smtp[3261]: 404ABC6D7: to=<[email protected]>,relay=none, delay=24, status=bounced ([lin.ald]: Name or service not known)
    Dec 18 20:18:03 mandrake postfix/cleanup[3224]: 3CAA2C6DE: message-id=<[email protected]>
    Dec 18 20:18:03 mandrake postfix/qmgr[3060]: 3CAA2C6DE: from=<>, size=2009, nrcpt=1 (queue active)
    Dec 18 20:18:03 mandrake postfix/qmgr[3060]: 404ABC6D7: removed


    [[email protected] var]# postfix check
    [[email protected] var]# (no error)

    [[email protected] var]# telnet 192.168.2.2 25
    Trying 192.168.2.2...
    Connected to mandrake.lin.ald (192.168.2.2).
    Escape character is '^]'.
    220 mandrake.lin.ald ESMTP Postfix (2.1.5) (Mandrakelinux)
    ehlo localhost
    250-mandrake.lin.ald
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN
    250-AUTH=PLAIN
    250 8BITMIME
    mail from:[email protected]
    250 Ok
    rcpt to:[email protected]
    250 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    hello from mailadmin
    .
    250 Ok: queued as 7B8FAC6D1
    quit
    221 Bye
    Connection closed by foreign host.
    [[email protected] var]# telnet 192.168.2.2 110
    Trying 192.168.2.2...
    Connected to mandrake.lin.ald (192.168.2.2).
    Escape character is '^]'.
    +OK POP3 mandrake.lin.ald 2004.89mdk server ready
    user mailadmin
    +OK User name accepted, password please
    pass password
    +OK Mailbox open, 0 messages
    quit
    +OK Sayonara
    Connection closed by foreign host.


    [[email protected] var]# postconf -n
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    delay_warning_time = 4h
    html_directory = /usr/share/doc/postfix-2.1.5/html
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydomain = lin.ald
    myhostname = mandrake.$mydomain
    mynetworks_style = subnet
    newaliases_path = /usr/bin/newaliases.postfix
    owner_request_special = no
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix-2.1.5/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 450
    [[email protected] var]#



    pls advice ..thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are you using ISPConfig? What's the output of
    Code:
    ls -l /etc/postfix
    ?

    Please make sure you use a valid domain (instead of lin.ald).
     

Share This Page