misuse MailScanner SOLVED

Michael Weis wm at meta.net
Thu Apr 10 08:49:29 IST 2008



Greg Borders schrieb:
> Michael Weis wrote:
>> Hello everyone,
>>
>> we are planing to create an email-account to which
>> only mails with attachments will be send.
>>
>> I have the job to extract this attachments from
>> the mail and handle them
>> (save, print, archive)
>>
>> So far so good, but I have no idea
>> how to get the attachments to a disk.
>>
>> I know mailscanner does this while scanning
>> for viruses (right?).
>>
>> So how can I tell mailscanner to just save
>> attachments from a certain user's emails ?
>> (no problem if they were scanned before)
>>
>> I searched the mailing-list-archive
>> but it seemed that nobody has to do this
>> before.
>>
>>
>> Greetings and thanks in advance
>>
>>
>> Michael
>>
> I have used a combination of a procmail recipe and the oh so sweet 
> tool *ripmime* (http://www.pldaniels.com/ripmime/) to auto extract 
> attachments from mail in a sendmail environment. (should work with 
> other MTAs.) With a simple bash script triggered by the procmail 
> recipe, you can easily 'rip out' attachments and do what ever to it 
> (save, print, archive) within the script, with no need to monkey 
> around with your mailscanner setup whatsoever.
>
> Hope this helps!
> Greg.
>
>
> --
>
> This email message and any document accompanying it may contain 
> information intended only for the person(s) named. Any use, 
> distribution, copying or disclosure by another person is strictly 
> prohibited.
>
> NOTICE TO PERSONS SUBJECT TO UNITED STATES TAXATION:
> DISCLOSURE UNDER TREASURY CIRCULAR 230:
> Any tax advice included in this written or electronic communication 
> was not intended or written to be used, and it cannot be used by the 
> taxpayer, for the purpose of avoiding any penalties that may be 
> imposed on the taxpayer by any governmental taxing authority or 
> agency. This written or electronic communication does not represent 
> legal advice. Persons in need of a legal opinion should seek competent 
> counsel.
>
@Gregg:
GREAT
this "os so sweet" tool is perfect

Thanks a lot for all suggestions
This was my first contact to the list and I'm very happy
that this litte OT-problem got solved.

Thanks to Julian for the programming of MailScanner,
a really great software

Michael

-- 
meta Trennwandanlagen, meta Straße, D-56579 Rengsdorf
Rechtsform: GmbH & Co. KG, Amtsgericht Montabaur HRA 10582
Persönlich haftende Gesellschafterin: meta Trennwandanlagen Verwaltungsgesellschaft mbH
Amtsgericht Montabaur HRB 10061, Sitz der Gesellschaft: D-56579 Rengsdorf
Geschäftsführer: Klaus Weidemann, Uwe Weidemann
Ust-Id-Nr. DE 149513506



More information about the MailScanner mailing list