Nginx Mail Library - add support for SSL on the upstream connection side for imap/pop servers

Job Description:

I am looking for a modification of the nginx mail library, I have a rough idea of the areas the code needs to be changed

[login to view URL]

Currently the mail backend does not support SSL when connecting from nginx itself to imap/pop3 servers, the frontend ssl works perfectly fine.

[login to view URL]

I will be able to submit an example set of nginx configs for local testing / verification.

we want to add optional support for SSL on the mail module.

The first part will be here [login to view URL] where we will need to add additional support for the http_auth part to give a variable to let nginx know if it needs to use ssl or not. a variable like "Auth-ServerSSL" or similar (there is a different "Auth-SSL" header thats not related, but best to not conflict)

That config then gets used in [login to view URL] aka ngx_mail_proxy_init

[login to view URL]

this is where i believe most of the work will be. here the [login to view URL] code will need to support ssl. The built in http library in nginx will have some code that can be reused / learned from to do similar.

Since the nginx module also only accepts IP's for the upstream imap/pop server's it connects to it will need to skip verification of the actual ssl cert.

so case NGX_MAIL_POP3_PROTOCOL and NGX_MAIL_IMAP_PROTOCOL are the ones that will be affected. the default case statement will not need to be adjusted.

we are happy for you to also publicly request nginx to merge in the code once complete, were not requiring you to, were quite happy to work on a fork, but you may want the additional github history / credit.

Here is an example error of what currently happens.

[login to view URL]

nginx gets stuck in a 1 minute timeout waiting as its not attempting SSL (line 74 in log).

It is important that the feature be optional as we have a mix of imap and pop servers which will be going through a single nginx mail instance and some will and wont have SSL required on the backend connection.

Skills: Nginx, Linux, C Programming

About the Client:
( 0 reviews ) Dublin, Ireland

Project ID: #35872009

14 freelancers are bidding on average €532 for this job


Hi there, I'm bidding on your project "Nginx Mail Library - add support for SSL on the upstream connection side for imap/pop servers" Being an expert in C, and C++ programming I can do this project for you. please lea More

€750 EUR in 3 days
(38 Reviews)

Hello Good afternoon , I just finished reading the job description . I see you are looking for someone experienced in developing products using Nginx, C Programming and Linux. This is something I can do, Please review More

€750 EUR in 29 days
(13 Reviews)

Hi Quite a clear task. You will need other small tasks such as protocol enumerations to add, otherwise SSL upstram connection is already implemented in Nginx and you need to just reuse the code. Anyway it shouldn't hav More

€600 EUR in 7 days
(15 Reviews)

Hello: After reading in detail the requirements of your project and concluding that they match my areas of knowledge and skills, I would like to introduce myself. My name is Umair Anwar and I am the lead engineer for C More

€700 EUR in 12 days
(1 Review)

Hi there, How are you? I can work with your project requirements mentioned. I can definitely pull it off once provided with detailed file of your requirements. Some points are needed to be discussed before starting so More

€700 EUR in 15 days
(3 Reviews)

Hello Hope you are well. I read your project detail carefully, and found it good fitness for me. My skills and experiences will be helpful to solve/make your project. I have worked for 6 years more with the skills. More

€500 EUR in 10 days
(6 Reviews)

Hello Client ! I am a skilled full stack developer. Having rich experience in Java , Python , C , C++ , C# , Mysql , Sql , Oracle , Object Oriented Programming , Data Structure , Algorithms . More

€250 EUR in 8 days
(1 Review)

⭐⭐⭐Dear client⭐⭐⭐ I'm very interested in your task and i have enough knowledge of C programming and software architecture. High quality and the Best service. I am always passionate about making a secured, light weight More

€500 EUR in 7 days
(0 Reviews)

Hi. How are you doing? As a highly skilled Software developer, I can help you perfectly. I am very confident with my skills and I'd like to help your business by doing my best. My clients have never been frustrated wit More

€250 EUR in 7 days
(0 Reviews)

Services we can provide: 1. Web site design and Development in PHP 2. Developing website in PHP Frameworks (i.e. CodeIgniter, CakePHP, Zend, and Yii) and more! 3. CMS based solutions (i.e. Wordpress, Joomla and Drupal) More

€500 EUR in 7 days
(0 Reviews)

Hi there, thanks for your job posting and happy to send my proposal. As a senior software developer with vast experience about linux c++ programing and nginx for over 3 years, I assure that I have enough relevant knowl More

€450 EUR in 7 days
(0 Reviews)

Hi Greetings! I am available right now for the project discussion and can start the project on an immediate basis. I have understood your project requirement I have7++ experience in design and development. I can ha More

€750 EUR in 7 days
(0 Reviews)