wietse:

It is theoretically possible to update lots of Postfix messages
with SMTP envelope information, but the price is that it instantly
obsoletes logfile analyzers. Does the price exceed the benefit?

(at least for me) it's more valuable to get as many as possible details logged.
So my answer is NO:-)

an example:

smtp:
telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 localhost ESMTP
ehlo localhost
250-localhost
250 SIZE 10
mail from:<some_external_that_my_user_know@external_domain>
250 2.1.0 Ok
rcpt to:<my_user@mydomain>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Subject: longer_then_10

body
.
552 5.3.4 Error: message file too big, servertime=Jul 08 17:02:36, server=localhost, client=::1
quit
221 2.0.0 Bye
Connection closed by foreign host.

log:
Jul  8 17:01:48 mail postfix/smtpd[18193]: connect from localhost[::1]
Jul 8 17:02:07 mail postfix/smtpd[18193]: 3mRP4H3mJMz373gD: client=localhost[::1] Jul 8 17:02:31 mail postfix/smtpd[18193]: warning: 3mRP4H3mJMz373gD: queue file size limit exceeded Jul 8 17:02:41 mail postfix/smtpd[18193]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 data=0/1 quit=1 commands=4/5

my_user call the help desk "I miss a message from @external_domain"
grep '@external_domain' mail.log
<nothing>

that's the pain ...

Andreas

Reply via email to