Hi Jeroen,

On Fri, Jun 20, 2003 at 03:13:24PM +0200, Jeroen Boomgaardt wrote:
> 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.

Of course! ;-)) Thanks for the cool patch! :) I added it to the CVS and it w
ill be included in the next release (also 1.1.x).

> 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})) {

  -Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--

_______________________________________________
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

Reply via email to