Feature #1612

Mail to fax

Added by Giacomo Sanchietti almost 7 years ago. Updated almost 4 years ago.

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

100%

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

Description

Add a predefined address senfax@<domain> to enable fax sending.

The address will be available only on local network and will send the fax using the mail2fax script.

sendfax_nser65.tar.gz (470 Bytes) Filippo Carletti, 11/05/2014 07:03 AM


Related issues

Related to NethServer 6 - Bug #3391: mail2fax transport expansion error CLOSED

Associated revisions

Revision 1c7a42a4
Added by Davide Principi almost 4 years ago

Postfix templates for sendfax@FQDN alias. Refs #1612

Revision 27f22469
Added by Davide Principi almost 4 years ago

FaxServer UI: added Mail to fax gateway checkbox. Refs #1612

Revision ecbe3fe6
Added by Davide Principi almost 4 years ago

Fix virtual address expansion to relay on sendfax transport. Refs #1612

Revision 014d6b22
Added by Davide Principi almost 4 years ago

FaxServer module online help [italiano]. Refs #1612

History

#1 Updated by Davide Principi almost 7 years ago

  • Target version set to v6.4-alpha2

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Target version changed from v6.4-alpha2 to ~FUTURE

#4 Updated by Davide Principi over 6 years ago

  • Project changed from 89 to NethServer 6

#5 Updated by Filippo Carletti almost 5 years ago

templates-custom to enable a private sendfax email address attached.

#6 Updated by Filippo Carletti almost 5 years ago

Attachment.
Possible improvement suggested by Davide:
foreach ($domainsDb->get_all_by_prop('TransportType', 'LocalDelivery') ...
to enable sendfax over all local delivery domains instead of primary domain only.

#7 Updated by Davide Principi almost 4 years ago

  • Status changed from NEW to TRIAGED
  • Target version changed from ~FUTURE to v6.7
  • % Done changed from 0 to 20

#8 Updated by Davide Principi almost 4 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#9 Updated by Davide Principi almost 4 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case 1

  • Install and configure or upgrade the nethserver-hylafax package
  • Try to send an email to sendfax@FQDN@, (provided FQDN is a Deliver locally mail domain in your mail server). Specify the fax recipient number on the Subject of the message
  • The mail server must refuse the dispatch

Test case 2

proceed from test case 1

  • Enable Mail to fax gateway field in FaxServer UI module
  • Save settings
  • Try to dispatch again: the mail server must accept the message only if the SMTP client is in the green or trusted networks
  • Make sure the mail is relayed to sendfax by looking for a line like this in /var/log/maillog (note relay=sendfax):
    Dec  4 09:00:19 vm2 postfix/pipe[3408]: 4EC1941F50: to=<sendfax@dpnet.nethesis.it>, relay=sendfax, delay=0.81, delays=0.24/0.04/0/0.53, dsn=2.0.0, status=sent (delivered via sendfax service)
    
  • Make sure the fax is enqueued by looking for a line like this in /var/log/messages:
    Dec  4 09:00:19 vm2 FaxQueuer[3363]: SUBMIT JOB 3
    

Docs

Updated the online documentation (en, it).

#10 Updated by Davide Principi almost 4 years ago

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

In nethserver-testing:

nethserver-hylafax-1.1.4-1.3.gecbe3fe.ns6.noarch

PACKAGER NOTE

Update the admin's and developer's manuals

#11 Updated by Luca Gasparini almost 4 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee set to Luca Gasparini
  • % Done changed from 70 to 90

Test Case 1:

yum install @Fax\ server

Installed:
nethserver-hylafax.noarch 0:1.1.4-1.ns6
nethserver-iaxmodem.noarch 0:1.1.1-1.ns6

Dependency Installed:
enscript.x86_64 0:1.6.4-15.el6
hylafax.x86_64 0:5.2.5-1.nh
iaxmodem.x86_64 0:1.2.0-1
perl-Mail-Sendmail.noarch 0:0.79-12.el6
sharutils.x86_64 0:4.7-6.1.el6

- Configure fax server
- Send mail to from client, specifying the fax number of the recipient on the subject.
- Error for failure to send and /var/log/maillog:

  srv-test transfer/smtpd[21713]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <sendfax@domain.net>: Recipient address rejected: User unknown in virtual mailbox table; from=<lucag@domain.net> to=<sendfax@domain.net>

Test Case 2:
Installed Updated Package:

yum --enablerepo=nethserver-testing update nethserver-hylafax

installed package: nethserver-hylafax.noarch 0:1.1.4-1.3.gecbe3fe.ns6

- Enabled Mail to fax gateway field in FaxServer UI module
- Save settings
- Try again to send the same message to

I get no more errors and viewing log /var/log/maillog:

Dec  5 14:26:18 srv-casa postfix/pipe[24111]: EC449341B87: to=<sendfax@domain.net>, relay=sendfax, delay=0.24, delays=0.1/0.02/0/0.12, dsn=2.0.0, status=sent (delivered via sendfax service)

Viewing log /var/log/messages you see the fax queue:

Dec  5 14:26:18 srv-casa FaxQueuer[24040]: SUBMIT JOB 2

#12 Updated by Giacomo Sanchietti almost 4 years ago

  • Assignee deleted (Luca Gasparini)

#13 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-hylafax-1.1.5-1.ns6.noarch.rpm

#14 Updated by Filippo Carletti over 3 years ago

  • Related to Bug #3391: mail2fax transport expansion error added

Also available in: Atom PDF