Changes between Version 7 and Version 8 of DevNotes/Processeses/MailmanConfig


Ignore:
Timestamp:
Oct 27, 2017 7:08:55 AM (6 years ago)
Author:
ajj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/Processeses/MailmanConfig

    v7 v8  
    33== Postfix == 
    44 
     5- Some grimness here 
     6 
     7In order to allow mail forwarding, SRS is required to rewrite the headers properly when the receiving mail server is doing SPF checks. Useful links: 
     8 
     9* [https://www.mind-it.info/2014/02/22/forward-postfix-spf-srs/] 
     10* [https://serverfault.com/questions/635293/postfix-as-email-forwarder-to-gmail-spf-problems] 
     11* [https://seasonofcode.com/posts/setting-up-dkim-and-srs-in-postfix.html] 
     12 
     13Install PostSRSd ([https://github.com/roehling/postsrsd]) from GitHub (instructions from https://www.mind-it.info/2014/02/22/forward-postfix-spf-srs/) 
     14 
     15{{{ 
     16# download and compile the software: 
     17 
     18$ cd ~ 
     19$ wget https://github.com/roehling/postsrsd/archive/master.zip 
     20$ unzip master 
     21$ cd postsrsd-master/ 
     22$ sudo make 
     23$ sudo make install 
     24 
     25# Add postfix configuration parameters for postsrsd 
     26 
     27$ sudo postconf -e "sender_canonical_maps = tcp:127.0.0.1:10001" 
     28$ sudo postconf -e "sender_canonical_classes = envelope_sender" 
     29$ sudo postconf -e "recipient_canonical_maps = tcp:127.0.0.1:10002" 
     30$ sudo postconf -e "recipient_canonical_classes = envelope_recipient" 
     31 
     32# Add SRS daemon to startup: 
     33 
     34$ sudo chkconfig postsrsd on 
     35 
     36# Start SRS daemon: 
     37 
     38$ sudo service postsrsd restart 
     39 
     40#Reload postfix: 
     41 
     42$ sudo service postfix reload 
     43 
     44 
     45}}} 
    546 
    647== Mailman ==