POSTFIX release from quarantine (WAS: How to let through i nnocent messages)
Samuel Luxford-Watts
slwatts at WINCKWORTHS.CO.UK
Thu Aug 7 15:43:04 IST 2003
I was just looking at this.
I am running postfix 2...(whatever the latest download was 3 days ago!) and
have just tried releasing several emails held in quarentine.
>From the quarantine folder, If you chmod +x (filename), chown
postfix:postfix (filename) then cp filename
/var/spool/postfix/incoming/(first letter of filename)/
It works - its not ideal, as you do get warnings logged in the logfile
saying that filename doesn't match inode and that its renaming queue files
but the mail is sent. Maybe more by luck than anything but it does go!
If someone could write a nice script ... Or even modify the mailscanner
webmin module to handle releasing emails from quarantine it would be much
appreciated!
Cheers,
Sam
-----Original Message-----
From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
Sent: 07 August 2003 15:04
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: POSTFIX release from quarantine (WAS: How to let through
innocent messages)
At 14:07 07/08/2003, you wrote:
> >>I am running Postfix+MS+SA, all the latest stable versions. I
> >>grepped "Subject" from quarantine directory and I noticed some
> >>message weren't spam. How can I elegantly forward those messages
> >>where they belong?
> >>
>
>
> >In the MailScanner.conf is an option to save the quarantined messages
> >as queue files: "Quarantine Whole Messages As Queue Files = yes"
> >
> >If this option is set to yes, you should be able to just move those
> >save queue files into you postfix queue (I'm not very familiar with
> >postfix) and they should be re-delivered! Be aware that the mail
> >doesn't go trough you spam checking again :)
>
>
>I have tried this and I believe postfix either doesn't allow this, OR
>I'm doing something wrong:
>
>Any ideas what i could be doing wrong?
Postfix queue files are named according to the inode number of the file, so
dropping files back into the queue is a non-trivial exercise. I'm sure
someone out there can write you a script to do it.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
--------------
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