My concern is why is it from the localhost?
That is impossible for us to say. Very possibly you have an automated process on your system that tried to send mail. Alternately, something like an FTP bounce attack could be used to make a local SMTP connection. But there's really no info here for us to help you track it down.
I just can't figure it out with "after MAIL" means.
This, at least, is simple. The SMTP protocol consists of a series of commands: HELO
or EHLO
, MAIL FROM
, RCPT TO
, DATA
, QUIT
. The log entry "after MAIL" means that the connection said HELO
and then said MAIL FROM: <user@example.org>
. The client then disconnected, so Postfix is telling you, literally, they disconnected after the MAIL
command. No mail would have been sent due to the aborted connection.