
Is there a simple way in procmail that I can use to trap the second case (0 byte length attachment(s))? I simply don't want the first (useless) message and want to divert these to a holding pen.
I don't think procmail has ever been good at digging into attachments. An external program would be more reliable. reformime (part of maildrop, courier imap) is good with extracting attachments, or just displaying information on them. It's not difficult to run from procmail, but if you eg need to parse its output it's easier from procmail to put it into a short bash script. Other options may be mimencode/mmencode (part of metamail), or metamail. There must be others. Switch email provider?? Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me.