Configuração do Postgrey - Mandriva
  1. Instalar o pacote postgrey:
    urpmi postgrey
  2. Editar o arquivo /etc/sysconfig/postgrey: Descomentar a seguinte linha:
    #OPTIONS="--inet=127.0.0.1:10031"
    
  3. Iniciar o serviço postgrey:
    service postgrey start
  4. Editar o arquivo /etc/postfix/main.cf:

    Em smtpd_recipient_restrictions, inserir a seguinte linha logo após reject_unauth_destination, conforme abaixo:

    smtpd_sender_restrictions =
                               permit_sasl_authenticated,
                               check_sender_access hash:/etc/postfix/access,
                               permit_mynetworks,                           
                               reject_unknown_sender_domain,                
                               reject_invalid_hostname,                     
                               reject_unauth_destination,                   
                               check_policy_service inet:127.0.0.1:10031,   
                               reject_non_fqdn_sender,                      
                               reject_unknown_recipient_domain
    
  5. Reiniciar o serviço postfix
    service postfix restart
IP
3.237.16.210