Howto:Configure Faxserver to accept SMTP without authentication
Applies To
This information applies to
- innovaphone Faxserver
More Information
Problem Details
The innovaphone Faxserver accepts incoming SMTP connections only with authentication due security reasons. It is not recommended to change this setting, otherwise it is possible to send fax messages to any numbers for anybody, who can reach the Faxserver via IP.
In cases it is not possible to configure outgoing SMTP authentication on the E-Mail server and your Faxserver is operation in a secured network, it is possible to change settings on the Linux AP hosting the Faxserver in order no SMTP authentication is required for inbound connections.
Configuration
At the moment only manual change of the configuration files on Linux is possible to disable SMTP Authentication:
For the first you have to put the IP address of the SMTP server under /etc/postfix/main.cf
:
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.31.9.10
E.g. 172.31.9.10at the end of the line is my SMTP server.
The second file to change is /var/mail/vhosts/catchall.faxserver/.dovecot.sieve
The original file contains:
require ["variables"]; if header :matches "Received" "*(Authenticated sender: *)*" { redirect "${2}@redirected.faxserver"; stop; } else { discard; }
The line with "discard;" must be changed to "redirect "default@redirected.faxserver"; stop;" , like this:
require ["variables"]; if header :matches "Received" "*(Authenticated sender: *)*" { redirect "${2}@redirected.faxserver"; stop; } else { redirect "default@redirected.faxserver"; stop; }
It is important to match "default" with the User of the Mail Configuration of the Faxserver. So the Name of the SMTP User is used in this example was "default".