Re: Rule for: Subject contains email address from To: header?
Benoit Panizzon <[email protected]> Tue, 12 May 2026 11:06:30 +0200
| Newsgroups | gmane.mail.spam.spamassassin.general |
|---|---|
| Organization | ImproWare AG |
| Message-ID | <[email protected]> |
--Sig_/8cB1n+TZLte1r=k9P32ucB/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Giovanni > how do you run spamassassin from MIMEDefang ? Are you using spamc(1), spa= massassin(1) or another method ? > MIMEDefang might read different rules depending on the user it runs spama= ssassin as well. MIMEdefang directly loads the Mail::SpamAssassin perl module. As far as I know, there is exactly one additional config file passed to SpamAssassin when invoked from MIMEdefang. And I can't make out differences, this is what is puzzling me. If I put rules in /etc/mail/spamassassin/local.cf they are run in both cases (as root from command line with spamassassin -D -t) and from MIMEdefang. Any rules in /usr/share/spamassassin (debian default path) are also run in both cases. So what could make the specific rule TO_IN_SUBJ never reporting a hit when run from MIMEdefang but perfectly matching when I save that exact same email as rfc/822 and then run spamassassin -D -t on that file? I'm trying to find a way to run spamassassin in debug mode from MIMEdefang to maybe get more hints what is going wrong. Mit freundlichen Gr=C3=BCssen -Beno=C3=AEt Panizzon- --=20 I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ --Sig_/8cB1n+TZLte1r=k9P32ucB/ Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQAUbxENTVTjCdL7MIJWrYb/Ivv8AUCagLtlgAKCRAJWrYb/Ivv 8FcWAKDB7A44bq5H2M0Zbl27y3u6LFbJqACdEfPwNA5Gh3R74BDsJKW+KtUtJDs= =N4+N -----END PGP SIGNATURE----- --Sig_/8cB1n+TZLte1r=k9P32ucB/--