MailScanner archive a message multiple times

Kai Wang kwang at ucalgary.ca
Wed Apr 29 21:43:30 IST 2009


Good news. I solved the problem myself.

I read the "MailScanner Installation Guide - Postfix" and verified smtp4 configuration with it. I noticed that the /var/spool/MailScanner/quarantine ownership was incorrect. I modified it and restarted postfix at abour 2:10pm. It has been 30+ minutes. There is not duplicate archive copies since then. Also the "postfix: Process did not exit cleanly, returned 255 with signal 0" error disappeared from /var/log/messages.

[root at smtp4 postfix]# ls -dl /var/spool/MailScanner/quarantine
drwxr-xr-x 2 root root 4096 Apr 10 10:03 /var/spool/MailScanner/quarantine
[root at smtp4 postfix]# chown -R postfix.postfix /var/spool/MailScanner/quarantine

[root at smtp4 20090429]# pwd
/var/spool/MailScanner/archive/20090429
[root at smtp4 20090429]# ls -l | grep " 29 14:1" | cut -c52-61 | sort | uniq -c | sort -rn | head -5
      1 F28845800C
      1 EF8AB5801A
      1 EED185800A
      1 EE4845800A
      1 EC1E05801A
[root at smtp4 20090429]# ls -l | grep " 29 07:1" | cut -c52-61 | sort | uniq -c | sort -rn | head -5  
     90 52DEC5800B
     84 1EFBE5801E
     48 20CC258004
     33 6CA8958003
     26 E2B7B58003

[root at smtp4 ~]# grep -E "postfix: Process did not exit cleanly|last message repeated" /var/log/messages | tail -5
Apr 29 13:58:58 smtp4 last message repeated 2 times
Apr 29 13:59:09 smtp4 postfix: Process did not exit cleanly, returned 255 with signal 0 
Apr 29 13:59:21 smtp4 postfix: Process did not exit cleanly, returned 255 with signal 0 
Apr 29 13:59:57 smtp4 last message repeated 3 times
Apr 29 14:00:50 smtp4 last message repeated 8 times

Kai Wang
System Services
Information Technologies, University of Calgary, 
2500 University Drive, N.W., Calgary, 
Alberta, Canada T2N 1N4 
Phone (403) 220-2423
Fax (403) 282-9361


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Kai Schaetzl
Sent: Wednesday, April 29, 2009 2:49 AM
To: mailscanner at lists.mailscanner.info
Subject: Re: MailScanner archive a message multiple times

Kai Wang wrote on Tue, 28 Apr 2009 19:26:00 -0600:

> Apr 28 15:23:12 smtp4 postfix/cleanup[24397]: F3CA058002: message-id=<200904282123.n3SLNAkR028670 at l5.acs.ucalgary.ca>
> Apr 28 15:23:14 smtp4 MailScanner[23234]: Saved archive copies of
> F3CA058002.B6300 A38AB58004.360C0 52DEC5800B.63C17
> Apr 28 15:23:18 smtp4 MailScanner[24265]: Saved archive copies of
> F3CA058002.57F78 52DEC5800B.B3C49 A38AB58004.19C12
> Apr 28 15:23:25 smtp4 MailScanner[24658]: Saved archive copies of
> F3CA058002.D6243 A38AB58004.40395 099AA58005.34E58 B035558007.D1C75
> 52DEC5800B.3168F

This indicates that the message had to be processed several times. Either because
there was a processing problem first or (guess) you split the messages to one 
for each recipient.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list