<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>@font-face {
font-family: MS Mincho;
}
@font-face {
font-family: Cordia New;
}
@font-face {
font-family: Cordia New;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: ;
}
@page WordSection1 {margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P.MsoPlainText {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
LI.MsoPlainText {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
DIV.MsoPlainText {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
PRE {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"; FONT-SIZE: 10pt
}
SPAN.EmailStyle17 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext
}
SPAN.HTMLPreformattedChar {
FONT-FAMILY: "Courier New"
}
SPAN.PlainTextChar {
FONT-FAMILY: "Calibri","sans-serif"
}
.MsoChpDefault {
}
DIV.WordSection1 {
}
</style><style id="owaParaStyle">P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple" ocsi="0" fPStyle="1">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 10pt">
<p>Hi,</p>
<p> </p>
<p>Afaik there is no possibility to use other / additional templates as those existing by default. I've asked this question some time before in here and received the answer that this is impossible.</p>
<p> </p>
<p>We would also like to send out a different message for banned files instead of using the same as for viruses.</p>
<p> </p>
<p>Cheers</p>
<p> </p>
<p>Linus</p>
<div>
<p> </p>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<hr tabindex="-1">
</div>
</div>
</div>
</div>
<div style="DIRECTION: ltr" id="divRpF743932"><font color="#000000" size="2" face="Tahoma"><b>Von:</b> amavis-users [amavis-users-bounces+linus=haake-it.net@amavis.org]" im Auftrag von "Watthanachai Kekhua via amavis-users [amavis-users@amavis.org]<br>
<b>Gesendet:</b> Mittwoch, 11. September 2013 13:54<br>
<b>An:</b> amavis-users@amavis.org<br>
<b>Betreff:</b> notify_virus_sender_teml could not work properly.<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Dear Marc, And All Amavis’s friend ,</p>
<p class="MsoNormal"> </p>
<pre><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> We try to use notify_virus_sender_template function on below configure (amavisd.conf)</span></pre>
<pre><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </span></pre>
<pre><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> $final_banned_destiny = D_BOUNCE;</span></pre>
<pre><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> $notify_virus_sender_templ= read_text("/var/amavis/notify_virus_sender.txt");</span></pre>
<pre><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </span></pre>
<p class="MsoNormal"><span style="COLOR: #1f497d"> On amavisd-new version = 2.7.0,1</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> ##Related environment .</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> Perl version = 5.12.4</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> (MTA) Postfix version = 2.7.8_1,1</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> FreeBSD 8.2-RELEASE AMD 64 bit.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> /var/amavis/notify_virus_sender.txt => Already prepared and owner is vscan:vcsan
</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> After test send banned (.exe) attach file email ,
</p>
<p class="MsoNormal"> we could not receive notify email on “notify_virus_sender.txt” content ,</p>
<p class="MsoNormal"> But receive normal message content from amavis .</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> ### Normal content ###</p>
<p class="MsoPlainText"> To: Pratchaya Rudjanisoragun</p>
<p class="MsoPlainText"> Subject: Undeliverable: test</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"> Delivery has failed to these recipients or groups:</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"> <a href="mailto:xxx@example.co.th" target="_blank">
xxx@example.co.th</a></p>
<p class="MsoPlainText"> Your message wasn't delivered because the recipient's e-mail provider rejected it.</p>
<p class="MsoNormal"> ### Normal content ###</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> Could you recommend next step on this ?</p>
<p class="MsoNormal"><span style="COLOR: #1f497d"></span> </p>
<p class="MsoNormal"><span style="COLOR: #1f497d">Please do not hesitate to contact us , If you have any questions .<br>
Best Regards.<br>
################################<br>
# Watthanachai KEKHUA (Golf)<br>
# Operation And Maintenance Department (OAM)</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"># Tel: 02-2367227 Ext. 1624<br>
# NTT Communications (Thailand) Co., Ltd.<br>
#################################</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">DISCLAIMER :</p>
<p class="MsoNormal">This email is for the use of the intended recipient(s) only.
</p>
<p class="MsoNormal">If you have received this email in error, please notify the sender immediately and then delete it.
</p>
<p class="MsoNormal">If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission.
</p>
<p class="MsoNormal">We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message.</p>
<p class="MsoNormal">We cannot accept liability for any loss or damage caused by software viruses.</p>
<p class="MsoNormal">The information contained in this communication may be confidential and may be subject to the attorney-client privilege.
</p>
<p class="MsoNormal">If you are the intended recipient and you do not wish to receive similar electronic messages from us in future then please respond to the sender to this effect.</p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>