LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-10-2012, 04:05 AM   #1
ssenthilkumar
Member
 
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, 12:57 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,919

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.
 
  


Reply

Tags
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 06:20 PM
Multihop SOCKS proxy nusch Linux - Networking 1 04-18-2011 09:00 AM
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 03:09 PM
What socks 5 proxy to install? rosv Linux - Networking 2 11-06-2008 03:50 AM
Sendmail & SOCKS proxy gboutwel Linux - Networking 4 06-05-2001 07:13 PM


All times are GMT -5. The time now is 08:34 AM.

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