Rt 3.0.10 Windows Version - Fetchmail not working

Hi,

I have tried to install RT 3.0.10 on a Windows Server 2003 machine (
http://p4.elixus.org/dist ), everything worked fine, except of the
fetchmail installation:

The login to the POP3-Server etc. works very well, but the invocation of
"rt-mailgate.in" does not work.
The content of the file “rt-mailgate.conf” is:

poll popmail.space.net proto pop3:
username christian.fischer@key-tec.de password xxx mda
"c:/progra~2/ourInternet/common/perl/bin/perl.exe
c:/progra~2/ourinternet/reques~1/rt/bin/rt-mailgate.in --url
http://localhost:8284/ --queue Eingang --action correspond"

The output is:

fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:30 2004: poll started
fetchmail: POP3< +OK 1415.1090245995@popmail.space.net
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR authorization first
fetchmail: POP3< +OK 1438.1090245995@popmail.space.net
fetchmail: POP3> USER christian.fischer@key-tec.de
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 6559
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
2 messages for christian.fischer@key-tec.de at popmail.space.net (6559
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4740
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message christian.fischer@key-tec.de@popmail.space.net:1 of 2
(4740 octets)
#…fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:34 2004: poll completed

The line before the last shows the error.
My suggestion is, that even the perl interpreter is not executed,
because when I live the mda-Keyword blank, the same error occurs, or
when I insert a not-existing file. And I insert a print- and
exit-command in the file “rt-mailgate.in” - no output!

My “actions” sofar were:

  • Changed the DOS- from “progra~1” to “progra~2”, as I have a German
    installation, and there the folder is named “Programme”, and this is
    "…1", and “Program Files” is “…2”
  • Ran the line in commandline - worked, except that I had to replace the
    slashes to backslashes.
  • Changed the Slashes to backslashes in every possible combination, also
    with masking bei hexadecimal values etc.

Has anyone run a successful installation on windows?
Any help would be really appreciated!

Regards - Christian

First of all thanks for your response.

In my case the cygwin dll’s with fetchmail were the only piece of
cygwin
that was required.

I used the installer from http://p4.elixus.org/dist which already
installs and partly sets up fetchmail. If you have not used this
installer, a brief description:

At c:\program files\ourInternet\common\fetchmail\bin is the
fetchmail-exe located, besides there are some dll’s:
cygcrypto-0.9.7.dll
cygiconv-2.dll
cygintl-2.dll
cygssl-0.9.7.dll
cygwin1.dll

These dll’s are the only CygWin that I have installed

My issue was resolved by ensuring that cygwin could resolve a home
direcotry for the user that started fetchmail.

Resolve a home directory? I do not know if this is necessary at my type
of installation, besides of that I do not understand exactly, what this
would mean/how to achieve this.

What I did was: According to another RT-Thread I updated the cygwin1.dll
to the latest, but with no better result.

Regarding, Christian

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Christian
Fischer
Sent: 19 July 2004 15:21
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Rt 3.0.10 Windows Version - Fetchmail not working

Hi,

I have tried to install RT 3.0.10 on a Windows Server 2003 machine (
http://p4.elixus.org/dist ), everything worked fine, except of the
fetchmail
installation:

The login to the POP3-Server etc. works very well, but the invocation
of
"rt-mailgate.in" does not work.
The content of the file “rt-mailgate.conf” is:

poll popmail.space.net proto pop3:
username christian.fischer@key-tec.de password xxx mda
"c:/progra~2/ourInternet/common/perl/bin/perl.exe
c:/progra~2/ourinternet/reques~1/rt/bin/rt-mailgate.in --url
http://localhost:8284/ --queue Eingang --action correspond"

The output is:

fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:30 2004: poll started
fetchmail: POP3< +OK 1415.1090245995@popmail.space.net
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR authorization first
fetchmail: POP3< +OK 1438.1090245995@popmail.space.net
fetchmail: POP3> USER christian.fischer@key-tec.de
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 6559
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
2 messages for christian.fischer@key-tec.de at popmail.space.net (6559
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4740
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message christian.fischer@key-tec.de@popmail.space.net:1 of 2
(4740
octets)
#…fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:34 2004: poll completed

The line before the last shows the error.
My suggestion is, that even the perl interpreter is not executed,
because
when I live the mda-Keyword blank, the same error occurs, or when I
insert
a
not-existing file. And I insert a print- and exit-command in the file
"rt-mailgate.in" - no output!

My “actions” sofar were:

  • Changed the DOS- from “progra~1” to “progra~2”, as I have a German
    installation, and there the folder is named “Programme”, and this is
    "…1",
    and “Program Files” is “…2”
  • Ran the line in commandline - worked, except that I had to replace
    the
    slashes to backslashes.
  • Changed the Slashes to backslashes in every possible combination,
    also

I have got this working but originaly had problems - different to yours
I
think. My issue was resolved by ensuring that cygwin could resolve a
home
direcotry for the user that started fetchmail.
If you have cygwin for any other reason this probably is not your
problem.
In my case the cygwin dll’s with fetchmail were the only piece of cygwin
that was required.

Neville

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Christian
Fischer
Sent: 19 July 2004 15:21
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Rt 3.0.10 Windows Version - Fetchmail not working

Hi,

I have tried to install RT 3.0.10 on a Windows Server 2003 machine (
http://p4.elixus.org/dist ), everything worked fine, except of the
fetchmail
installation:

The login to the POP3-Server etc. works very well, but the invocation
of
"rt-mailgate.in" does not work.
The content of the file “rt-mailgate.conf” is:

poll popmail.space.net proto pop3:
username christian.fischer@key-tec.de password xxx mda
"c:/progra~2/ourInternet/common/perl/bin/perl.exe
c:/progra~2/ourinternet/reques~1/rt/bin/rt-mailgate.in --url
http://localhost:8284/ --queue Eingang --action correspond"

The output is:

fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:30 2004: poll started
fetchmail: POP3< +OK 1415.1090245995@popmail.space.net
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR authorization first
fetchmail: POP3< +OK 1438.1090245995@popmail.space.net
fetchmail: POP3> USER christian.fischer@key-tec.de
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 6559
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
2 messages for christian.fischer@key-tec.de at popmail.space.net (6559
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4740
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message christian.fischer@key-tec.de@popmail.space.net:1 of 2
(4740
octets)
#…fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: 6.2.5 querying popmail.space.net (protocol POP3) at Mon Jul
19 16:13:34 2004: poll completed

The line before the last shows the error.
My suggestion is, that even the perl interpreter is not executed,
because
when I live the mda-Keyword blank, the same error occurs, or when I
insert
a
not-existing file. And I insert a print- and exit-command in the file
"rt-mailgate.in" - no output!

My “actions” sofar were:

  • Changed the DOS- from “progra~1” to “progra~2”, as I have a German
    installation, and there the folder is named “Programme”, and this is
    "…1",
    and “Program Files” is “…2”
  • Ran the line in commandline - worked, except that I had to replace
    the
    slashes to backslashes.
  • Changed the Slashes to backslashes in every possible combination,
    also

Finally I got FETCHMAIL working on the windows plattform:

  • What is nowhere mentioned is, that the windows installation requires
    CYGWIN to be installed. (Fetchmail needs a home-directory…)
  • Besides I had to replace the cygwin1.dll with the latest from the
    CYGWIN package.

With this I got it working, for the directory-separators I used
UNIX-style, i.e. “/”.

Christian