attacment filtering and pine editor

hello,

i am studying on email systems. i mean mail servers, filters mail editors etc.

i searched net but i could not find any useful topic about attachment filtering. how can i filter attachments? is there any script or program?

also when using pine mail editor think that you marked an email to be deleted. while you are closing it, asked you if you really want to delete and you said yes. but then you repented you deleted this email is there any way to retrieve it back. i mean is there any folder that include deleted mails.

thank you.:confused: