postfix receive mail

Discussion in 'Server Operation' started by tera7, Jun 13, 2007.

  1. tera7

    tera7 New Member

    hello i have just installed postfix following one of the howto's of this site and refered to others too.now i can sent mails but i can not receive it returns


    Recipient address rejected: Relay access denied
    554 5.0.0 Service unavailable
    <<< 554 5.5.1 Error: no valid recipients

    i searched the forum and saw about smtp_sasl_auth_enable.
    but i dont think that is the problem.
    thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you use ISPConfig, or do you create your email accounts manually?
    What's the output of
    Code:
    postconf -n
    ?
     
  3. tera7

    tera7 New Member

    no i dont use ispconfig.

    the output is :


    PHP:
    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
    mail_spool_directory 
    = /var/spool/mail
    mailbox_command 
    =
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory 
    = /usr/share/man
    mydestination 
    $myhostnamelocalhost.$mydomain
    mydomain 
    pirateuropa.net
    myhostname 
    mail.pirateuropa.net
    mynetworks 
    127.0.0.0/8
    myorigin 
    $mydomain
    newaliases_path 
    = /usr/bin/newaliases.postfix
    queue_directory 
    = /var/spool/postfix
    readme_directory 
    = /usr/share/doc/postfix-2.3.3/
    sample_directory = /usr/share/doc/postfix-2.3.3/
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group 
    postdrop
    smtp_tls_note_starttls_offer 
    yes
    smtp_use_tls 
    yes
    smtpd_recipient_restrictions 
    permit_sasl_authe
    _relay_domains
    smtpd_sasl_auth_enable 
    yes
    smtpd_sasl_local_domain 
    =
    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 
    550
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. tera7

    tera7 New Member

    ok

    ok thanks now works perfect.but i want to ask something else.
    i am forwarding the mails to my mail but i dont see the senders mail.
    i checked dovecot.conf but i cant find something.
    thank you
     
  6. falko

    falko Super Moderator Howtoforge Staff

    How do you send the initial mail? With a mail client or on the command line? Because the sender address should be set by the mail client.
     
  7. tera7

    tera7 New Member

    ok i was wrong just my mail client do tricks sorry.
     

Share This Page