Here is what happens here…
With Cygwin installed (for just me or for all users, fetchmail installed as part of cygwin or not), I get a “Lock creation failed”. If I move the Cygwin directory to another name (like c:\cygwin-tmp), I get the “… not flushed” error.
But! If I open up the Cygwin command box, it works.
I’m wondering if I need to go home, get back into bed, and get out on the other side…
James H. Smith II NNCSE NNCDS
Senior Systems Engineer
First Call Response Center Team Lead
The Presidio Corporation-----Original Message-----
From: Rtuser [mailto:rtuser@slynetworks.com]
Sent: Tuesday, June 08, 2004 3:43 PM
To: Paula McGraw
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] problem with fetchmail
Thanks for the pointer Paula. Seems like that version of cygwin did the trick. It did require additional steps.
This is what I had to do to get fetchmail to work:
Note: If you’re having the same problem (fetchmail: MDA returned nonzero status 127) and don’t want to re-install. You may want to install CygWin and jump to steps 6 and 7.
1.Uninstalled RT and all Common apps.
2.Installed CygWin to c:\cygwin
3.Re-installed version 3.0.10 with defaults.
4.Logged in, changed SMTPFrom and queue address.
5.Gave ‘Everyone’ create ticket rights (Global)
6.Renamed c:\program files\ourinternet\common\fetchmail\bin\cygwin1.dll TO cygwin1.old
7.Copied C:\cygwin\bin\cygwin1.dll (version: 1005.10.0.0 size: 1,153,417 bytes) TO c:\program files\ourinternet\common\fetchmail
8.Copied c:\program files\ourinternet\common\fetchmail\rt-mailgate.conf.in to rt-mailgate.conf
9.Made necessary changes to rt-mailgate.conf
10.Changed ownership of to local administrator (logged in user)
11.Restarted Request Tracker service
12.Ran the RT-Mailgate shortcut in c:\program files\ourinternet\common\fetchmail
13.Sent a test email to the general queue…and it started working.
The next lines were…
fetchmail: starting fetchmail 6.2.5 daemon
1 message for q_general at mail.mydomain.com (661 octets).
reading message q_general@mail.mydomain.com:1 of 1 (661 octets) flushed
fetchmail: sleeping at Tue Jun 08 14:28:10 2004
Hope this helps other users out there fighting the same battle.
Thanks,
Oscar.
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html
Sign up early, as class space is limited.