Release Notes Version 5.9 

                                                                                                           03/2017

New Feature Sandbox on Linux

On Linux, a sandbox (an isolated area by chroot) can be set up, running the SMTP gateway and faxpspr. In this area, only read access to the most important directories of the operating system is available, full writing rights are only available for Faxroot, / tmp and / var / tmp. Root privileges are required to build the sandbox, so it is recommended to start the PAPAGENO server via /etc/init.d/rc.comfax.

Proof:
A process runs in the sandbox if it can not see the /proc directory. SMTP gateway and daemon log this in the logbook, faxspsr -debug also outputs the information.

New Versions of external Libraries

imaplib, tifflib, LDAPlib, giflib are currently available. The rpc library was merged for Windows and Linux.

Alpha Server

- Memory leak in a_get_pageb (0ok) removed.
- Fix Initialization of send-ready documents (Fehler ab 5.8.1.1).
- Fix Initialization (unused variable).

Lambda Server

-  On Unix and Linux operating systems the script runlambda is now always set to "ulimit -c unlimited", so that we find a core (dump) in the event of an error. Except for this are the conversion routines in the SMTP gateway and the SAP gateway, which are explicitly set to "ulimit -c 0" (no core file)

- The new command l_kill <pid> sends a signal 11 (SEGV, coredump) to the process started by the Lambda. (<Pid> is in the range 0 ... 199). The command is only useful in cooperation with our support if a process can not be terminated normally.

- l_stop... is ignored by a process that does not have a SYSPID. (So ​​far the Lambda signal got 15.)

- l_startdriver creates a new theta directory for a configured driver only.

- l_log no longer writes to syslog or to the event display for SVT_FATAL.
(From 5.8.1.0 there was a lot of messages from sapconnect.)

procmon

Processes are not started if nohup.out can not be created, the status is "failed". If a driver with invalid faxl.sys is to be started, the status is "failed". (The process has hitherto remained in the "start" state.)

OMEGA Server

An empty ALPHA userid is no longer accepted.

LCR Rules

The LCR rules now also contain default settings for SMS (pager) so that an SMS for a number beginning with 000 is automatically canceled. Swiss mobile numbers were added. These settings will only take effect during a new installation.

Pi Server

- If a print job can not be executed, an error message is displayed in the logbook. Cbm2hplj breaks when uncompress is not installed. The Pi server is cleanly shut down when stopped by the lambda (signal 15 is intercepted)

- Gamma_clnt is cleanly shut down when stopped by the lambda (signal 15 is intercepted).

Sigma Server

The server logs up correctly in the lambda monitor.

Theta Server

Memory leaks in t_get_sendjob_ll and o_get_alpha_ll have been fixed.

SMTP Gateway

New strategy to avoid mail loops: the return-path for mailing to users is SG_MADEFU. For mails to SG_MADEFU it is empty, so that NDRs are not answered with NDRs. The e-mails with input faxes or e-mails contain new header fields Auto-Submitted and X-AUTO-RESPONSE-SUPPRESS (Microsoft defined header field), in order to suppress automatic answers, especially out-of-office messages. The gateway does not start when SG_MADEFU points to the user SG_ADMUSER (umgw), or SG_MADEFU is not accepted by the mailserver (SG_MAHOST). The daemon does not start when it can not access its directories (when changing from root to comfax). If LDAP fields contain umlauts, the values ​​are now displayed correctly (for example, in headline). The daemon has a new parameter SG_DMP3TO (Daemon POP3 Receive Timeout), default is 1h.

Fix for license count for incoming messages.

Fix for a_get_pageb to avoid the memory leak in the (old) alpha; a superfluous alpha call is saved.

Fix for Outlook 2013, blank page is suppressed.

Fix for HTML documents (cid).

Fix for utf-8 problems in HTML documents.

Fix for conversion, if only one document is attached in attached mail (applies, for example, to PDF-generated PDF documents).

Fix for crash when parsing UserAddonData (from LDAP).

If RouteToExchange (winmail.dat) fails, an NDR is sent to the sender. So far the message went up to 3 times at SG_MADEFU.

Fix for error messages of the convert library.

Deprecated query removed from a_get_gwuser .

Needless time stamp removed in gateway.log.

Debug info SG_DMLIO is visible in level 2 (debug), warning of the imaplib are visible in level 1 (warning). In debug level 2 "report not wanted" is visible (so far level 3).

If an invalid LDAP filter is specified,invalid filter appears in the debug output (e.g., sgrestest -v) put_filter. The files daemon.exe and gateway.exe contain Windows version info.

SAPconnect Gateway

For the SAPconnect gateway on Windows, the SAP RFC libraries have been updated to 7.20. (For Linux as of version 5.8.0.0) If you do not get any status feedback after the update, you have to check or re-enter the passwords in the saprfc.ini, because Uppercase/lowercase differences are essential now.

cvtlib (for SMTP and SAPconnect Gateway):

(see also  version 5.8.1.2)

If there are problems with the encoding of HTML, the third argument of the MIME charset can be passed in parameter SG_ATT.
SG_ATT0 fax:html,tif html2tif.cmd %s %s %s
The call for wkhtmltopdf is: "C:Program Fileswkhtmltopdfbinwkhtmltopdf.exe" --encoding %3 %1 preproc.pdf
or  wkhtmltopdf --encoding $3 $1 preproc.pdf
(Other SG_ATT commands remain unchanged.)

gendrv:

Improved error message with invalid GD_SMSUSER. The traced files now contain a header with driver version and start time, which is retained during rotation.

gendrv/capidrv

When sending a comprehended SMS, the outside line is accepted for all partial SMS messages.
Fix for dirty signs in the trace and alpha logbook when sending an SMS.
When the driver is shut down (with t_shutdown, t_put_trstat 0), all ongoing transmissions are stopped (no CF4: Shutdown timeout).

gendrv/screxe

Response messages for LDAP / IMAP users will work again (error from 5.7). Fix for a screxe <defunct> (zombie) process on Linux. Dlg.vdl RejectCall fixed (problem starting from 5.7.2.3) lng.vdl switches to dlg.vdl when the LDAP query results in a non-existent filename or the filename stored under s <suffix> does not exist.