Voytek, > on a somewhat related question: > I want to forward or receive email on PDA (over GPRS); > what can I use to strip any html email to text/plain email ? > like, keep original as is, but forward text/plain.
Like Noel Jones said: | This could probably be implemented as a defang method in | amavisd-new. Not sure how difficult it would be, might not be | too bad. | | You can dig around amavisd.conf and amavisd looking for defang | and altermime for some ideas. The amavisd interface to altermime is quite straightforward: you can configure amavisd to invoke some external program on a passing mail (inbound mail change is called defanging, outbound mail changes are called 'adding disclaimer', but this is just a common terminology, what gets changed is entirely in hands of an external program). Command line options can be configured on a per-recipient basis. Using some other program instead of altermime, or a shell script for modifying mail would probably work without any modification to amavisd code - or some minor tweak could be needed in sub prepare_modified_mail. Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
