On 7/12/20 4:16 PM, maszap@tin.it wrote:
Hi My mail.log
Jul 13 01:15:12 gamelia postfix/smtpd[1973]: connect from localhost[127.0.0.1] Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/smtpd[1973]: 276C0C202B7: client=localhost[127.0.0.1] Jul 13 01:15:12 gamelia postfix/cleanup[1975]: 276C0C202B7: message-id=<20200712231512.1546.30031@mail.pratico.work> Jul 13 01:15:12 gamelia opendkim[726]: 276C0C202B7: DKIM-Signature field added (s=mail2020, d=pratico.work) Jul 13 01:15:12 gamelia postfix/qmgr[1533]: 276C0C202B7: from=<admin@pratico.work>, size=586, nrcpt=2 (queue active) Jul 13 01:15:12 gamelia postfix/smtpd[1973]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Jul 13 01:15:12 gamelia postfix/smtpd[1978]: connect from localhost[127.0.0.1] Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/smtpd[1978]: C3A57C20D52: client=localhost[127.0.0.1] Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/cleanup[1975]: C3A57C20D52: message-id=<20200712231512.1546.30031@mail.pratico.work> Jul 13 01:15:12 gamelia opendkim[726]: C3A57C20D52: DKIM-Signature field added (s=mail2020, d=pratico.work) Jul 13 01:15:12 gamelia postfix/qmgr[1533]: C3A57C20D52: from=<admin@pratico.work>, size=1610, nrcpt=2 (queue active) Jul 13 01:15:12 gamelia postfix/smtpd[1978]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=2 data=1 quit=1 commands=6 Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia postfix/trivial-rewrite[1974]: warning: do not list domain pratico.work in BOTH virtual_mailbox_domains and relay_domains Jul 13 01:15:12 gamelia amavis[1566]: (01566-01) Passed CLEAN {RelayedInbound}, [127.0.0.1]:36322 <admin@pratico.work> -> <admin@pratico.work>,<info@pratico$ Jul 13 01:15:12 gamelia postfix/smtp[1976]: 276C0C202B7: to=<admin@pratico.work>, orig_to=<max@pratico.work>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.76, $ Jul 13 01:15:12 gamelia postfix/smtp[1976]: 276C0C202B7: to=<info@pratico.work>, orig_to=<max@pratico.work>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.76, d$ Jul 13 01:15:12 gamelia postfix/qmgr[1533]: 276C0C202B7: removed Jul 13 01:15:12 gamelia dovecot: lmtp(1980): Connect from local Jul 13 01:15:12 gamelia dovecot: lmtp(admin@pratico.work)<1980><wZyjNoCZC1+8BwAA0Fextg>: sieve: msgid=<20200712231512.1546.30031@mail.pratico.work>: stored $ Jul 13 01:15:12 gamelia dovecot: lmtp(info@pratico.work)<1980><wZyjNoCZC1+8BwAA0Fextg:2>: sieve: msgid=<20200712231512.1546.30031@mail.pratico.work>: stored$ Jul 13 01:15:12 gamelia postfix/lmtp[1979]: C3A57C20D52: to=<admin@pratico.work>, relay=mail.pratico.work[private/dovecot-lmtp], delay=0.13, delays=0.09/0.0$ Jul 13 01:15:12 gamelia postfix/lmtp[1979]: C3A57C20D52: to=<info@pratico.work>, relay=mail.pratico.work[private/dovecot-lmtp], delay=0.13, delays=0.09/0.01$ Jul 13 01:15:12 gamelia postfix/qmgr[1533]: C3A57C20D52: removed Jul 13 01:15:12 gamelia dovecot: lmtp(1980): Disconnect from local: Client has quit the connection (state=READY) Jul 13 01:15:16 gamelia dovecot: imap-login: Login: user=<admin@pratico.work>, method=PLAIN, rip=173.249.18.220, lip=173.249.18.220, mpid=1983, TLS, session$ Jul 13 01:15:16 gamelia dovecot: imap(admin@pratico.work)<1983><IiFCv0aqJoyt+RLc>: Logged out in=297 out=5915 deleted=0 expunged=0 trashed=0 hdr_count=11 hd$
The issue here is the message is being delivered to Dovecot via LMTP rather than to Mailman via LMTP. See this thread <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/FNVRI6DJBWFZAY4NGZTRAEA3S2JKAXXU/>.
sudo mailman conf -s logging.smtp
[logging.smtp] datefmt: %b %d %H:%M:%S %Y [logging.smtp] every: $msgid smtp to $listname for $recip recips, completed in $time seconds [logging.smtp] failure: $msgid delivery to $recip failed with code $smtpcode, $smtpmsg [logging.smtp] format: %(asctime)s (%(process)d) %(message)s [logging.smtp] level: info [logging.smtp] path: smtp.log [logging.smtp] propagate: no [logging.smtp] refused: $msgid post to $listname from $sender, $size bytes, $refused failures [logging.smtp] success: $msgid post to $listname from $sender, $size bytes
With these settings, posts should be logged. They aren't because no mail is delivered to Mailman at all. The Mail that local users receive doesn't come from the list. It comes from Dovecot.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan