From: <Joc...@Ha...> - 2007-03-15 14:40:53
|
>>>>> "RMG" == Rob MacGregor writes: On 3/8/07, Jochen Hayek wrote: >> A while ago I started experiments with socks5 (-> dante) >> and created a /etc/socks.conf on my local host and I set up a socks5 proxy server on a neighbour box. >> >> I did not instruct my local fetchmail to make use of my socks5 proxy >> and I also wasn't aware, that my local fetchmail actually does us it, >> but in a situation, when that proxy server on the neighbour box temporarily did not run, >> I finally noticed (using "strace"), that fetchmail contacted my socks5 proxy. >> >> >> I did some rtfm-ing, >> but I did not find a way to instruct fetchmail to *not* attempt contacting my socks5 proxy. RMG> Fetchmail has *no* native socks support. Currently I am convinced, your statement is incorrect. But I rather have some sympathy for your suspicion, as this magical and undescribed feature of fetchmail is certainly rather weird, and fetchmail shouldn't behave like that. Have you ever run fetchmail in a socks5 ready environment? Give yourself a try and let's continue discussing the matter than! RMG> You're either running it RMG> with a socks wrapper (runsock/socksify) RMG> or have added this yourself (eg via ld.so.preload). No, I don't, nothing like that. (No socks wrapper, no LD_PRELOAD, no /etc/ld.so.preload, no ...) I told you above: "I did not instruct my local fetchmail to make use of my socks5 proxy" I mean, what I write. And you read my statement, didn't you?!? RMG> It's hard to say though as you've provided no RMG> real information (version numbers, contents of configuration files, RMG> command lines used, anything really). Alright, alright, yet another doubting Thomas ;-) Can you see "SOCKS" here: [2007-03-15 14:11:49] johayek@HayekJ $ fetchmail --version This is fetchmail release 6.3.2+POP2+IMAP-GSS+RPA+NTLM+SDPS+SSL+OPIE+SOCKS+NLS. Copyright (C) 2002, 2003 Eric S. Raymond Copyright (C) 2004 Matthias Andree, Eric S. Raymond, Rob F. Funk, Graham Wilson Copyright (C) 2005 Matthias Andree, Sunil Shetye Copyright (C) 2006 Matthias Andree Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For details, please see the file COPYING in the source or documentation directory. Fallback MDA: (none) Linux HayekJ 2.6.16.21-0.13-default #1 Mon Jul 17 17:22:44 UTC 2006 i686 i686 i386 GNU/Linux Taking options from command line and /home/jochen_hayek/.fetchmailrc Idfile is /home/jochen_hayek/.fetchids Fetchmail will show progress dots even in logfiles. Fetchmail will forward misaddressed multidrop messages to johayek. Fetchmail will direct error mail to the postmaster. close(3) = 0 [...] open("/etc/socks.conf", O_RDONLY) = 4 [...] And here we have some config file extract: skip shuttle.de via "blablabla.shuttle.de" with proto IMAP and no dns tracepolls user "jh9999" there with password "PASSWORD" is johayek here options ssl sslproto tls1 sslfingerprint "D9:83:30:EA:3B:A5:02:A2:D6:72:1D:B7:AB:C3:30:CB" fetchall stripcr dropstatus dropdelivered warnings 3600 expunge 20 folders imap/folder-misc/_to-be-downloaded,imap/folder/prio-4 properties "'mailbox_from':'INBOX','mailbox_dir':'imap','mailbox_dir_separator':'/'" antispam 571 no rewrite pass8bits And here we have some "strace" output: [2007-03-15 13:30:59] johayek@HayekJ $ strace fetchmail shuttle.de execve("/usr/bin/fetchmail", ["fetchmail", "shuttle.de"], [/* 112 vars */]) = 0 brk(0) = 0x808d000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb3000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/sse2/libsocks.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libsocks.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 O\0\000"..., 512) = 512 [...] open("/etc/socks.conf", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=4374, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bb3000 read(4, "# $Id: socks.conf,v 1.28 2001/12"..., 8192) = 4374 read(4, "", 4096) = 0 [...] |