Find Jobs
Hire Freelancers

59395 patch Qmail & add 1 feature

N/A

In Progress
Posted over 19 years ago

N/A

Paid on delivery
Patch qmail ( see [login to view URL] and [login to view URL] ) to use an IP address and HELO host for outbound smtp connections that is not the default one, i.e. not the first IP address of the interface and the domain name stored in control/me or control/helohost. This work has already been done by these folks at: [login to view URL] but I don't like their exact implementation (they do a dns lookup on the MAIL FROM: senders domain and use that IP address/HELO host). What I'd rather see is parsing the outgoing message's headers for a special X-Header that would instruct what IP address/HELO host qmail-remote should use (which would be contained in a text file called "vmta"). I'll give you an example (please note that SL won't accepts the "AT" sign so I used (A) instead and won't accept the html brackets so i used "[" instead): Here' an example email (notice the "x-vmta:" header): ------------------Start------------------- Message-ID: [20050108125807.762EE8817AD32BF6(A)[login to view URL]] From: "Alanna Abdollahiq" [alanna.a(A)[login to view URL]] To: recipient(A)[login to view URL] Subject: Test Message Reply-To: [alanna.a(A)[login to view URL]] Date: 08 Jan 2005 12:58:09 -0500 MIME-Version: 1.0 x-vmta: vmta1 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello World....have a nice day. ------------------End-------------------- Here's the text file called /var/qmail/control/vmta : ------------------Start------------------- [virtual-mta vmta1] host-name [login to view URL] smtp-source-ip [login to view URL] [/virtual-mta] ------------------End-------------------- So, qmail remote would see that this email had the special header, it would look up in the text file to find what IP address & HELO host to use for the outbound connection. You can pretty much just patch the work done by [login to view URL] (its [ 20 line patch). Please only submit to this project if you have qmail experience, or are a dam good enough C programmer to not make it matter. Thank you, John
Project ID: 1808130

About the project

Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
East Aurora, United States
4.6
34
Member since Jan 8, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.