I am experimenting with postfix notify_classes.

To start the config is

    notify_classes = bounce, 2bounce, data, delay, policy, protocol, 
resource, software

Now in my postmaster inbox I received a message,

    Subject: Postfix SMTP server: errors from 
mailrelayus2-25.kubra.com[205.216.45.25]

        Transcript of session follows.

         Out: 220 tanzer.example.com ESMTP . No UCE permitted.
         In:  EHLO mailrelayus2-25.kubra.com
         Out: 250-tanzer.example.com
         Out: 250-PIPELINING
         Out: 250-SIZE 104857600
         Out: 250-STARTTLS
         Out: 250-ENHANCEDSTATUSCODES
         Out: 250 8BITMIME
         In:  MAIL FROM:<[email protected]> SIZE=3492
         Out: 250 2.1.0 Ok
         In:  RCPT TO:<###@###.###>
         Out: 450 4.1.1 <###@###.###>: Recipient address rejected:
             unverified address: Invalid Address
         In:  RSET
         Out: 250 2.0.0 Ok

        Session aborted, reason: lost connection

        For other details, see the local mail logfile

I want to know which notify_classes class caused this error.  I do not know 
which one just from reading the message.  "reason: lost connection" does not 
immediately say to me which one.

Can I add any logging configuration parameter to add the class that is 
generating this error for this message?  So it is in the received email, 
without having to look into the logs?


Reply via email to