LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 12-26-2008, 11:04 PM   #1
syadnom
LQ Newbie
 
Registered: Dec 2002
Posts: 7
Thanked: 0
procmail or some program to zip email attachments over a given size -HELP-


[Log in to get rid of this advertisement]
I'm trying to find a way to process incoming mail to zip compress attachments. I am running postfix with procmail and dovecot with Maildir. I currently have procmail recipes for clamav and spamassassin as well has some pre-filter recipes to save some CPU cycles. I am not terribly elite with the procmailrc file!

The problem I have is that some users insist on sending very large attachments while on the local network with no concern as to how long it takes mobile users to get it. The people are the corporate level people that cant be told that they cant send 15MB emails. A 15MB excel file typically compresses to 2MB!, which is ok for mobile users.

I am currently setting up myentunnel on the windows desktops and doing a compressed ssh tunnel to the mailserver and setting up thier client to connect to localhost. This works for some people but it is not ideal.

Id like to just do a:

:0 fwb:
* > 1000000
|zip flags whatever -


if that conveys the concept! Compress the attachment of the email if it is a certain size and pass it on to the next recipes..

Anyone have an idea on how to do this? I also have formail available.

My OS is ubuntu 7.04 server...
syadnom is offline  
Tag This Post ,
Reply With Quote
Old 12-27-2008, 12:50 PM   #2
syadnom
LQ Newbie
 
Registered: Dec 2002
Posts: 7
Thanked: 0

Original Poster
bump....
syadnom is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple email attachments ehedman Linux - Software 1 06-20-2007 07:13 PM
Open source program to strip email attachments? Chiragrs Linux - Server 0 05-24-2007 04:54 PM
email attachments rhb327 Linux - Software 2 11-13-2004 10:08 AM
Remove attachments with Procmail? ciop Linux - Security 3 06-09-2004 04:11 PM
Procmail & mail attachments PcHammer Linux - Software 1 02-05-2003 09:31 AM


All times are GMT -5. The time now is 09:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration