Bug #3391

mail2fax transport expansion error

Added by Filippo Carletti about 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-hylafax
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

Enabling mail2fax, /etc/postfix/transport is not created with the following error:

ERROR in /etc/e-smith/templates//etc/postfix/transport/30sendfax: Program fragment delivered error <<Can't locate object method "new" via package "NethServer::MailServer" (perhaps you forgot to load "NethServer::MailServer"?) at /etc/e-smith/templates//etc/postfix/transport/30sendfax line 8.>> at template line 4
ERROR: Template processing failed for //etc/postfix/transport: 1 fragment generated errors
 at /sbin/e-smith/expand-template line 45


Related issues

Related to NethServer 6 - Feature #1612: Mail to fax CLOSED

Associated revisions

Revision a29c7456
Added by Filippo Carletti about 5 years ago

mail2fax: fix postfix transport expansion error. Refs #3391

Revision 8f4abdb7
Added by Filippo Carletti about 5 years ago

mail2fax: fix postfix transport expansion error. Refs #3391

History

#1 Updated by Filippo Carletti about 5 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • % Done changed from 0 to 20

The error suggests the fix. :-)

#2 Updated by Filippo Carletti about 5 years ago

#3 Updated by Filippo Carletti about 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#4 Updated by Filippo Carletti about 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Filippo Carletti)
  • % Done changed from 30 to 60

#5 Updated by Filippo Carletti about 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

Updated package in nethserver-testng:
nethserver-hylafax-1.1.5-1.2.ga29c745.ns6.noarch.rpm

Test case
1. update to above version of nethserver-hylafax
2.(optional) enable mail2fax if not enabled
3. check content of /etc/postfix/transport
4. run expand-template /etc/postfix/transport -> no errors

#6 Updated by Giacomo Sanchietti about 5 years ago

  • Assignee set to Giacomo Sanchietti

#7 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Template correctly expanded:

...
#
# 30sendfax (enabled)
#
sendfax@neth.loc                       sendfax:
...

#8 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • 6.7: nethserver-hylafax-1.1.6-1.ns6.noarch.rpm
  • 7.2: nethserver-hylafax-1.1.6-1.16.g4d9a1dc.ns7.noarch.rpm

Also available in: Atom PDF