Re: sendmail milter

2019-08-02 Thread Bill Cole
On 2 Aug 2019, at 18:28, Grant Taylor wrote:

> On 8/2/19 4:20 AM, Guillaume Demillecamps wrote:
>> Hello,
>
> Hi,
>
>> I am using spamass-milter to have emails going through sendmail being 
>> scanned by spamassassin on my FreeBSD box. I try to use the report_safe 
>> option (either 1 or 2) but it seems it's not doing anything. Email 
>> considered as spam aren't modified (except headers). Is it the milter that 
>> it preventing doing this ?
>
> I think I have spamass-milter doing what I /think/ report_safe means.  I may 
> be conflating terms, but I've got spamass-milter adding headers with the scan 
> results, even for ham.  Is that what you want?
>
>> Can you help ?
>
> Maybe.  It depends if I'm conflating what report_safe is or not.


You are. report_safe causes causes SA to restructure detected spam as an 
encapsulated message, with the original message included as a message/rfc822 
part (report_safe=1) or text/plain part (report_safe=2)



signature.asc
Description: OpenPGP digital signature


Re: sendmail milter

2019-08-02 Thread Grant Taylor

On 8/2/19 4:20 AM, Guillaume Demillecamps wrote:

Hello,


Hi,

I am using spamass-milter to have emails going through sendmail being 
scanned by spamassassin on my FreeBSD box. I try to use the report_safe 
option (either 1 or 2) but it seems it's not doing anything. Email 
considered as spam aren't modified (except headers). Is it the milter 
that it preventing doing this ?


I think I have spamass-milter doing what I /think/ report_safe means.  I 
may be conflating terms, but I've got spamass-milter adding headers with 
the scan results, even for ham.  Is that what you want?



Can you help ?


Maybe.  It depends if I'm conflating what report_safe is or not.

I'm traveling and can't check my configs at the moment.  If that is what 
you want, email me directly and I'll be happy to share when I get to a 
terminal.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature


Unsubscribe

2019-08-02 Thread Tom Boland





Re: sendmail milter

2019-08-02 Thread Kevin A. McGrail
On 8/2/2019 8:10 AM, Matus UHLAR - fantomas wrote:
> On 02.08.19 10:20, Guillaume Demillecamps wrote:
>> I am using spamass-milter to have emails going through sendmail being
>> scanned by spamassassin on my FreeBSD box. I try to use the
>> report_safe option (either 1 or 2) but it seems it's not doing
>> anything. Email considered as spam aren't modified (except headers).
>> Is it the milter that it preventing doing this ?
>
> apparently. I don't think spamass-milter supports report_safe.

The spamass-milter doesn't use any information from SpamAssassin except
for the score and the spam status if I remember correctly.

If you are interested in using MIMEDefang, I can share how to use
report_safe with that!  See
https://www.linkedin.com/posts/kmcgrail_the-perl-conference-2019-fighting-spam-with-activity-6547463609801338880-7vk6
for more information about MIMEDefang.

Regards,
KAM



Re: External Tag In Mail

2019-08-02 Thread Bill Cole

On 2 Aug 2019, at 8:15, KADAM, SIDDHESH wrote:


Hi Guys,

Using Spamassassin can we add word *EXTERNAL *in body of the email 
when it comes from external world.


No. SpamAssassin does not do general-purpose body modification. The only 
body modification it will do is in the case when report_safe is set and 
the original message is encapsulated in a new report message.


Beyond that, the concept is fundamentally hostile to email 
authentication. Modifying the message body invalidates any form of 
signature (e.g. DKIM, PGP, or S/MIME.) As a result, delivered messages 
which have been signed may be displayed by mail clients with indications 
that they are fraudulent. It is also non-trivial to modify the bodies of 
modern mail, since so much of it is composed in MIME 
"multipart/alternative" form, making it necessary to modify both the 
plaintext part and the HTML part.


If you really want to do this, one tool that could be useful in doing it 
safely (by encapsulating the original message rather than modifying it) 
is the MIMEDefang milter, which has very strong support for manipulating 
MIOME messages. To use it, you need a MTA that supports the Milter 
interface and you need some capacity to write Perl code.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)


External Tag In Mail

2019-08-02 Thread KADAM, SIDDHESH

Hi Guys,

Using Spamassassin can we add word *EXTERNAL *in body of the email when 
it comes from external world.


Thanks In Advanced.
Siddhesh



Re: sendmail milter

2019-08-02 Thread Matus UHLAR - fantomas

On 02.08.19 10:20, Guillaume Demillecamps wrote:
I am using spamass-milter to have emails going through sendmail being 
scanned by spamassassin on my FreeBSD box. I try to use the 
report_safe option (either 1 or 2) but it seems it's not doing 
anything. Email considered as spam aren't modified (except headers). 
Is it the milter that it preventing doing this ?


apparently. I don't think spamass-milter supports report_safe.
--
Matus UHLAR - fantomas, uh...@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.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod


sendmail milter

2019-08-02 Thread Guillaume Demillecamps

Hello,


I am using spamass-milter to have emails going through sendmail being  
scanned by spamassassin on my FreeBSD box. I try to use the  
report_safe option (either 1 or 2) but it seems it's not doing  
anything. Email considered as spam aren't modified (except headers).  
Is it the milter that it preventing doing this ?


Can you help ?

Thank you !


Guillaume D.