+ Responder ao Tópico



  1. #1
    mglinux
    Visitante

    Padrão Redirecionar caixa de saida de um usuário para outro no sendmail.

    :? Óla pessoal, preciso direcionar os e-mails enviado e recebidos de um usuário para outro no Sendmail. Sei que para redirecionar os e-mail recebido uso alias, e os enviados alguém saberia? O meu servidor esta configurado como MAIL_HUB.

    Agradeço desde já a atenção de todos.

  2. #2
    mglinux
    Visitante

    Padrão Re: Redirecionar caixa de saida de um usuário para outro no sendmail.

    Caramba!!!???, esta pergunta é realmente difícil, no Postfix é basicamente simples fazer isso. Ninguém tem nenhuma idéia?

    Bom, já li todos os livros de sendmail, fóruns, etc e não vi nada. Parece algo proibido ou ninguém sabe mesmo.
    Tentei fazer usando GENERICSTABLE ou PROCMAIL, mas ainda não tive exito. Não vou desistir.

    Agora é questão de honra, vou resolver e fazer um tutorial e postar aqui, prometo.

    Até breve.

    No Postfix
    Automatic BCC recipients

    After applying the canonical and masquerade mappings, the cleanup(8) daemon can generate optional BCC (blind carbon-copy) recipients. Postfix provides three mechanisms:
    always_bcc = address
    Deliver a copy of all mail to the specified address. In Postfix versions before 2.1, this feature is implemented by smtpd(8), qmqpd(8), or pickup(8).
    sender_bcc_maps = type:table
    Search the specified "type:table" lookup table with the envelope sender address for an automatic BCC address. This feature is available in Postfix 2.1 and later.
    recipient_bcc_maps = type:table
    Search the specified "type:table" lookup table with the envelope recipient address for an automatic BCC address. This feature is available in Postfix 2.1 and later.
    Note: automatic BCC recipients are produced only for new mail. To avoid mailer loops, automatic BCC recipients are not generated for mail that Postfix forwards internally, nor for mail that Postfix generates itself.
    Automatic BCC recipients (including always_bcc) can be turned off selectively for mail received by smtpd(8), qmqpd(8), or pickup(8), by overriding main.cf settings in the master.cf file. This feature is available in Postfix version 2.1 and later

    Example:
    /etc/postfix/master.cf:
    :10026 inet n - n - - smtpd
    -o receive_override_options=no_address_mappings
    Note: do not specify whitespace around the "=" here.