Fetchmail under Windows

G’day folks,

I’m trying to get fetchmail to work in the Windows port of RT.
Currently trying rt-3.4.0-test1.exe, but previously tried rt-3.0.12.exe
with same results. The RT component works pretty much as expected. It
can send mails out, but it can’t fetch from the mail server. (Exchange
or qmail, I’ve tried both, exchange will be the real one though.).

Fetchmail responds:
reading message help@domain.name.au:1 of 2 (827 octets) RT server error.
The RT server which handled your email did not behave as expected. It said:
fetchmail: MDA returned nonzero status 75
not flushed

Scouring the archives, one thread suggested updating the cygwin1.dll.
Did that, now have v 1.5.17, that changed the error status from 127 to
75, but still no messages arrive.

Another thread said to install the cygwin package and run it as the user
who’ll run fetchmail. Tried that.

The RT service has been bounced or PC rebooted between attempts.

I see that others have been there but no definitive solution seems to
have been posted?

Can anyone assist with clues to get past this stumbling block?

Regards
Ken

Tablet: A small table.

Fetchmail responds:
reading message help@domain.name.au:1 of 2 (827 octets) RT
server error.
The RT server which handled your email did not behave as
expected. It said:
fetchmail: MDA returned nonzero status 75 not flushed

fetchmail cannot write temporary files…

check if you have a cygwin user home folder like:
C:\cygwin\home\helpdesk_mail
(where helpdesk_mail is the user account which does the mail fetching
(run as… account used by scheduled tasks…)

the folder is created in the correct way by installing cygwin and
running it when logged on as the above account
(well that was the only way I could get it running)

Another thread said to install the cygwin package and run it
as the user who’ll run fetchmail. Tried that.

we definetely need a better way in windows to handle the mail
processing…
for outbound mails we should use the SMTP service as included in Windows
200x Server

Filip
Interconnect

CONFIDENTIALITY NOTICE
This E-mail message and any documents which accompany it are intended only for the use of the individual or entity to which addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader is not the intended recipient, any disclosure, distribution or other use of this E-mail message is prohibited. If you have received this E-mail message in error, please delete and notify the sender immediately. Thank you.

G’day Filip,
Thanks for responding

Filip Jonckers wrote:

Fetchmail responds:
reading message help@domain.name.au:1 of 2 (827 octets) RT
server error.
The RT server which handled your email did not behave as
expected. It said:
fetchmail: MDA returned nonzero status 75 not flushed

fetchmail cannot write temporary files…

check if you have a cygwin user home folder like:
C:\cygwin\home\helpdesk_mail
(where helpdesk_mail is the user account which does the mail fetching
(run as… account used by scheduled tasks…)

the folder is created in the correct way by installing cygwin and
running it when logged on as the above account
(well that was the only way I could get it running)

Cygwin doesn’t have a problem writing its .PID file to (depending on the
user) c:\cygwin\home<usernames> or
c:\documents and settings<otherusername>\

Another thread said to install the cygwin package and run it
as the user who’ll run fetchmail. Tried that.

I tried running fetchmail from the cygwin package with the mda as
defined in rt-mailgate.conf. Exactly the same result. (fetchmail: MDA
returned nonzero status 75)

I also ran sysinternals filemon and it recorded no write failures or
create failures so it appears that there were no problems writing files.

Geez I’m so jealous of those folks who’ve managed to get it to run
straight off.

we definetely need a better way in windows to handle the mail
processing…
for outbound mails we should use the SMTP service as included in Windows
200x Server

Filip
Interconnect

Regards
Ken