
Hi Afshar,
I understand why this confusing to you but if you think about it you'll
understand.
If a value , such as $Self->{CheckMXRecord}, is defined in ZZZAuto.pm and it
is also defined in Config.pm, the value in Config.pm has preference and will
overrule the value from ZZZAuto.pm.
In your case, there was NO value for $Self->{SendmailModule::AuthUser} in
Config.pm, because you commented it out. In that case, OTRS will search in
the next file, ZZZAuto.pm, if there is a value for $Self->{AuthUser}; which
was present so that is the value OTRS is working with.
Would you have specified $Self->{SendmailModule::AuthUser} = ''; in
Config.pm instead of commenting out the previous value, you would not have
had this issue.
Please note the difference between a value NOT beiing set in a file and a
value beiing overwritten.
Also consider the following: The Defaults.pm has a LOT of configuration
values, only a small subset of those are present in Config.pm. Does that
make the other values dissapear? No, and we would not want that either!
You'd only specify the values you want to have DIFFERENT in the other files.
Kind regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
On Thu, Jun 4, 2009 at 10:46, Afshar Mohebbi
Dear friends,
I recently encountered problems sending mail from OTRS by SMTP. Root cause of problem was that mail server did not need user name and password for SMTP I commented related entries in config.pm but the error still existed. I found unwanted entries reside in ZZZAuto.pm. In other other hands config.pm were not OVERRIDING ZZZAuto.pm in this special case! I described my experience in a blog post: http://afsharm.blogspot.com/2009/06/how-zzzautopm-can-stop-otrs-from.html
Hope help somebody Afshar Mohebbi http://afsharm.blogspot.com/ --------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/