Quarantine queue format

Steen, Glenn Glenn.Steen at AP1.SE
Thu Apr 28 10:31:53 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. ]

You likely need chmod 700 /var/spool/postfix/incoming/F/F29183F8 and
chown postfix.postfix /var/spool/postfix/incoming/F/F29183F8
... postfix is picky about this:-). Might also need touch it, but
the copy should take care of that (while destroying ownership and
probably the permissions too).

-- Glenn

> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Fred. Oger
> Sent: den 27 april 2005 08:02
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Quarantine queue format
> 
> 
> Wayne a écrit :
> 
> >On 26/04/2005 09:45, "Fred. Oger" <oger at SGSI.UCL.AC.BE> wrote:
> >
> >
> >  
> >
> >>My problem is the file stored in the quarantine folder aren't in the
> >>format described in the doc.
> >>
> >>eg:
> >># ls -l /var/spool/MailScanner/quarantine/20050426/F29183F8.76E8F
> >>-rw-------  1 postfix postfix 14768 Apr 26 05:20 F29183F8
> >>-rw-------  1 postfix postfix 11930 Apr 26 05:20 msg-10453-17.html
> >>
> >>
> >>So how can I resend this mail to the user ?
> >>    
> >>
> >
> >Chmod +x 
> /var/spool/MailScanner/quarantine/20050426/F29183F8.76E8F/F29183F8
> >Cp /var/spool/MailScanner/quarantine/20050426/F29183F8.76E8F/F29183F8
> >/var/spool/postfix/incoming/F
> >
> >The file F29183F8 should contain the entire message since 
> you set it to
> >store a single file so you just need to copy that to the 
> correct directory
> >with the correct permissions.
> >Also note the 'incoming/F' the 'F' comes from the first 
> character of the
> >message id.
> >So if your message id started with '4' you copy it to 'incoming/4'.
> >
> >Hope this helps...
> >
> >Regards,
> > Wayne
> >
> >  
> >
> Hi Wayne,
> 
> I tried the method you described but hopelessly the mail stays 
> indefinitely in the incoming queue.
> I also found it coud be resent using postdrop < queuefile. In 
> this case 
> I get the following error :
> #  postdrop < 
> /var/spool/MailScanner/quarantine/20050426/D814F477.D847C/D814F477
> 
> queue_id3E83246Cpostdrop: fatal: uid=0: unexpected record type: 67
> 
> Any idea ?
> 
> Regards,
> 
> Fred.
> 
> 
> 
> 
> ------------------------ 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!
> 

------------------------ 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