locally submitted mail - policy banks

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jun 10 16:50:35 CEST 2022


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: <root at example.com> -> <uhlar at fantomas.sk>
Jun 10 15:41:13.776 mail /usr/sbin/amavisd-new[24004]: (24004-01) Checking: n2ExEQPotk4G [127.0.0.1] <root at example.com> -> <uhlar at fantomas.sk>
Jun 10 15:41:14.888 mail /usr/sbin/amavisd-new[24004]: (24004-01) Passed CLEAN {RelayedInbound,RelayedOpenRelay}, [127.0.0.1] /LMTP <root at example.com> -> <uhlar at fantomas.sk>

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: <root at example.com> -> <uhlar at fantomas.sk>
Jun 10 16:36:50 mail amavis[24923]: (24923-01) Checking: KruamaIVQe_e [127.0.0.1] <root at example.com> -> <uhlar at fantomas.sk>
Jun 10 16:36:52 mail amavis[24923]: (24923-01) Passed CLEAN {RelayedInbound,RelayedOpenRelay}, [127.0.0.1]:50010 ESMTP/LMTP <root at example.com> -> <uhlar at fantomas.sk>


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, uhlar at fantomas.sk ; 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]


More information about the amavis-users mailing list