0

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
vidarlo
  • 6,654
  • 2
  • 18
  • 31
zippy-flop
  • 21
  • 4

1 Answers1

2

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.

vidarlo
  • 6,654
  • 2
  • 18
  • 31
  • 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. – zippy-flop Jun 08 '21 at 22:01
  • Not really. The software is written with that in mind. – vidarlo Jun 09 '21 at 06:12