On 2023-04-26 09:10, Per Jessen wrote:
Per Jessen wrote:
1) make postfix listen for inbound traffic on port 25
In main.cf: inet_interfaces = all
Configure your printer to send the mails to that postfix instance. By default, I think postfix will accept forwarding mails from your local network.
You may also have to configure that postfix to relay through your "uplink" postfix - relayhost=up.link.postfix - to get mails sent out via your ISP.
That's for a generic, good, relay host. None of mine accept that role. Instead, I have postfix setup to send to the upstream server corresponding to the FROM address, and authentify with login/pass to that server using the login/pass that corresponds to that FROM. As there are several possible FROMS, there are several login/pass pairs. This is explained in /usr/share/doc/packages/postfix-doc/README_FILES/SASL_README. grep for "sender_dependent" -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)