fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail behind a proxy firewall: impossible?

2002-10-18 18:19:33
Hi,

The machine from which I would like to run fetchmail is behind a proxy-type
firewall (fwtk).  The proxy has been configured and passes what fetchmail
sends.  As is apparent from the output below (fetchmail -vv) it appears
that fetchmail insists on sending a user based on the internal gateway
machine, and the internal domain, when the user name should really be
the ISP's domain.

This is the .fetchmailrc (I've tried all kinds of combinations of keywords
but always with the same error).


poll pop.fast.net via gateway proto pop3
     user eclectic9 there with pass ********** is afc

Here, pop.fast.net is the ISP's pop3 server.
      gateway is the internal name of the machine where the firewall proxy is
      eclectic9 is the pop3 user at the ISP
      afc is the internal linux user where the mail for eclectic9 should go

This is what fetchmail says:

./fetchmail -vv
fetchmail: 6.1.0 querying pop.fast.net (protocol POP3) at Fri Oct 18 20:23:10 
2002: poll started
fetchmail: POP3< +OK <23925(_dot_)1034987065(_at_)newmx1(_dot_)fast(_dot_)net>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR authorization first
fetchmail: authorization first
fetchmail: Repoll immediately on eclectic9(_at_)gateway(_dot_)lonestar(_dot_)org
fetchmail: POP3< +OK <23954(_dot_)1034987066(_at_)newmx1(_dot_)fast(_dot_)net>
fetchmail: POP3> USER eclectic9
fetchmail: POP3< +OK
fetchmail: POP3> PASS
fetchmail: POP3< -ERR authorization failed
fetchmail: authorization failed
fetchmail: Authorization failure on 
eclectic9(_at_)gateway(_dot_)lonestar(_dot_)org
fetchmail: POP3> QUIT
fetchmail: 6.1.0 querying pop.fast.net (protocol POP3) at Fri Oct 18 20:23:11 
2002: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 3
fetchmail: Deleting fetchids file. 

This line is definitely wrong.

fetchmail: Authorization failure on 
eclectic9(_at_)gateway(_dot_)lonestar(_dot_)org

Is fetchmail actually trying to get the mail for user
eclectic9(_at_)gateway(_dot_)lonestar(_dot_)org?  This of course is wrong, it 
should be
getting the mail for user eclectic9(_at_)pop(_dot_)fast(_dot_)net(_dot_)

I have tried adding all kinds of options: localdomains, no envelope, etc...
I have even scanned the archives of the mailing list going back 2 years
but found nothing relevant.

The behavior is exacly the same with the very latest fetchmail and the version
that came with caldera 2.4: fetchmail-5.2.0-1.

How can I tell fetchmail that the user to the mail from (at the ISP) is
eclectic9(_at_)pop(_dot_)fast(_dot_)net or (I presume this would also work) 
eclectic9(_at_)fast(_dot_)net?
The internal network is 192.168.*.*.  The real IP number assigned by the ISP
is the real one.  This network/firewall has been working fine for years:
http, mail (via the mail proxy), split dns, ftp, telnet, etc...

Thanks for any hints...

A.

<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] fetchmail behind a proxy firewall: impossible?, A. F. Cano <=