Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-10-2012, 05:05 AM   #1
Registered: Apr 2009
Posts: 38

Rep: Reputation: 15
Unhappy sendmail & socks proxy

Hi All,

I am using "mailx" utility (that uses "sendmail") to send bunch of mails in a Linux-Ubuntu PC .

My set up consists of a proxy server. Through internet searches i came to know that, "tsocks" can be used to tell applications to go through socks proxy server.

I tried tsocks with mailx, but it is sending mails with out passing through the proxy server. Even i tried "dante-client" (socksifying applcations) also, but mailx utility doesnot sends packets through socks proxy server.

Any help is appreciated.
Old 05-11-2012, 01:57 PM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,323

Rep: Reputation: Disabled
From what I understand, unless specifically configured to use SMTP, mailx will use the local MTA. Invoking mailx with tsocks or dante-client will have no effect unless mailx actually tries to send mails through an SMTP server.

According to the mailx man page, there are several ways to force mailx to use smtp, the easiest being the use of the smtp variable.


proxypass, sendmail, socks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socks proxy + iptables kdelover Linux - Server 3 01-16-2012 07:20 PM
Multihop SOCKS proxy nusch Linux - Networking 1 04-18-2011 10:00 AM
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 04:09 PM
What socks 5 proxy to install? rosv Linux - Networking 2 11-06-2008 04:50 AM
Sendmail & SOCKS proxy gboutwel Linux - Networking 4 06-05-2001 08:13 PM

All times are GMT -5. The time now is 01:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration