Opened 5 years ago

Closed 5 years ago

#1485518 closed Bugs (fixed)

Default smtp HELO problme with light and webserver on port 81

Reported by: gaetan Owned by:
Priority: 5 Milestone: 0.2-stable
Component: SMTP connection Version: 0.2-beta
Severity: normal Keywords:
Cc:

Description

Hi,
I'm using lighttpd on port 81. The default smtp HELo is set to $_SERVERSERVER_NAME? which is with at least with lighttpd myhost.com:81 which prevent mail from being accepted by smtps
to deal with it change line 79 of program/include/rcube_smtp.inc
from

$helo_host = empty($CONFIGsmtp_helo_host?) ? (empty($_SERVERSERVER_NAME?) ? 'localhost' : $_SERVERSERVER_NAME?) : $CONFIGsmtp_helo_host?;

to something like or put an advert in install

$helo_host = empty($CONFIGsmtp_helo_host?) ? (empty($_SERVERSERVER_NAME?) ? 'localhost' : preg_replace('/:\d+$/,,$_SERVERSERVER_NAME?) : $CONFIGsmtp_helo_host?;

Change History (1)

comment:1 Changed 5 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [11b1b16b].

Note: See TracTickets for help on using tickets.