Below is how to patch Kernel/System/Email/SMTP.pm 1.3 (as included in
OTRS 1.1.1) to be able to use a non-standard port with the SMTP backend.
You may then configure the port to use in Kernel/Config.pm like this:
$Self->{'SendmailModule::Port'} = '2525';
Hopefully you will include this in the next release.
Regards,
Jeroen Boomgaardt
48a49
> $Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port') ||
> 'smtp(25)';
98c99
< if ($Self->{SMTPObject} = Net::SMTP->new($Self->{MailHost}, Timeout =>
$Self->{SMTPTimeout}, Debug => $Self->{SMTPDebug})) {
---
> if ($Self->{SMTPObject} = Net::SMTP->new($Self->{MailHost}, Timeout =>
> $Self->{SMTPTimeout}, Debug => $Self->{SMTPDebug}, Port => $Self->{SMTPPort})) {
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev