tnef screwed up my queue

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Sat Jul 30 09:01:32 IST 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Pete Russell wrote:
> This has reoccured today. Its fustrating because it stops mail from 
> being processed altogether, the queue builds up. Also there is always a 
> corrupt message associated with this.
> postfix/postfix-script: warning: damaged message: corrupt/2698C501BB
> Any ideas on how to troubleshoot this?
> Pete


We have a similar problem though without the corrupt messages.

We take care of this using a script polling the hold dir every 2 
minutes.. (till we have a clear solution)

[root at serv ~]# more /scripts/

/bin/ls /var/spool/postfix/hold/tnef* > /dev/null 2>&1
RETVAL=`echo $?`

if [ $RETVAL -eq "0" ]; then
	# You could also rm -f in place of mv -f
         /bin/mv -f /var/spool/postfix/hold/tnef* /tmp/
         echo "Not done" > /dev/null 2>&1

The corresponding cron entry..
00-59/2 * * * * /scripts/ > /dev/null 2>&1

- dhawal

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list