Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

incoming.pl under Windows 2000/IIS

Quote Reply
incoming.pl under Windows 2000/IIS
Hello,
I am new to Gossamer Mail and I am almost finished setting it up. However, here is the problem I am having. The mail is being sent yet the users are not getting it. I believe its the incoming.pl and outgoing.pl files are not being run. How do I setup cron jobs/events on Windows 2000/IIS to run these files?

I have attempted to just run perl.exe on incoming.pl and outgoing.pl and get a bunch of errors about IP's and POP3. Thanks.


Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi,

You can use windows scheduler to run incoming.pl every couple minutes.

However, if you are seeing errors about IP's and POP3, then this may indicate your pop settings are wrong in the setup.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
Yep, thats what I am running in to:
Could not connect to POP3 server: IP of Host:
mydomain.com is unresolveable at c:\inetpub\wwwroot\cgi-bin\batch\incoming.cgi line 316.

So what do I do, as I am generating errors with outgoing.pl also. Thanks.

Joe

Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Also, I am unable to logon as the admin email because its admin@localhost. Does this create problems? I am able to send mail from my gossamer mail and I am able to send mail to my gossamer mail without getting errors, but its just not sorting them to the proper email addresses within gossamer because I get those error messages. thanks again.

joe
Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi,

The admin@localhost is only for undeliverables, you can read them at Email->Undeliverables.

As for the incoming.pl errors, this is a problem on your server. For some reason it can not resolve the domain name that you entered as your mail server. Possible causes are mistyping the domain name or invalid DNS server setup.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
How could that be? I am not hosting my own DNS and everything seems to work fine when I POP my mail with another email program such as Outlook. POP3 is working correctly. Its the incoming.pl script which is not connecting to the POP3. Why?

Joe
Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi,

Can you paste the exact error message so I can be sure? But from the sounds of it, it looks like your web server can not resolve the domain name you have. This will be different then your ability to resolve the domain name and check from a remote computer via Outlook.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
sent ya a private message
Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi
I was very interested to read that you can run incoming.pl from windows shedule.
I wonder if you would be so kind as to tell me how to do this?

Thanks in advance

Capt*
Quote Reply
Re: [CptPugwash] incoming.pl under Windows 2000/IIS In reply to
Hi,

Create a new task and set it to run once a day. Then under advanced settings set:

[ ] Repeat Task
Every 5 minutes
( ) for 24 hours

and that will run the program once every 5 minutes.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
HI Alex.
Thanks for the response..

I guess I'm lost.. When I start Schedule it wants to run a program
What should I be looking for?

Thank you

Capt*
Quote Reply
Re: [CptPugwash] incoming.pl under Windows 2000/IIS In reply to
Hi,

This is on 2000 server, so NT may be a bit different.

1. Go to Setup->Control Panel->Scheduled Tasks
2. File->New->Scheduled Task. Call it incoming.pl
3. Right click on it and do properties. Set the command to the full path to incoming.pl.
4. Go to Schedule->Advanced and enter the above.
5. Save and you are all done!

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
Okay, when I run incoming.pl from the command prompt or form an event I get: Could not unlinke c:/inetpub/wwwroot/cgi-bin/data/tmp/incoming.lock. Reason: Permission denied at c: etc......Any suggestions?

Joe
Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi,

You may need to set the permissions on admin/tmp directory to read/write/delete for whoever you are running the incoming.pl as.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] incoming.pl under Windows 2000/IIS In reply to
The Permissions are set correctly. Is Gossamer Mail even compatible with Windows 2000? I believe that everything is 100% setup correctly. Has anyone else out there successfully installed Gossamer Mail with Windows 2000 and Imail? If so could you please help me in proper setup. Thanks.

Joe
Quote Reply
Re: [jmurray] incoming.pl under Windows 2000/IIS In reply to
Hi,

Yes, we do have several installations running Gossamer Mail under mod_perl. We were able to track this down to Gossamer Mail clearing the environment because it normally runs under taint mode.

If other users see this, you need to comment out:

foreach my $key (keys %ENV) {
next if ($key eq 'REQUEST_METHOD');
$ENV{$key} = '';
}

in incoming and outgoing.pl scripts.

Cheers,

Alex
--
Gossamer Threads Inc.