Ralf Hildebrandt put forth on 8/11/2010 2:35 AM: > * Stan Hoeppner <s...@hardwarefreak.com>: >> Michael Orlitzky put forth on 8/10/2010 4:02 PM: >> >>> I think he just wants to know which smtpd restrictions list contains the >>> rule that caused the rejection. >> >> This is relatively easy to accomplish with custom rejection messages. Simply >> insert a unique symbol at the beginning of each rejection message text string >> which identifies the rejection stage. This of course would require a >> separate >> access table for each "check_client_access" statement, which can create >> future >> table management headaches to the point it may not be worth the effort. > > Yes, this only works for check_*_access. Stuff like e.g. > reject_unknown_sender_domain have predefined rejection messages, so...
I was just looking at a Logwatch summary. The data the OP is requesting _is_ in the Postfix logs somewhere, as Logwatch is tallying the disconnection phases: 81 Connections lost (inbound) 61 After DATA 11 After CONNECT 7 After RCPT 2 After EHLO If you need this information _per msg_ with detail, you'll have to go digging and figure it out for yourself. The data _is_ in there though. And, yes, I use smtpd_delay_reject=yes, the default. -- Stan