Proxy using VMime

84 views
Skip to first unread message

rohi...@gmail.com

unread,
Apr 7, 2014, 2:05:27 AM4/7/14
to vm...@googlegroups.com, rohit
Hello all,
I am writing a Mail proxy, and I thought VMime would be of great help. I know that
there is VMime book and documentation about VMime, but before diving into to it, I wanted to ensure that , what i want to do, can be done using VMime.

These are my requirements . . .
1) IMAP,POP3,SMTP support.
2) OpenSSL support.
3) Must be able to add footer at the end of my mail.
4) Must be able to access mail content and scan it using an antivirus(just say written by myself)

Can this be done using VMime ?
Thanks in advance !

Vincent Richard

unread,
Apr 8, 2014, 1:07:15 PM4/8/14
to vm...@googlegroups.com, rohit
Hello Rohit!

1) VMime fully supports IMAP, POP3 and SMTP (see http://www.vmime.org/features.html for more information)

2) VMime does support SSL/TLS either using OpenSSL or GNU TLS, at your choice

3) and 4) You can read and modify the contents of any body part, after parsing a message

I hope that I answered your questions!

Vincent

Rohit Kulkarni

unread,
Apr 9, 2014, 2:16:40 AM4/9/14
to vm...@googlegroups.com, rohit
Thanks Vincent,
I read the features. I just have one more question, the extent i read about and understood Vmime,I have concluded that I can use VMime IMAP store support to get emails from the server, but for acting as a proxy I have to write my own code for sending mails to client so i have to parse the imap commands received from client. Is my conclusion right ?

Vincent Richard

unread,
Apr 9, 2014, 3:12:12 AM4/9/14
to vm...@googlegroups.com, rohit
Hi Rohit,

If I understand correctly, you are also looking for an IMAP *server*, which VMime is not. VMime only support the client side of POP3, IMAP and SMTP. So, yes, you are right, you will still have to implement this side of the project, or find another library which supports both the client and server side (I don't know one).

However, I think the VMime IMAP parser could be easily extended to support parsing of client IMAP commands, but a big part will be to interpret these commands...

Vincent

Rohit Kulkarni

unread,
Apr 9, 2014, 5:38:12 AM4/9/14
to vm...@googlegroups.com, rohit
Thanks !! now the picture is crystal clear.
Reply all
Reply to author
Forward
0 new messages