I think this is the proper regex for grabbing attachments. This was
tested on a message taken from a mbox, I have not setup dbmail along
side post fix on my test environment.

^[-]{1,19}[0-9]{1,}n[a-zA-Z0-9-: /\";=n.]{1,}Content-Disposition:
attachment;[a-zA-Z0-9-: /\";-+=n.]{1,}[^$-]{1,}[0-9]{1,}[-]{1,}

I think this is right any objections?
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to