Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Postfix mail format description.

    I am using Postfix as mail transport agent to filter spam messages. I am trying to log the emails in database with C++.I am using vmime library to read email-files and parse them. The problem is that the files from postfix are in strange format such as:

    0x8071bf8C? 2021 626 1 0T12107
    05462 492632Acreate_time=1210705462Arewrite_context=remo
    &!log_client_address= A9log_[]A$log_helo_name=el-out-1112

    I want to know how can i convert these mails to plain text like :

    From :
    Subject : Test
    and so on.

    Can anyone help me ?

    Thanks in advance.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    what type of db are you trying to store the emails in? because there may already be a solution without writing something custom
    postfix mysql - Google Search

  3. #3
    I know for postfix mysql support but i want to make my db implementation because this will be my project for my bachelor university degree . I am going to use postgre db to store mail info.

    Thanks in advance.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts