Slightly OT - Postdrop wont re-inject mailmessages from quarantin e
Chris Trudeau
chris at TRUDEAU.ORG
Tue Aug 12 12:26:44 IST 2003
Sam I wrestled with this for a while.
I finally set:
<SNIP>
# When you quarantine an entire message, do you want to store it as
# raw mail queue files (so you can easily send them onto users) or
# as human-readable files (header then body in 1 file)?
Quarantine Whole Messages As Queue Files = no
</SNIP>
so that quarantine messages are maintained in mbox format....then you can
easily use the postfix "sendmail" which essentially calls postdrop and allow
it to forward original message:
[root at BLAH]# sendmail < /var/spool/quarantine/9DA7F1C012
This will take the queue file and allow postfix to re-inject into the
dataflow of message processing...
That's how I got it to work.
CT
----- Original Message -----
From: "Samuel Luxford-Watts" <slwatts at WINCKWORTHS.CO.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Tuesday, August 12, 2003 5:34 AM
Subject: Slightly OT - Postdrop wont re-inject mailmessages from quarantin e
> Hi,
>
> I know that this is more of a postfix issue than a mailscanner one but
since
> this has come up before and since its related to Mailscaner......
>
> I have been trying to use 'postdrop -c /etc/postfix < [message filename]'
to
> re-inject a quarantined message into /var/spool/postfix/incoming (the
> outgoing message queue) but keep getting the following error:
>
> Aug 12 09:49:10 mailscanner postfix/postdrop[26278]: fatal: uid=0:
> unexpected record type: 67
>
> The mail file is a proper queue file, its owned by postfix:postfix but it
> only has owner rw flags set. If I also add x flag and copy it to
> /var/spool/postfix/incoming/<first letter> postfix sends it no problem at
> all. Am I doing something wrong?
>
> Cheers,
>
> Sam
>
> --------------
> Winckworth Sherwood Solicitors and Parliamentary Agents
> DX 148400 WESTMINSTER 5 : 35 Great Peter Street, London SW1P 3LR
> Telephone 020 7593 5000 Fax 020 7593 5099
>
> Do something amazing!
> The firm is supporting a charitable bike ride through Vietnam and needs
your help. For further information please visit www.vietnambikeride.org
<http://www.vietnambikeride.org>
>
> -Confidentiality-
> This email message and any attachments are confidential; they may be
subject to legal professional privilege and are intended for the named
recipient only. If you are not the named recipient, please return the
message and enclosures immediately and delete them from your system.
>
> -Caution-
> Before advice received only by email (whether by attachment or otherwise)
may be relied on, the authenticity of the communication must be verified by
means independent of email.
>
> -Regulation-
> The firm is regulated by the Law Society.
>
> -Partners-
> A list of partners is available for inspection at each office of the firm
and on the firm's website at www.winckworths.co.uk
<http://www.winckworths.co.uk>
More information about the MailScanner
mailing list