Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2013, 07:06 AM   #1
Registered: Oct 2005
Posts: 325

Rep: Reputation: 32
How to determine email with attachment if using Maildir format

Anyone knows how to check if the email has an attachment if I'm using Maildir format? I know that if the size of the email is huge, then definitely it has an attachment but is there a way to determine what is the attached file and could we filter or check if the email has attachment? I'm using Dovecot and Qmail.
Old 09-02-2013, 07:16 AM   #2
Senior Member
Registered: Mar 2012
Posts: 1,716

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
You can grep for the mimetype info, like:
Content-Type: application/whatever;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
maildir format to mbox format kalidoss Linux - Software 2 09-21-2012 12:28 AM
Using Kmail's maildir email format to import to Spicebird snowweb Linux - Software 0 11-12-2011 11:12 PM
convert email files with attachment to save as attachment file (metamail?) ted_chou12 Linux - Software 2 04-08-2011 09:01 PM
maildir format tools syl20 Linux - Software 5 01-19-2005 07:55 AM
postfix and maildir format forand Linux - Software 4 05-05-2003 01:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration