2

I am trying to find the folder where Postfix store email's attachment but I can't seems to find it. Anyone know how?

4
  • postfix doesn't store attachments separately, they are embedded in the mail.
    – cas
    Nov 2, 2015 at 9:26
  • Is there any way to extract the attachment and save the file outside?
    – Norman
    Nov 3, 2015 at 2:27
  • 1
    from postfix while it's still in the queue? no, not without a lot of stuffing around. from your mail client (e.g. mutt or mail or any script that can read your mailbox): yes, easily.
    – cas
    Nov 3, 2015 at 2:46
  • 1
    Postfix does not really care about attachments. It generally sees the header with addresses, and the messsage body with whatever it may contain, text, images, files, it's just stored as text.
    – Lenne
    Nov 8, 2016 at 19:51

1 Answer 1

2

it's also inside the file that stores the mail itself and is MIME-encoded.

3
  • Is there any way to extract the attachment and save the file outside?
    – Norman
    Nov 3, 2015 at 2:27
  • 1
    @Norman superuser.com/questions/187106/… munpack Nov 7, 2015 at 3:39
  • 1
    @JacobEvans I tried using mumpack and ripmime and think that ripmime is more straight forward due to the file structure that is extracted from the email. I could easily manipulate the files after extraction. Thanks!
    – Norman
    Nov 9, 2015 at 6:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .