[stunnel-users] Adding header to SMTP msgs

Michal Trojnara Michal.Trojnara at mobi-com.net
Sat Nov 25 19:46:57 CET 2006

On Friday 24 November 2006 18:17, Eric B. wrote:
> I am looking at stunnel as a way to add SSL/TLS to an SMTP server, but my
> issue is that the SMTP server must be able to determine the address of the
> incoming connection to perform RBL checks, reverse MX record checks, PTR
> checks, etc.  From what I can understand, however, the SMTP server will
> only see the client side of the pipe (localhost) as the originating
> address, instead of the originating machine IP.

That is how a proxy is expected to work.

> Is there any way to get the SMTP server to see that original IP address? 
> Or baring that, is there anyway that stunnel can insert a header into the
> mail indicating the original IP address?

I know there are some people that implement it based on log files.

What is your SMTP server?  Why don't you use a native SSL support?

Are there really a lot of spammers that use SSL to send spam?

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20061125/d254f8ea/attachment.sig>

More information about the stunnel-users mailing list