locally submitted mail - policy banks

Matus UHLAR - fantomas <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
Hello,

I have debian 10 with amavis-2.11.0 installed.

when submitting mail locally, I get no policy bank assigned.

I assumed that localhost is by default in @mynetworks (amavisd-new line 931)
and the mail should get into MYNETS bank (amavisd-new line 1748)
...it obviously does not:

(debug output)

Jun 10 15:41:13.724 mail /usr/sbin/amavisd-new[24004]: (24004-01) LMTP< XFORWARD SOURCE=LOCAL\r\n
Jun 10 15:41:13.732 mail /usr/sbin/amavisd-new[24004]: (24004-01) LMTP [127.0.0.1]:10024 /var/lib/amavis/tmp/amavis-20220610T154113-24004-ISLjl36M: <[email protected]> -> <[email protected]>
Jun 10 15:41:13.776 mail /usr/sbin/amavisd-new[24004]: (24004-01) Checking: n2ExEQPotk4G [127.0.0.1] <[email protected]> -> <[email protected]>
Jun 10 15:41:14.888 mail /usr/sbin/amavisd-new[24004]: (24004-01) Passed CLEAN {RelayedInbound,RelayedOpenRelay}, [127.0.0.1] /LMTP <[email protected]> -> <[email protected]>

I have submitted via localhost with smtp authentication, the same applies:

(no debug output)
Jun 10 16:36:22 mail postfix/smtps/smtpd[24920]: 2FA95DF9AD: client=localhost[127.0.0.1], sasl_method=login, sasl_username=redacted
Jun 10 16:36:50 mail amavis[24923]: (24923-01) LMTP [127.0.0.1]:10024 /var/lib/amavis/tmp/amavis-20220610T163650-24923-PiCQyQ9x: <[email protected]> -> <[email protected]>
Jun 10 16:36:50 mail amavis[24923]: (24923-01) Checking: KruamaIVQe_e [127.0.0.1] <[email protected]> -> <[email protected]>
Jun 10 16:36:52 mail amavis[24923]: (24923-01) Passed CLEAN {RelayedInbound,RelayedOpenRelay}, [127.0.0.1]:50010 ESMTP/LMTP <[email protected]> -> <[email protected]>


questions:
- did I do something incorrectly?

I set up amavis as postfix' content_filter, xforward works (see the debug 
output)

should I force treating the mail as outgoing via interface_policy or do I 
have to fix something in the docs?

Thanks

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.