Tunneling pop3/smtp to gmail SSL pop3s/smtps using xinetd on Linux
My Brother MFC-9840cdw multi-functional printer/scanner/coper/fax can scan to email. However gmail requires SSL, which the printer is not able to support. Using xinetd and openssl, my Linux machine is able to proxy local pop3 requests to gmail’s SSL pop3s service, and local smtp requests to gmail’s SSL smtps service. Here are the basics on what you need. These ideas are not original. Tunneling smtp to smtps # xinetd: tunnel local smtp to gmail smtps service smtp { disable = no socket_type = stream wait = no user = root server = /etc/xinetd.