Hi,
I'm not sure if this is a postfix config problem or an amavis/SA
problem. I have a multi-instance postfix config, and my mailer-daemon
messages are being filtered by my amavisd/SA config, many of which are
being quarantined as spam instead of being returned to the sender.

Of course it's possible a spammer could craft a message that appears
to be a bounce/failure report, but isn't a characteristic that they
have a null envelope sender? I don't think my postfix config would
even allow this unless it was part of an actual bounce?

The messages are apparently being received on port 25 then being
treated as regular messages instead of actual bounces. Shouldn't these
undeliverable messages be determined before postfix finishes
delivering the actual message?

Feb 24 09:45:07 xavier postfix-116/smtpd[842535]: connect from
mail-qb1can01hn2020.outbound.protection.outlook.com[52.100.145.20]
Feb 24 09:45:08 xavier postfix-116/smtpd[842535]: 05D1E10002E4E:
client=mail-qb1can01hn2020.outbound.protection.outlook.com[52.100.145.20]
Feb 24 09:45:08 xavier postfix-116/cleanup[839994]: 05D1E10002E4E:
message-id=<71b19f68-beae-4f20-ba7d-6c8cd374...@yqbpr0101mb6167.canprd01.prod.outlook.com>
Feb 24 09:45:08 xavier postfix-116/qmgr[580062]: 05D1E10002E4E:
from=<>, size=81447, nrcpt=2 (queue active)

I was going to include some of my config, but I really don't know what
to include. I suspect it's related to my transport configs, but I
think they are pretty much the defaults.

smtp_send_xforward_command = yes
relay_transport = $default_transport
local_transport = error:5.1.1 Mailbox unavailable
virtual_transport = $default_transport

Here's the master.cf config for amavisd:
127.0.0.1:10025 inet n   -       n       -       16      smtpd
    -o content_filter=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=reject_unauth_pipelining
    -o smtpd_end_of_data_restrictions=
    -o smtpd_restriction_classes=
    -o mynetworks=127.0.0.0/8,209.216.00.0/24,209.216.99.153/29
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o 
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters,no_address_mappings
    -o local_header_rewrite_clients=

Reply via email to