Score:0

What's the number in square brackets, in the maillog for?

ke flag

Here are some lines of my maillog. What are those numbers in square brackets telling me? Is that a pid for each individual email i get?

So [11342] for example, belongs to the same message right?

postfix/smtpd[11342]:   connect from
postfix/smtpd[11342]:   Anonymous   TLS
policyd-spf[11350]: prepend Received-SPF:
postfix/smtpd[11342]:   NOQUEUE:    reject:
postfix/smtpd[11342]:   disconnect  from
postfix/smtpd[11342]:   connect from
postfix/smtpd[11342]:   Anonymous   TLS
Score:2
ar flag

It's the PID of the process:

Jun  6 17:47:17 eli postfix/smtpd[27410]: disconnect from unknown[122.114.65.210] ehlo=1 auth=0/1 quit=1 commands=2/3       
$ ps aux | grep 27410                    
postfix  27410  0.0  0.0  44524 10812 ?        S    17:46   0:00 smtpd -n smtp -t inet -u -c -o stress= -s 2

Depending on configuration, a single process may handle more than one message.

zippy-flop avatar
ke flag
Thanks for your response. The reason why I asked, was because 2 different messages appeared in 1 PID. Is this some security related issue if 1 PID handles more than 1 message? If so, how can i set it to handle only 1 message per PID.
vidarlo avatar
ar flag
Not really. The software is written with that in mind.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.