This is the maillog_file=/dev/stdout output:

Nov 05 11:07:15 smtp21 postfix/qmgr[421]: 8A78016204F: from=<raf...@xxxx.com>,
size=598, nrcpt=1 (queue active)
Nov 05 11:07:15 smtp21 postfix/qmgr[421]: 8A78016204F: removed
Nov 05 11:07:16 smtp21 postfix/qmgr[421]: DD37C16204F: from=<raf...@xxxx.com>,
size=588, nrcpt=1 (queue active)
Nov 05 11:07:16 smtp21 postfix/qmgr[421]: 38CDF162050: from=<raf...@xxxx.com>,
size=596, nrcpt=1 (queue active)
Nov 05 11:07:16 smtp21 postfix/qmgr[421]: 38CDF162050: removed
Nov 05 11:07:16 smtp21 postfix/qmgr[421]: 89F10162050: from=<raf...@xxxx.com>,
size=600, nrcpt=1 (queue active)
Nov 05 11:07:17 smtp21 postfix/qmgr[421]: DA1A6162052: from=<raf...@xxxx.com>,
size=604, nrcpt=1 (queue active)
Nov 05 11:07:17 smtp21 postfix/qmgr[421]: 3A280162053: from=<raf...@xxxx.com>,
size=596, nrcpt=1 (queue active)
Nov 05 11:07:17 smtp21 postfix/qmgr[421]: DD37C16204F: removed
Nov 05 11:07:18 smtp21 postfix/qmgr[421]: 89F10162050: removed
Nov 05 11:07:19 smtp21 postfix/qmgr[421]: 3A280162053: removed
Nov 05 11:07:20 smtp21 postfix/qmgr[421]: DA1A6162052: removed


Em sex., 5 de nov. de 2021 às 12:32, Rafael Azevedo <raf...@gmail.com>
escreveu:

> Sorry about that, I was testing the timestamp withing mail.log.
>
> 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
> maillog_file = /dev/stdout
> mydestination = $myhostname, /etc/mailname, localhost,
> localhost.localdomain,
>     localhost
> myhostname = smtp21.xxxx.com
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104
>     [::1]/128
> myorigin = smtp21.xxxx.com
> readme_directory = no
> recipient_delimiter = +
> smtpd_banner = $myhostname ESMTP $mail_name
> smtpd_relay_restrictions = permit_mynetworks \ permit_sasl_authenticated \
>     defer_unauth_destination
>
> Thanks
>
> R
>
>
> Em sex., 5 de nov. de 2021 às 12:26, Wietse Venema <wie...@porcupine.org>
> escreveu:
>
>> There is no maillog file setting. I need to see the configuration that
>> reproduces the problem, not a verbal description from faulty memmory.
>>
>> That said, I see that your chroot settings differ for qmgr and smtp
>> delivery agents. This should not matter because Postfix opens socket
>> pathnames relative to $queue_directory, but maybe LINUX does something
>> weird with UNIX-domain datagram socket pathnames.
>>
>> > qmgr       unix  n       -       n       300     1       qmgr
>> > smtp       unix  -       -       y       -       -       smtp
>> > relay      unix  -       -       y       -       -       smtp
>>
>>         Wietse
>>
>> Rafael Azevedo:
>> > 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
>> > >
>>
>

Reply via email to