+ Responder ao Tópico



  1. #1

    Padrão Postfix não envia, nem recebe email interno ou externo.

    Oi pessoal preciso de ajuda sou leigo no assunto criei aqui um servidor para webmail com base em tuto da internet, porem nao consigo enviar ou receber email interno e externo, ja fiz registro de dominio no registro.br n'ao sei se fiz o MX da forma certa poderiam ent'ao me orientar sobre como resolvo os problemas e de que maneira registro no registro.br meu webmail eu pretendo usar o outlook.

    erro quando envio para meu servidor o retorno do hotmail e


    This is an automatically generated Delivery Status Notification.

    THIS IS A WARNING MESSAGE ONLY.

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

    Delivery to the following recipients has been delayed.

    [email protected]


    e o erro quando tendo enviar do servidor

    This is the mail system at host SERVIDOR.yeshua-trans.com.br.

    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 mail system

    <[email protected]>: host 127.0.0.1[127.0.0.1] said: 554 5.4.0
    id=05730-04-11 - Rejected by next-hop MTA on relaying, from
    MTA(smtp:[127.0.0.1]:10025): 554 5.4.0 Error: too many hops (in reply to
    end of DATA command)

    <[email protected]>: host 127.0.0.1[127.0.0.1] said: 554 5.4.0
    id=05730-04-11 - Rejected by next-hop MTA on relaying, from
    MTA(smtp:[127.0.0.1]:10025): 554 5.4.0 Error: too many hops (in reply to
    end of DATA command)

    meu main.cf

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version


    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    readme_directory = no



    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    readme_directory = no

    # TLS parameters
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = SERVIDOR.yeshua-trans.com.br
    mydomain = yeshua-trans.com.br
    append_dot_mydomain = no
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = SERVIDOR.yeshua-trans.com.br, yeshua-trans.com.br, localhos$
    relayhost =
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    home_mailbox = Maildir/
    ailbox_command =
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    message_size_limit = 20000000
    mailbox_size_limit = 0

    #Configuraçõs sasl
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks$
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    tls_random_source = dev:/dev/urandom

    content_filter = smtp-amavis:[127.0.0.1]:10024

    obrigado pela forca gente.

  2. #2

    Padrão Re: Postfix não envia, nem recebe email interno ou externo.

    Boa noite.
    Primeira coisa... Pra qual finalidade é ? Estudo ou produção?
    Segunda coisa... Configurou seu DNS ?

  3. #3

    Padrão Re: Postfix não envia, nem recebe email interno ou externo.

    Oi Andrécaleiros, desde já obrigado pela sua atenção, cara acho que um pouco dos dois, eu estou tentando criar um servidor para meu CNPJ e estou aprendendo junto, não por mesquinharia, não quero tirar a renda de nenhum profissional da área, mas no momento sem R$ tenho que dar meus pulos aqui, mas como eu não tenho tamanho conhecimento para resolver a questão estou pedindo sua ajuda e dos demais. Meu CNPJ é novo e acho que seria visto como uma empresa séria a partir do domínio próprio.

    meu DNS:
    nano /etc/resolv.conf

    #Generated by NetworkManager
    domain Home
    search Home
    nameserver 192.168.1.17