User Tools

Site Tools


postfix_mta_on_netbsd_6.x

Differences

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

Link to this comparison view

Next revision
Previous revision
postfix_mta_on_netbsd_6.x [2021/03/07 21:28] – created hc9postfix_mta_on_netbsd_6.x [2021/03/12 19:40] (current) hc9
Line 1: Line 1:
 ==== Postfix MTA using libsaslc(3) on NetBSD 6.x: ==== ==== Postfix MTA using libsaslc(3) on NetBSD 6.x: ====
  
-first, verify that //postfix(1)// knows about //libsaslc// :+first, verify that //postfix(1)// knows about //libsaslc//:
  
 <code> <code>
Line 10: Line 10:
   * create (as superuser) the following postfix config files:   * create (as superuser) the following postfix config files:
  
-== /etc/postfix/main.cf ==+|///etc/postfix/main.cf//|
  
 <file config /etc/postfix/main.cf> <file config /etc/postfix/main.cf>
Line 34: Line 34:
 </file> </file>
  
-== /etc/postfix/generic ==+|///etc/postfix/generic//|
  
  
Line 44: Line 44:
 </file> </file>
  
-== /etc/postfix/sasl_passwd == +|///etc/postfix/sasl_passwd//| 
- +|(for security set ownership to ''root:wheel'', permissions to ''600'')|
-(for security set ownership to ''root:wheel'', permissions to ''600'')+
  
 <file config /etc/postfix/sasl_passwd> <file config /etc/postfix/sasl_passwd>
Line 54: Line 53:
 </file> </file>
  
-=== hash /etc/postfix/{generic,sasl_passwd}, then check and reload configs: === +  * hash ///etc/postfix/{generic,sasl_passwd}, then check and reload configs//:
- +
-<file config /etc/postfix/{generic,sasl_passwd}>+
  
 +<code>
 % cd /etc/postfix/ % cd /etc/postfix/
 % sudo postmap generic sasl_passwd  # creates generic.db & sasl_passwd.db % sudo postmap generic sasl_passwd  # creates generic.db & sasl_passwd.db
 % sudo postfix check                # no output unless errors % sudo postfix check                # no output unless errors
 % sudo /etc/rc.d/postfix reload % sudo /etc/rc.d/postfix reload
 +</code>
  
-</file> +  * test to verify everything is working correctly:
- +
-=== test to verify everything is working correctly: ===+
  
 <code> <code>
Line 80: Line 77:
   relay=mx.sdf.org[192.94.73.24]:587, delay=3.9, delays=0.02/0/3.7/0.11, dsn=2.0.0, status=sent \   relay=mx.sdf.org[192.94.73.24]:587, delay=3.9, delays=0.02/0/3.7/0.11, dsn=2.0.0, status=sent \
   (250 2.0.0 s3RFrfvZ010436 Message accepted for delivery)   (250 2.0.0 s3RFrfvZ010436 Message accepted for delivery)
-  </code>+</code>
              
 You should now be set up to use SDF's SMTP server. Enjoy! You should now be set up to use SDF's SMTP server. Enjoy!
  
---- +---- 
-$Idsmtpauth.html,v 1.20 2020/01/19 02:03:26 mrguilt Exp $+ 
 +[[http://sdf.org/?tutorials/smtpauth#postfix-netbsd6|Postfix MTA using libsaslc(3) on NetBSD 6.x:]] - traditional link (using [[wp>Revision_Control_System|RCS]])
  
postfix_mta_on_netbsd_6.x.1615152488.txt.gz · Last modified: 2021/03/07 21:28 by hc9