Il 30 settembre 2010 21:26, Stefano Sasso <[email protected]> ha scritto:
>> Ciao, non è proprio così: molte restriction possono essere applicate anche >> fuori dal loro contesto "nativo". >> Ad esempio quella che serve a te - check_sender_access - nativamente sta >> nelle sender restrictions ma (vado a memoria, verifica) nulla ti vieta di >> indicarla nelle client prima di quelle che verificano le RBL, ottenendo così >> il risultato voluto. > > questo solo se postfix è configurato senza smtpd_delay_reject ( > http://www.postfix.org/SMTPD_ACCESS_README.html#timing e > http://www.postfix.org/postconf.5.html#smtpd_delay_reject ) Ciao, è il contrario: puoi indicarla tra le client SOLO se smtpd_delay_reject è impostato a true (che poi è il settaggio di default). Altrimenti si verifica quello che dici tu e che diceva Emanuele più sopra: > altrimenti in fase client mica sai quello che viene passato come MAIL FROM... e che la stessa documentazione ufficiale conferma (http://www.postfix.org/postconf.5.html#smtpd_client_restrictions): "When helo, sender or recipient restrictions are listed under smtpd_client_restrictions, they have effect only with "smtpd_delay_reject = yes", so that $smtpd_client_restrictions is evaluated at the time of the RCPT TO command." -- Romano Romano The Internet: where men are men, women are men and children are FBI agents.
________________________________________________________ http://www.sikurezza.org - Italian Security Mailing List
