Spam-maked ham to be returned to queue

Julian Field MailScanner at ecs.soton.ac.uk
Wed Jan 14 16:44:02 GMT 2009



On 14/1/09 14:30, Nikolaos Pavlidis wrote:
> Hello Julian,
>
> First of all you have all our best wishes for a speedy recovery. Thank
> you once again for taking an interest to our situation even in the given
> circumstances.
>
> Unfortunately "Quarantine Whole Messages As Queue Files" is set to "no"
> so the mails we need are single files stuck
> in /var/spool/MailScanner/quarantine/date/spam and the sendmail -qI/R/S
> option does not seem to work since I believe it applies to messages
> still on queue.
>    
In which case you've got to run "sendmail -t" on the RFC822 message 
file, which will cause its re-delivery. But it will go to the recipients 
listed in the "To:" header, not the recipients in the envelope as you 
lost those by not storing the messages as queue files. Beware: this may 
do very nasty things to mailing lists!

> Thank you in advance, your help is much appreciated.
>
> Regards,
>
> Nik
>
>
> On Tue, 2009-01-13 at 17:35 +0000, Julian Field wrote:
>    
>> If you have "Quarantine Whole Messages As Queue Files = yes" then you
>> can just take the qf+df pair of files from the quarantine directory
>>      
> and
>    
>> drop them straight into /var/spool/mqueue. The next sendmail queue run
>>      
>
>    
>> will deliver them. If you don't want to wait for that, then read the
>>      
> man
>    
>> page for sendmail, the "-q" section, you want to read how to use the
>> "-qI" option in particular.
>>
>> On 13/1/09 15:45, Nikolaos Pavlidis wrote:
>>      
>>> Hello all,
>>>
>>> We have a working Solatis-Mailscanner installation based on sendmail
>>>        
> MTA
>    
>>> which is still learning... and therefore sending some email's to
>>> quarantine when it shouldn't. How is it possible to put the
>>> "misunderstood" mails back in the queue to be sent after being
>>> identified and sa-leaned as ham?
>>> Thank you in advance.
>>>
>>> Regards,
>>>
>>> Nik
>>>
>>>
>>>
>>>        
>> Jules
>>
>> -- 
>> Julian Field MEng CITP CEng
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>>
>> MailScanner customisation, or any advanced system administration help?
>> Contact me at Jules at Jules.FM
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> PGP public key: http://www.jules.fm/julesfm.asc
>>
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>      

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list