Jan Engelhardt wrote:
On Saturday 2018-03-31 10:58, Per Jessen wrote:
Jan Engelhardt wrote:
the more fruitful option is to reject-filter all mail with Subject =~ /New snapshot 2018xxyy/ && From !~ /bot@opensuse/ at the smtpd level.
I think this might be doable in mlmmj too -
allow ^From:.*dimstar..... deny ^Subject:.*New Tumbleweed snapshot 20[0-9]+ released
The only issue is the less-than-useful error message returned to the sender.
I was looking at postfix's header_checks(5), and the postfix corresponding allow and deny logic in postfix's header_checks are carried out indepdently, meaning that messages with the TW subject are always rejected, even if they come from the bot. Can you confirm mlmmj acts different from postfix?
Yes, the access rules in mlmmj are tried sequentially until an action is
taken.
The only issue I see is the error message:
---------------
Hi, this is the Mlmmj program managing the