Mike Yates | 2 Dec 2004 14:10
Picon

envelope "Received" not working

I think the reason is that long "Received:" lines arrive already 
"wrapped" by Microshit Exdrain at the ISP, so that
"for <localuser <at> localdomain>" appears on a different line.

Has anyone a fix for this?

--

-- 
Have fun,
Mike
--
http://fonehelp.co.uk - PC support, no fix, no fee!
Meraj Rasool Khattak | 2 Dec 2004 14:35
Picon
Favicon

Fetchmail on Linux behind MS ISA server !

I am running fetchmail behind Windows ISA server on my
Linux machine.  

When I execute the following command :
<fetchmail_command>
fetchmail -v -f '/home/khattak/.fetchmailrc'
</fetchmail_command>

I get this error :
<error>
fetchmail: 6.2.0 querying pos (protocol auto) at Thu
02 Dec 2004 06:33:16 PM PKT: poll started
fetchmail: 6.2.0 querying pos (protocol IMAP) at Thu
02 Dec 2004 06:33:16 PM PKT: poll started
fetchmail: couldn't find canonical DNS name of pos
fetchmail: 6.2.0 querying pos (protocol IMAP) at Thu
02 Dec 2004 06:33:16 PM PKT: poll completed
fetchmail: 6.2.0 querying pos (protocol auto) at Thu
02 Dec 2004 06:33:16 PM PKT: poll completed
fetchmail: Query status=11 (DNS)
fetchmail: normal termination, status 11
</error>

My .fetchmailrc file
<fetchmailrc_file>
poll pos
        via naqoosh.com
        user "naqoosh <at> naqoosh.com"
        pass "mypassword"
        is meraj <at> naqoosh_local.com
(Continue reading)

Matthias Andree | 2 Dec 2004 15:13
Picon
Picon
Favicon

Re: envelope "Received" not working

Mike Yates <hctef <at> fonehelp.co.uk> writes:

> I think the reason is that long "Received:" lines arrive already 
> "wrapped" by Microshit Exdrain at the ISP, so that
> "for <localuser <at> localdomain>" appears on a different line.
>
> Has anyone a fix for this?

Why would one be needed? Is the folding of the Received: line actually
the cause?

--

-- 
Matthias Andree
Matthias Andree | 2 Dec 2004 15:14
Picon
Picon
Favicon

Re: Fetchmail on Linux behind MS ISA server !

Meraj Rasool Khattak <mrkkhattak <at> yahoo.com> writes:

> I am running fetchmail behind Windows ISA server on my
> Linux machine.  
>
> When I execute the following command :
> <fetchmail_command>
> fetchmail -v -f '/home/khattak/.fetchmailrc'
> </fetchmail_command>
>
> I get this error :
> <error>
> fetchmail: 6.2.0 querying pos (protocol auto) at Thu
> 02 Dec 2004 06:33:16 PM PKT: poll started
> fetchmail: 6.2.0 querying pos (protocol IMAP) at Thu
> 02 Dec 2004 06:33:16 PM PKT: poll started
> fetchmail: couldn't find canonical DNS name of pos
> fetchmail: 6.2.0 querying pos (protocol IMAP) at Thu
> 02 Dec 2004 06:33:16 PM PKT: poll completed
> fetchmail: 6.2.0 querying pos (protocol auto) at Thu
> 02 Dec 2004 06:33:16 PM PKT: poll completed
> fetchmail: Query status=11 (DNS)
> fetchmail: normal termination, status 11
> </error>

       11     Fatal  DNS  error.   Fetchmail encountered an error
              while performing a DNS lookup at startup and  could
              not proceed.

> My .fetchmailrc file
(Continue reading)

Meraj Rasool Khattak | 2 Dec 2004 15:34
Picon
Favicon

Re: Fetchmail on Linux behind MS ISA server !

Thank you for pointing out about Windows ISA server.

ISA server is Microsoft's proxy server which runs on
Windows 2000 etc.

I am behind that proxy server & I don't know how could
I tell fetchmail to resolve "naqoosh.com" through the
proxy server & fetch mail ?

If my system is directly connected to the net I am
able to fetchmail from naqoosh.com with the same
settings but how could I do so behind the proxy ?

Any help in this regard will be highly appreciated.

Thank you,

-Meraj Khattak

--- Matthias Andree <ma <at> dt.e-technik.uni-dortmund.de>
wrote:

> Meraj Rasool Khattak <mrkkhattak <at> yahoo.com> writes:
> 
> > I am running fetchmail behind Windows ISA server
> on my
> > Linux machine.  
> >
> > When I execute the following command :
> > <fetchmail_command>
(Continue reading)

Rob MacGregor | 2 Dec 2004 15:58
Picon
Gravatar

Re: Fetchmail on Linux behind MS ISA server !

On Thu, 2 Dec 2004 06:34:25 -0800 (PST), Meraj Rasool Khattak
<mrkkhattak <at> yahoo.com> wrote:
> Thank you for pointing out about Windows ISA server.
> 
> ISA server is Microsoft's proxy server which runs on
> Windows 2000 etc.
> 
> I am behind that proxy server & I don't know how could
> I tell fetchmail to resolve "naqoosh.com" through the
> proxy server & fetch mail ?

Well, DNS is really a Linux problem - configure your /etc/resolv.conf
to use the ISA server for DNS (I suspect).

As for using the proxy, the man page provides details (just) on using
SSH tunnels etc.  You're probably trying to do something similar. 
However it depends on what ISA server supports - if it's socks you're
sorted (Google for "runsocks").

Alternatively, try opening up outbound port 110/TCP (POP) or 143/TCP
(IMAP) on the ISA server.

--

-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche
Rob MacGregor | 2 Dec 2004 15:54
Picon
Gravatar

Re: envelope "Received" not working

On Thu, 02 Dec 2004 13:10:51 +0000, Mike Yates <hctef <at> fonehelp.co.uk> wrote:
> I think the reason is that long "Received:" lines arrive already
> "wrapped" by Microshit Exdrain at the ISP, so that
> "for <localuser <at> localdomain>" appears on a different line.

If you're using multidrop then you are supposed to be defining the
Envelope header.  If you're not, then it's irrelevant.

So, which?

--

-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche
Meraj Rasool Khattak | 2 Dec 2004 16:41
Picon
Favicon

Re: Fetchmail on Linux behind MS ISA server !

Thank you for a quick reply.

--- Rob MacGregor <rob.macgregor <at> gmail.com> wrote:

> On Thu, 2 Dec 2004 06:34:25 -0800 (PST), Meraj
> Rasool Khattak
> <mrkkhattak <at> yahoo.com> wrote:
> > Thank you for pointing out about Windows ISA
> server.
> > 
> > ISA server is Microsoft's proxy server which runs
> on
> > Windows 2000 etc.
> > 
> > I am behind that proxy server & I don't know how
> could
> > I tell fetchmail to resolve "naqoosh.com" through
> the
> > proxy server & fetch mail ?
> 
> Well, DNS is really a Linux problem - configure your
> /etc/resolv.conf
> to use the ISA server for DNS (I suspect).

my /etc/resolv.conf file

<resolv_conf>
nameserver 192.168.0.1
<resolv_conf>

(Continue reading)

Reinhard Haller | 2 Dec 2004 17:29
Picon

loosing messages

Hi,

I suspect a TCP handling error in fetchmail 6.2.5_2
on FreeBSD 4.10.

The following is a tcpdump sample of my problem.

Time            S   D Prot Info
09:34:33.543781 f pop TCP  4876 > pop3 [ACK] Seq=949279679
Ack=1623016297 Win=56289 Len=0
09:34:33.556984 pop f POP  Continuation
09:34:33.557480 pop f POP  Continuation
09:34:33.557692 pop f POP  Continuation
09:34:33.557809 f pop TCP  4876 > pop3 [ACK] Seq=949279679
Ack=1623019101 Win=54889 Len=0
09:34:33.563671 f pop TCP  4876 > pop3 [ACK] Seq=949279679
Ack=1623019716 Win=57082 Len=0
09:35:32.083027 pop f TCP  pop3 > 4876 [FIN, ACK] Seq=1623019716
Ack=949279679 Win=5840 Len=0
09:35:32.083342 f pop TCP  4876 > pop3 [ACK] Seq=949279679
Ack=1623019717 Win=57482 Len=0
09:36:49.846026 f pop POP  Request: DELE 1
09:36:49.847307 f pop TCP  4876 > pop3 [FIN, ACK] Seq=949279687
Ack=1623019717 Win=57482 Len=0
09:36:49.910511 pop f TCP  pop3 > 4876 [RST] Seq=1623019717 Ack=0 Win=0
Len=0

f is my fetchmail-server
pop is the ISP pop-server

(Continue reading)

Rob MacGregor | 2 Dec 2004 17:33
Picon
Gravatar

Re: Fetchmail on Linux behind MS ISA server !

On Thu, 2 Dec 2004 07:41:17 -0800 (PST), Meraj Rasool Khattak
<mrkkhattak <at> yahoo.com> wrote:
> Thank you for a quick reply.
> 
> my /etc/resolv.conf file
> 
> <resolv_conf>
> nameserver 192.168.0.1
> <resolv_conf>
> 
> It contains the ip address of the gateway / dns
> server. For browsing I define 192.168.0.3 or 2 in
> proxy's addresses.

It's one or the other.  Pick whichever gives you reliable DNS resolution.

> I asked the admin of ISA server, he told me that they
> are using Socks4 on their server.
>
> Yesterday I tried using runsocks (sock5) but I just
> couldn't understand it properly. Any guidlines or
> hints or online links for help in this ?

Check the documentation.  You should also find that runsocks will work
with a v4 proxy.

> The ISA admin has opened all these ports for me.
> 
> Even after going through the above I was not able to
> fetchmail (same canonical dns name).
(Continue reading)


Gmane