How to get e-mail messages from Mail Scanner?

Jason Gottschalk Jason at SYO.Com
Tue Jul 17 01:43:06 IST 2007


Hello Glenn,

What did you do? log into my server? ! :)

that's exactly my situation.

Monday, July 16, 2007, 4:58:42 PM, you wrote:
Glenn> On 16/07/07, Jason Gottschalk <Jason at syo.com> wrote:
>> Hello Jim,
>>
>> But I think it it is the archive, I used the Store command. There
>> are not any pop accounts for this domain on this server, we are just
>> passing them through here to be scanned.
>>
>> So how do I get hundreds of messages in the archive or the quarantine
>> sent out to an address? Or, saved in a format I can copy to the
>> workstation and import?
>>
>> Jason.
>>
Glenn> "Archive of quarantine"? Sounds a bit like you are using MailWatch and
Glenn> have store set on the non-spam action... In whiich case this beconmes
Glenn> a problem of:
Glenn> a) Finding the relevant messages, and
Glenn> b) sending them to the recipient.

Glenn> If you indeed use MailWatch, then a) is fixed by a simple SQL query...
Glenn> All you really need is to construct a file containing all the message
Glenn> IDs and possibly all the dates... Heck, why not let the SQL scriptlet
Glenn> construct a file of filenames (one/line) with the absolute path to the
Glenn> message file (which is in RFC822 format), then simply loop over that
Glenn> and use yourMTAs sendmail command (for i in $(cat filenames); do
Glenn> sendmail recipient at add.ress<$i; done) ... Simple as that:-).
Glenn> I'm on vacation, so will not be writing that scriptlet for you anytime
Glenn> this week... perhaps when I'm back to the grindstone...:-)

Glenn> Cheers
Glenn> -- 
Glenn> -- Glenn
Glenn> email: glenn < dot > steen < at > gmail < dot > com
Glenn> work: glenn < dot > steen < at > ap1 < dot > se


-- 
Best regards,
 Jason Gottschalk                         mailto:Jason at SYO.Com
 SYO Computer Engineering Services, Inc.
 586-286-2557



More information about the MailScanner mailing list