Visualizzazione dei risultati da 1 a 5 su 5

Discussione: Postfix Openrelay

  1. #1

    Postfix Openrelay

    Salve a tutti,

    io ho un problema con postfix, come da oggetto. Infatti, se mando una mail da un indirizzo esterno ai miei domini di posta ad un indirizzo sempre esterno, questa arriva tranquillamente come se nulla fosse. Le sto provando tutte. Vi allego sotto l'estratto del main.cf:

    smtpd_client_restrictions = permit_mynetworks, reject_rbl_client relays.ordb.org, reject

    smtpd_helo_restrictions =
    permit_mynetworks,
    warn_if_reject,
    reject_non_fqdn_hostname,
    reject_invalid_hostname,
    permit

    smtpd_sender_restrictions =
    # reject_non_fqdn_sender
    reject_unknown_sender_domain
    reject_rbl_client relays.ordb.org,
    permit_mynetworks,
    permit


    smtpd_recipient_restrictions =
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    # reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unauth_pipelining,
    permit_mynetworks,
    reject_unauth_destination,
    reject_rbl_client sbl-xbl.spamhaus.org,
    reject_rbl_client relays.ordb.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client korea.services.net,
    permit

    Qualcuno sa aiutarmi?? Grazie.
    http://www.gastroway.com
    Portale di enogastronomia e turismo.

  2. #2
    il mynetworks l'hai messo? esempio:

    mynetworks = 127.0.0.0/8 192.168.1.0/24
    Sotto la panza la mazza avanza.

  3. #3
    Si, il mynetworks l'ho impostato......... così come il mydomain, ecc. Non so proprio spiegarmi questo comportamento.....
    Dimenticavo che il mio sistema si trova in un cluster loadbalancing, dietro un firewall che fa un natting sull'ip logico del cluster......
    http://www.gastroway.com
    Portale di enogastronomia e turismo.

  4. #4
    Utente di HTML.it L'avatar di Fabiuz
    Registrato dal
    Nov 2004
    Messaggi
    892
    prova con le restrizioni applicate su questo file a sender, recipient e client:

    smtpd_banner = $myhostname ESMTP $mail_name
    smtp_helo_required = yes
    disable_vrfy_command = yes
    content_filter = vscan:[127.0.0.1]:10024
    biff = no
    append_dot_mydomain = no
    myhostname = linuxbox.xxx.net
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    canonical_maps = hash:/etc/postfix/canonical
    sender_canonical_maps=hash:/etc/postfix/sender_canonical
    myorigin = /etc/mailname
    mydestination = smtp.xxx.net, linuxbox.xxx.net, localhost.xxx.net, localhost, xxx.net
    mynetworks = 127.0.0.0/8 192.168.1.0/24
    mailbox_command = /usr/bin/spamc | procmail -a "$EXTENSION"
    mailbox_size_limit = 51200000
    recipient_delimiter = +
    inet_interfaces = all

    smtpd_recipient_restrictions =
    permit_sasl_authenticated,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    permit_mynetworks,
    reject_unauth_destination,
    reject_rbl_client zombie.dnsbl.sorbs.net,
    reject_rbl_client relays.ordb.org,
    reject_rbl_client opm.blitzed.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client blackholes.easynet.nl,
    permit

    smtpd_sender_restrinctions =
    warn_if_reject,
    check_sender_access,
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_unauth_destination

    stmpd_client_restrictions =
    permit_mynetworks

    mime_header_checks=pcre:/etc/postfix/mime_header_checks
    header_checks = regexp:/etc/postfix/header_checks



    p.s: xxx è il nome della ditta
    Debian Sarge 3.01a
    Slackware 10.2

  5. #5
    boh io per blindarlo ho fatto semplicemente così


    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    myhostname = mail.acme.it
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = acme.it
    mynetworks = 127.0.0.0/8 192.168.1.0/24
    mailbox_command = procmail -t -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    header_checks = regexp:/etc/postfix/header_checks


    e nel main.cf non ho assolutamente nient'altro...
    Sotto la panza la mazza avanza.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.