![]() ![]() #echo “:465 login:password” > /etc/postfix/sasl_passwd Mynetworks = 127.0.0.0/8 /104 /128Ĭreate an auth file for login on your smtps host relay: (login = name or as:465 /etc/postfix/sasl_passwd Smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd Smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination #information on enabling SSL in the smtp client. #See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for Smtpd_tls_session_cache_database = btree:$/smtp_scache Smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key Smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem ![]() #Uncomment the next line to generate “delayed mail” warnings Smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) #line of that file to be used as the name. #Debian specific: Specifying a file name will cause the first #See /usr/share/postfix/main.cf.dist for a commented, more complete version Replace the myhostname (myhostname = ), mydomain (mydomain = ), relayhost variables to match your own configuration: #dpkg-reconfigure postfix (or #apt install postfix ) (Esc or Tab)Ĭonfiguration in the main.cf file as shown: Install Postfix, a mail client and pluggable authentication modules Show the FQDN to use in the postfix’s configuration file #heres you put the local Network IP of the server and the domain nameġ92.168.1.x servername #here’s where you put the server’s host name Verify that TCP port #465 is not listing state on 127.0.0.1 Note the name for port #465 (smtps) from the details of the reserved ports on your system The OVH service required for authentication the use of port 465 to submit an email for delivery.įQDN such as I used to generate a report of the server in HTML with deblan-report ( ) and I wanted to automate this operation and receive the report by mail. ![]() The motivation to configure Postfix as a send only client for smtps came about when I switched my NextcloudPi instance to a Odroid HC2 box. The SMTPS protocol is only in use nowadays for backwards compatibility for mail servers that do not support ESMTP and for cheap shared hosting solution like the one proposed by OVH in France. The SMTPS protocol (SMTP over SSL) has been depreciated by the end of 1998 with the introduction of STARTTLS and the IANA has reassigned the SMTPS port 465 for Source-Specific Multicast audio and video. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |