Good gosh I finally got it.

I'm not sure what was causing the problems but I dropped Exim, tried Blat,
dropped blat.. tried MS's port of sendmail, dropped that.

Ended up with Indigo Star's Sendmail port for Windows (30 day eval, $49
purchase). It came with a .pl script that looked alot like EmailSend.pm's
routine so my confidence was high! I was able to manually do a few sends
with their script... no mail munges and it appeared to operate rock solid.

However! :) Once I tried using it with OTRS, no mail would go out. OTRS' log
happily reported the messages were sent, sendmail.log reported no errors and
no sends... and I never got my mail. I found there is something in the mail
sending pm's that needs to be changed for this particular port of sendmail.

Here's the first fixes I found to get email working with Win32 IndigoStar
Sendmail...

1) Install Sendmail (I chose c:\sendmail\)

2) Sendmail path in Config.pm needs to be
c:/yourpathhere/sendmail.exe -t -console

3) AgentCompose.pm has to be changed. It appears the '$RetEmail' breaks
IndigoStar sendmail rather quietly. Maybe this should be optional in the PM
to prevent others from having headaches? Maybe a config line for return mail
that is only placed if it's not blank?

The final line was:

if (open ( MAIL, "|$Self->{Sendmail}")){

My take on this is that since it read the From, etc in the headers (-t) I
think the $RetEmail was unneccesary

4) Any other instances of Sendmail (like EmailSend.pm) must be changed as
well or silent email failure will occur.


I still don't know why exim was causing munged emails. My hosting service is
lost on that one.


Robert... you might consider taking a look at IndigoStar as an option for
the install docs on Windows. I found it absolutely simple to install and
configure and it seems like a much 'thinner' solution that installing
cygwin, downloading, setting permissions, etc. Further... IndigoStar has a
feature which is required in some shared hosting environments, that being
server authentication on the default account. There are alot of anti-spam
SMTP tests out there requiring the checking of mail (authentication) before
a send can occur. This pre-authentication test in IndigoStar gets around
that.

Thanks to all for so much help... I thought I'd never see the light of day.
Management is happy and off my back. Thanks for all the hard work on the
software, we are really going to get tremendous use out of it!

Charles


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to