🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #327773

Re: onion_relay: false/true

#327773
From: Use-Author-Supplied-Address-Head...
Date: Thu, 13 Feb 2025 21:49
12 lines
1563 bytes
import "golang.org/x/net/proxy"

func smtpRelay(payload []byte, sendTo []string) (err error) {
    var conn net.Conn
    
    if strings.HasSuffix(relay, ".onion") {
        // Utiliser le proxy Tor
        dialer, err := proxy.SOCKS5("tcp", "127.0.0.1:9050", nil, proxy.Direct)
        conn, err = dialer.Dial("tcp", serverAddr)
    } else {
        conn, err = net.Dial("tcp", serverAddr)
    }
Technical Details
Message-ID: <20250213214945.6391F414FA@4uwpi53u524xdphjw2dv5kywsxmyjxtk4facb76jgl3sc3nda3sz4fqd.onion>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!alphared!sewer!news.dizum.net!not-for-mail
References: <20250209.113528.22f8bfb7@mixmin.net>, <20250209120046.90522200E2@hal.oc2mx.net>

Show Full Headers
Complete Article Headers
Message-ID: <20250213214945.6391F414FA@4uwpi53u524xdphjw2dv5kywsxmyjxtk4facb76jgl3sc3nda3sz4fqd.onion>
Subject: Re: onion_relay: false/true
Date: Thu, 13 Feb 2025 21:49:45 +0000
From: <Use-Author-Supplied-Address-Header@[127.1]>
References: <20250209.113528.22f8bfb7@mixmin.net>, <20250209120046.90522200E2@hal.oc2mx.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!alphared!sewer!news.dizum.net!not-for-mail
X-No-Archive: Yes
X-MS-Reactions: disallow
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
Author-Supplied-Address: noreply<AT>yamn<DOT>virebent<DOT>art
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 2001::1/128