I'm writing a shell script to extract mail attachments from an mbox file
At the moment I use this command: cat mboxfile|formail -des munpack -qf
But I'd like to embed the sender email address in the filename, something like:
user@host_filename.extension
Can you suggest me some tool?