
Hello, having installed OTRS 2.1.0-beta1, I came across a minor glich. I'd like to retrieve mails from my normal mailserver using PostMasterPOP3 (not fetchmail for sake of simplicity and since I don't want to have to configure another utility with credentials). The issue now is, that my server doesn't allow plaintext logins, only CRAM-MD5 and DIGEST-MD5 are supported. Looking around a bit, I've figured out what to change. I've attached a diff with my changes, maybe you find it useful. And yes, calling popstat and handling the result isn't necessary for the code to work but that way it gives back the right status if no messages are available. And one addition, please include Authen::SASL in a more recent version (2.10 is up to date - your 2.03 is four years old ...) in order to also support authentication using DIGEST-MD5 and GSSAPI. Regards, Christian --- PostMasterPOP3.pl 2006-07-31 13:33:17 +0000 +++ PostMasterPOP3_new.pl 2006-08-28 15:11:41 +0000 @@ -158,7 +158,14 @@ return; } # authentcation - my $NOM = $PopObject->login($User, $Password); + my $NOM = $PopObject->auth($User, $Password); + # do STAT like done by login internally + if ($NOM) { + $NOM = ($PopObject->popstat)[0] || "0E0"; + } + else { + $NOM = $PopObject->login($User, $Password); + } if (!defined($NOM)) { $PopObject->quit(); $CommonObject{LogObject}->Log(