tnef screwed up my queue
Julian Field
MailScanner at ecs.soton.ac.uk
Sat Jul 30 14:24:18 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. ]
Please can you copy a TNEF Postfix message file on a web site and mail
me a URL?
I need something to try it with. I suspect I'm just missing a chdir
somewhere.
Dhawal Doshy wrote:
> 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
>
>
> 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/clear_tnef.sh
> #!/bin/bash
>
> /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/
> else
> echo "Not done" > /dev/null 2>&1
> fi
>
> The corresponding cron entry..
> 00-59/2 * * * * /scripts/clear_tnef.sh > /dev/null 2>&1
>
> - dhawal
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list