Σχετ: Qmail-scan ner Whitelist
kip papa via Qmail-scanner-general <[email protected]> Thu, 14 Dec 2017 06:51:28 +0000 (UTC)
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <[email protected]> |
--===============7765441845479973511==
Content-Type: multipart/alternative;
boundary="----=_Part_3077765_1762672910.1513234288735"
Content-Length: 11434
------=_Part_3077765_1762672910.1513234288735
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi Jason, at Line=C2=A0514 of=C2=A0qmail-scanner-queue.pl after:
=C2=A0 =C2=A0if ($headers{'MAILFROM'} eq "" || $headers{'subject'} =3D~ /Re=
turned mail:|Mail Transaction Failed/) {=C2=A0 =C2=A0 &debug("This is a bou=
nce message - better assume there's an attachment in it",5);=C2=A0 =C2=A0 $=
plain_text_msg=3D0;=C2=A0 }
I have added the following code which seems to do the trick by setting $pla=
in_text_msg=3D1. I hope it doesn't break anything though.
=C2=A0if ($headers{'MAILFROM'} eq '[email protected]') {
=C2=A0 =C2=A0 &debug("This sender is excluded from AV Scanning");=C2=A0 =C2=
=A0 $plain_text_msg=3D1;=C2=A0 }
=20
=CE=A3=CF=84=CE=B9=CF=82 12:05 =CF=80.=CE=BC. =CE=A0=CE=AD=CE=BC=CF=80=
=CF=84=CE=B7, 14 =CE=94=CE=B5=CE=BA=CE=B5=CE=BC=CE=B2=CF=81=CE=AF=CE=BF=CF=
=85 2017, =CE=BF/=CE=B7 Jason Haar <[email protected]> =CE=AD=CE=B3=CF=
=81=CE=B1=CF=88=CE=B5:
=20
That won't whitelist for AV: AV is always on (assuming it's enabled of cou=
rse). Qmail-Scanner itself skips SpamAssassin via IP address filters - I ca=
n't think of any way of doing it per email address
On Thu, Dec 14, 2017 at 5:49 AM, Bobber <[email protected]> wrote:
-------- Original Message --------
Subject: [Qmail-scanner-general] Qmail-scanner Whitelist
From: kip papa via Qmail-scanner-general <qmail-scanner-general@lists. sou=
rceforge.net>
To: qmail-scanner-general@lists. sourceforge.net <qmail-scanner-general@li=
sts. sourceforge.net>
Date: 12/13/2017 07:50 AM
=20
Hi, is there a way to whitelist a specific email address or domain in Qmai=
l-scanner in order to bypass AV Scanning and Spamassassin ?=C2=A0 Thanks=20
This can be done through spamassassin:
https://wiki.apache.org/ spamassassin/ManualWhitelist
=20
--=20
Bob Wooldridge
Blog: http://kc0dxf.net/blog/=20
------------------------------ ------------------------------ -------------=
-----
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
______________________________ _________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists. sourceforge.net
https://lists.sourceforge.net/ lists/listinfo/qmail-scanner- general
--=20
Cheers
Jason HaarInformation Security Manager, Trimble Navigation Ltd.Phone: +1 40=
8 481 8171PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D=
1--------------------------------------------------------------------------=
----
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot________________=
_______________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
=20
------=_Part_3077765_1762672910.1513234288735
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font=
-size:13px"><div id=3D"yui_3_16_0_ym19_1_1513230894472_23476" dir=3D"ltr"><=
span id=3D"yui_3_16_0_ym19_1_1513230894472_30340">Hi Jason, at Line </=
span>514 of qmail-scanner-queue.pl after:</div><div id=3D"yui_3_16_0_y=
m19_1_1513230894472_23476" dir=3D"ltr"><br></div><div id=3D"yui_3_16_0_ym19=
_1_1513230894472_23476" dir=3D"ltr"> if ($headers{'MAILFROM'} e=
q "" || $headers{'subject'} =3D~ /Returned mail:|Mail Transaction Failed/) =
{</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1513230894472_26988"> =
&debug("This is a bounce message - better assume there's an att=
achment in it",5);</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1513230894=
472_26989"> $plain_text_msg=3D0;</div><div dir=3D"ltr" id=3D"y=
ui_3_16_0_ym19_1_1513230894472_26990"> }</div><div id=3D"yui_3_16_0_y=
m19_1_1513230894472_23476"><span><br></span></div><div id=3D"yui_3_16_0_ym1=
9_1_1513230894472_23476" dir=3D"ltr">I have added the following code which =
seems to do the trick by setting $plain_text_msg=3D1. I hope it doesn't bre=
ak anything though.</div><div id=3D"yui_3_16_0_ym19_1_1513230894472_23476">=
<span><br></span></div><div id=3D"yui_3_16_0_ym19_1_1513230894472_23476">&n=
bsp;if ($headers{'MAILFROM'} eq '[email protected]') {<br></div><div id=3D"=
yui_3_16_0_ym19_1_1513230894472_23569"> &debug("This sende=
r is excluded from AV Scanning");</div><div id=3D"yui_3_16_0_ym19_1_1513230=
894472_23570"> $plain_text_msg=3D1;</div><div id=3D"yui_3_16_0=
_ym19_1_1513230894472_23476"></div><div id=3D"yui_3_16_0_ym19_1_15132308944=
72_23571"> }</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1513230894=
472_23572"><br id=3D"yui_3_16_0_ym19_1_1513230894472_23573"></div> <div cla=
ss=3D"qtdSeparateBR"><br><br></div><div class=3D"yahoo_quoted" style=3D"dis=
play: block;"> <div style=3D"font-family: Helvetica Neue, Helvetica, Arial,=
Lucida Grande, sans-serif; font-size: 13px;"> <div style=3D"font-family: H=
elveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; =
font-size: 16px;"> <div dir=3D"ltr"><font size=3D"2" face=3D"Arial"> =CE=A3=
=CF=84=CE=B9=CF=82 12:05 =CF=80.=CE=BC. =CE=A0=CE=AD=CE=BC=CF=80=CF=84=CE=
=B7, 14 =CE=94=CE=B5=CE=BA=CE=B5=CE=BC=CE=B2=CF=81=CE=AF=CE=BF=CF=85 2017, =
=CE=BF/=CE=B7 Jason Haar <[email protected]> =CE=AD=CE=B3=CF=81=
=CE=B1=CF=88=CE=B5:<br></font></div> <br><br> <div class=3D"y_msg_containe=
r"><div id=3D"yiv7295142757"><div><div dir=3D"ltr">That won't whitelist for=
AV: AV is always on (assuming it's enabled of course). Qmail-Scanner itsel=
f skips SpamAssassin via IP address filters - I can't think of any way of d=
oing it per email address</div><div class=3D"yiv7295142757gmail_extra"><br =
clear=3D"none"><div class=3D"yiv7295142757gmail_quote">On Thu, Dec 14, 2017=
at 5:49 AM, Bobber <span dir=3D"ltr"><<a rel=3D"nofollow" shape=3D"rect=
" ymailto=3D"mailto:[email protected]" target=3D"_blank" href=3D"mailto:bob=
[email protected]">[email protected]</a>></span> wrote:<br clear=3D"none"><=
blockquote class=3D"yiv7295142757gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex;">
=20
=20
=20
<div class=3D"yiv7295142757yqt7916665513" id=3D"yiv7295142757yqt97284"><d=
iv><div><div class=3D"yiv7295142757h5">
-------- Original Message --------<br clear=3D"none">
<div class=3D"yiv7295142757m_-990246485383673214moz-cite-prefix">Subjec=
t: [Qmail-scanner-general]
Qmail-scanner Whitelist<br clear=3D"none">
From: kip papa via Qmail-scanner-general
<a rel=3D"nofollow" shape=3D"rect" class=3D"yiv7295142757m_-990246485=
383673214moz-txt-link-rfc2396E" ymailto=3D"mailto:qmail-scanner-general@lis=
ts.sourceforge.net" target=3D"_blank" href=3D"mailto:qmail-scanner-general@=
lists.sourceforge.net"><qmail-scanner-general@lists. sourceforge.net>=
</a><br clear=3D"none">
To: <a rel=3D"nofollow" shape=3D"rect" class=3D"yiv7295142757m_-99024=
6485383673214moz-txt-link-abbreviated" ymailto=3D"mailto:qmail-scanner-gene=
[email protected]" target=3D"_blank" href=3D"mailto:qmail-scanner-g=
[email protected]">qmail-scanner-general@lists. sourceforge.net<=
/a>
<a rel=3D"nofollow" shape=3D"rect" class=3D"yiv7295142757m_-990246485=
383673214moz-txt-link-rfc2396E" ymailto=3D"mailto:qmail-scanner-general@lis=
ts.sourceforge.net" target=3D"_blank" href=3D"mailto:qmail-scanner-general@=
lists.sourceforge.net"><qmail-scanner-general@lists. sourceforge.net>=
</a><br clear=3D"none">
Date: 12/13/2017 07:50 AM<br clear=3D"none">
</div>
<blockquote type=3D"cite">
<div style=3D"color:#000;background-color:#fff;font-family:Helvetica =
Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;">Hi, is t=
here a way to whitelist a
specific email address or domain in Qmail-scanner in order to
bypass AV Scanning and Spamassassin ? Thanks</div>
</blockquote></div></div>
This can be done through spamassassin:<br clear=3D"none">
<a rel=3D"nofollow" shape=3D"rect" class=3D"yiv7295142757m_-99024648538=
3673214moz-txt-link-freetext" target=3D"_blank" href=3D"https://wiki.apache=
.org/spamassassin/ManualWhitelist">https://wiki.apache.org/ spamassassin/Ma=
nualWhitelist</a><span class=3D"yiv7295142757HOEnZb"><font color=3D"#888888=
"><br clear=3D"none">
<br clear=3D"none">
</font></span><div class=3D"yiv7295142757m_-990246485383673214moz-signa=
ture">-- <br clear=3D"none">
<b>Bob Wooldridge</b><br clear=3D"none">
Blog: <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"ht=
tp://kc0dxf.net/blog/">http://kc0dxf.net/blog/</a></div>
</div></div>
<br clear=3D"none">------------------------------ -------------------------=
----- ------------------<br clear=3D"none">
Check out the vibrant tech community on one of the world's most<br clear=3D=
"none">
engaging tech sites, Slashdot.org! <a rel=3D"nofollow" shape=3D"rect" targe=
t=3D"_blank" href=3D"http://sdm.link/slashdot">http://sdm.link/slashdot</a>=
<br clear=3D"none">______________________________ _________________<br clea=
r=3D"none">
Qmail-scanner-general mailing list<br clear=3D"none">
<a rel=3D"nofollow" shape=3D"rect" ymailto=3D"mailto:Qmail-scanner-general@=
lists.sourceforge.net" target=3D"_blank" href=3D"mailto:Qmail-scanner-gener=
[email protected]">Qmail-scanner-general@lists. sourceforge.net</a><=
br clear=3D"none">
<a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"https://lists.=
sourceforge.net/lists/listinfo/qmail-scanner-general">https://lists.sourcef=
orge.net/ lists/listinfo/qmail-scanner- general</a><br clear=3D"none">
<br clear=3D"none"></blockquote></div><br clear=3D"none"><br clear=3D"all">=
<div><br clear=3D"none"></div>-- <br clear=3D"none"><div class=3D"yiv729514=
2757gmail_signature"><div dir=3D"ltr"><div>Cheers</div><div><br clear=3D"no=
ne"></div><div>Jason Haar</div><div>Information Security Manager, Trimble N=
avigation Ltd.</div><div>Phone: +1 408 481 8171</div><div>PGP Fingerprint: =
7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1</div></div></div>
</div></div></div><div class=3D"yqt7916665513" id=3D"yqt46717">------------=
------------------------------------------------------------------<br clear=
=3D"none">Check out the vibrant tech community on one of the world's most<b=
r clear=3D"none">engaging tech sites, Slashdot.org! <a shape=3D"rect" href=
=3D"http://sdm.link/slashdot" target=3D"_blank">http://sdm.link/slashdot</a=
></div><div class=3D"yqt7916665513" id=3D"yqt37405">_______________________=
________________________<br clear=3D"none">Qmail-scanner-general mailing li=
st<br clear=3D"none"><a shape=3D"rect" ymailto=3D"mailto:Qmail-scanner-gene=
[email protected]" href=3D"mailto:[email protected]=
eforge.net">[email protected]</a><br clear=3D"non=
e"><a shape=3D"rect" href=3D"https://lists.sourceforge.net/lists/listinfo/q=
mail-scanner-general" target=3D"_blank">https://lists.sourceforge.net/lists=
/listinfo/qmail-scanner-general</a><br clear=3D"none"></div><br><br></div> =
</div> </div> </div></div></body></html>
------=_Part_3077765_1762672910.1513234288735--
--===============7765441845479973511==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============7765441845479973511==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
--===============7765441845479973511==--