root@smtp21:/# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2612 608 pts/0 Ss+ 10:50 0:00 sh -c service syslog-ng start ; /root/start.sh ; tail -f /var/log/mail.log root 33 0.0 0.0 3980 3084 pts/0 S+ 10:50 0:00 /bin/bash /root/start.sh root 38 0.0 0.0 2612 1852 pts/0 S+ 10:50 0:00 /bin/sh /usr/lib/postfix/sbin/postfix-script start-fg root 135 0.0 0.0 38040 5992 ? Ss 10:51 0:00 /usr/lib/postfix/sbin/master -s root 156 0.0 0.0 4248 3576 pts/2 Ss+ 10:55 0:00 /bin/bash root 431 0.0 0.0 4244 3616 pts/1 Ss 11:13 0:00 /bin/bash root 779 0.0 0.0 11232 2508 ? S 11:20 0:00 supervising syslog-ng root 780 0.0 0.0 237904 10204 ? Ss 11:20 0:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid --no-caps postfix 806 0.0 0.0 38068 6068 ? S 11:21 0:00 pickup -l -t unix -u -c postfix 807 0.0 0.0 38120 6172 ? S 11:21 0:00 qmgr -l -t unix -u root 815 0.0 0.0 2548 596 pts/1 S+ 11:56 0:00 tail -f /var/log/mail.log root 816 0.0 0.0 4244 3612 pts/3 Ss 12:07 0:00 /bin/bash root 826 0.0 0.0 5900 3024 pts/3 R+ 12:09 0:00 ps aux
Currently running with syslog-ng to test logs time format but log's time doesn't show milliseconds correctly: # tail -f /var/log/mail.log Nov 5 11:06:20.000000 smtp21 postfix/master[135]: reload -- version 3.4.13, configuration /etc/postfix Where there is "11:06:20.000000" it should be something like "11:06:20.123456". Thanks a lot. Em sex., 5 de nov. de 2021 às 12:09, Rafael Azevedo <raf...@gmail.com> escreveu: > Config follows: > > root@smtp21:/# postconf -nf > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > append_dot_mydomain = no > biff = no > compatibility_level = 2 > inet_interfaces = all > inet_protocols = all > mailbox_size_limit = 0 > mydestination = $myhostname, /etc/mailname, localhost, > localhost.localdomain, > localhost > myhostname = smtp21.xxxxx.com > mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 > [::1]/128 > myorigin = smtp21.xxxxx.com > readme_directory = no > recipient_delimiter = + > smtpd_banner = $myhostname ESMTP $mail_name > smtpd_relay_restrictions = permit_mynetworks \ permit_sasl_authenticated \ > defer_unauth_destination > > > root@smtp21:/# postconf -Mf > smtp inet n - y - - smtpd > pickup unix n - y 60 1 pickup > cleanup unix n - y - 0 cleanup > qmgr unix n - n 300 1 qmgr > tlsmgr unix - - y 1000? 1 tlsmgr > rewrite unix - - y - - trivial-rewrite > bounce unix - - y - 0 bounce > defer unix - - y - 0 bounce > trace unix - - y - 0 bounce > verify unix - - y - 1 verify > flush unix n - y 1000? 0 flush > proxymap unix - - n - - proxymap > proxywrite unix - - n - 1 proxymap > smtp unix - - y - - smtp > relay unix - - y - - smtp > -o syslog_name=postfix/$service_name > showq unix n - y - - showq > error unix - - y - - error > retry unix - - y - - error > discard unix - - y - - discard > local unix - n n - - local > virtual unix - n n - - virtual > lmtp unix - - y - - lmtp > anvil unix - - y - 1 anvil > scache unix - - y - 1 scache > postlog unix-dgram n - n - 1 postlogd > maildrop unix - n n - - pipe flags=DRhu > user=vmail argv=/usr/bin/maildrop -d ${recipient} > uucp unix - n n - - pipe flags=Fqhu > user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) > ifmail unix - n n - - pipe flags=F > user=ftn > argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) > bsmtp unix - n n - - pipe flags=Fq. > user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient > scalemail-backend unix - n n - 2 pipe flags=R > user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} > ${user} ${extension} > mailman unix - n n - - pipe flags=FR > user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} > ${user} > > > R > > Em sex., 5 de nov. de 2021 às 12:05, Wietse Venema <wie...@porcupine.org> > escreveu: > >> Rafael Azevedo: >> > Yes I did. >> > Thanks a lot for the help here. >> > As you can see, this is exactly the subject of this message: postfix-fg >> and >> > stdout. :) >> > But the output shows only qmgr logs. All others are suppressed. >> > Any ideas? >> >> Let's stop further guessing games. What is the output from: >> >> postconf -nf >> >> postconf -Mf >> >> Wietse >> >