<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
tt
{font-family:"Courier New";}
span.Stylwiadomocie-mail18
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.Stylwiadomocie-mail19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=PL link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Hi! I read article abort mailscanner with postfix. I
do this same on my server but it doesn’t work!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>I use FreeBSD 5.1 Postfix 2.0.<font color=navy><span
style='color:navy'>18</span></font> and MailScanner 4.25. For example I include
part of my maillog:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:50:58 78-tor-7 MailScanner[31016]:
MailScanner E-Mail Virus Scanner ve<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>rsion 4.25-14 starting...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:50:58 78-tor-7 MailScanner[31016]: Using
locktype = flock<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:50:58 78-tor-7 MailScanner[31016]: Postfix
queue structure is depth 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:02 78-tor-7 MailScanner[31014]: Virus
and Content Scanning: Startin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>g<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:05 78-tor-7 MailScanner[31014]:
Uninfected: Delivered 1 messages<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:06 78-tor-7 postfix/qmgr[30247]:
6744C18C8F: from=<janasr@ee.pw.edu<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>.pl>, size=1955, nrcpt=1 (queue active)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:07 78-tor-7 postfix/local[31022]: warning:
corrupted queue file: ac<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>tive/6/6744C18C8F<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:07 78-tor-7 postfix/qmgr[30247]:
warning: saving corrupt file "6744<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>C18C8F" from queue "active" to queue
"corrupt"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Feb 10 18:51:08 78-tor-7 MailScanner[31023]:
MailScanner E-Mail Virus Scanner ve<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>rsion 4.25-14 starting...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>To chroot jail I only
changle below line in /usr/local/etc/postfix.in/master.cf<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>smtp inet n
- y - - smtpd<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>When I coment <font color=navy><span
style='color:navy'>below </span></font>line<o:p></o:p></span></font></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>defer_transports = smtp local virtual relay<o:p></o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>I main.cf then mails to me will be deliver, but if I
don’t coment it mails stays in corrupt directory!<o:p></o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'><o:p> </o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>What I do wrong and how to fix it?<o:p></o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>Thanks.<o:p></o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>Rafa³ Janas<o:p></o:p></span></font></tt></p>
<p class=MsoNormal><tt><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt'>rafalek@rafi.pl.eu.org</span></font></tt><font
face=Arial><span style='font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>