User Tools

Site Tools


software:linux:postfix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:linux:postfix [2023/10/27 02:42] – [Postfix Smtp sasl TLS] superwizardsoftware:linux:postfix [2024/01/13 21:27] (current) – [Simple setup for printer liaison] superwizard
Line 6: Line 6:
  
 <WRAP center round box > <WRAP center round box >
-on raspberry pi+on Raspberry Pi for Office 365 Direct Send
  
 <code> <code>
Line 16: Line 16:
 mydestination = $myhostname, localhost.$mydomain, localhost mydestination = $myhostname, localhost.$mydomain, localhost
 myhostname = mailserver1.contorseau.com myhostname = mailserver1.contorseau.com
-#mynetworks_style = subnet +mynetworks_style = subnet 
-mynetworks = 127.0.0.0/8 10.1.0.0/16+#mynetworks = 127.0.0.0/8 10.1.0.0/16
 relayhost = contorseau-com.mail.protection.outlook.com:25 relayhost = contorseau-com.mail.protection.outlook.com:25
  
  
 </code> </code>
 +
 +
 +^ DNS entry ^ Value |
 +| SPF | v=spf1 ip4:<Static IP Address> include:spf.protection.outlook.com ~all |
 +
 +
 +From <https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365> 
 +
 +SpamHaus Blocked List - remove IP by going to bottom of "view details" 
 +
 +https://www.spamhaus.org/query/ip/xx.xxx.xxx.xxx
 +
 +Don’t panic!
 +The inclusion of your IP address on the Policy Blocklist (PBL) is standard for the vast majority of internet users and is not the result of your actions. Here are some key PBL facts for your understanding:
 + • Being on this list does not mean you won’t be able to send emails.
 + • You do not need to request removal from PBL.
 + • This listing is controlled by your Internet Service Provider (ISP), not Spamhaus.
 + • Your ISP lists ranges of IP addresses that shouldn’t be sending email directly to the internet.
 + • Typically, IPs of broadband or dial-up customers will be included in this list.
 + • This is part of Internet best practices enacted to protect all users.
 +
 +From <https://check.spamhaus.org/> 
 +
 +
 </WRAP> </WRAP>
    
 +====== Postfix Smtp sasl TLS ======
 +
 +
 +<WRAP center round box >
 +
 +I need to use postfix to send email from openSUSE Leap 42.3, I configured it using Yast → Network Services → Mail Server, then in the outgoing mail, I selected use TLS and I did the configuration under Authentication option (so I placed the domain of the outgoing server, the username and the password of the email that I am going to use it).
 +
 +https://forums.opensuse.org/t/postfix-for-sending-email-on-port-465-using-ssl/140203
 +
 +<code>
 +# enable SASL authentication
 +smtp_sasl_auth_enable = yes
 +
 +# disallow methods that allow anonymous authentication.
 +smtp_sasl_security_options = noanonymous
 +
 +# where to find sasl_passwd
 +smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 +
 +# Enable STARTTLS encryption
 +smtp_use_tls = yes
 +
 +# where to find CA certificates
 +smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
 +
 +Had to also include
 +smtp_tls_security_level = encrypt
 +smtp_tls_wrappermode = yes
 +
 +view with journalctl 
 +
 +</code>
 +
 +https://www.linode.com/docs/guides/postfix-smtp-debian7/
 +
 +</WRAP>
  
 ====== Viewing Postfix Syslog ====== ====== Viewing Postfix Syslog ======
Line 53: Line 113:
  
  
 +====== xrdp on openSuse ======
  
-====== mailq ======+<WRAP center round box > 
 +2023-11-12
  
-mailq - list que+xrdp from X11:RemoteDesktop project 
 +Select Your Operating System
  
-====== Postfix Smtp sasl TLS ======+From <https://software.opensuse.org/download/package?package=xrdp&project=X11%3ARemoteDesktop> 
  
 +</WRAP>
  
-<WRAP center round box > 
  
-I need to use postfix to send email from openSUSE Leap 42.3, I configured it using Yast → Network Services → Mail Server, then in the outgoing mail, I selected use TLS and I did the configuration under Authentication option (so I placed the domain of the outgoing server, the username and the password of the email that I am going to use it). 
  
-https://forums.opensuse.org/t/postfix-for-sending-email-on-port-465-using-ssl/140203 
  
-<code> 
-# enable SASL authentication 
-smtp_sasl_auth_enable = yes 
-# disallow methods that allow anonymous authentication. 
-smtp_sasl_security_options = noanonymous 
-# where to find sasl_passwd 
-smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd 
-# Enable STARTTLS encryption 
-smtp_use_tls = yes 
-# where to find CA certificates 
-smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt 
  
-Had to also include +====== mailq ======
-smtp_tls_security_level encrypt +
-smtp_tls_wrappermode yes+
  
-</code>+mailq - list que
  
-https://www.linode.com/docs/guides/postfix-smtp-debian7/ 
- 
-</WRAP> 
  
 ====== Postfix Server ====== ====== Postfix Server ======
software/linux/postfix.1698374561.txt.gz · Last modified: by superwizard