Changes between Version 10 and Version 11 of howto/SetupPostfix


Ignore:
Timestamp:
Jun 16, 2008, 1:36:02 PM (16 years ago)
Author:
martin.osx@…
Comment:

Some more info - still not finished.

Legend:

Unmodified
Added
Removed
Modified
  • howto/SetupPostfix

    v10 v11  
    4040Most of the postfix configuration is done in the [attachment:main.cf] file which you find either in {{{/opt/local/etc/postfix}}} (macports) or {{{/etc/postfix}}} (OSX).
    4141
    42 === Step 1: '''set hostname and domain''' ===
     42=== Step 1: '''setup main.cf''' ===
    4343
     44==== set hostname and domain ====
     45
     46Search for {{{my_computer}}} and {{{my_domain}}} in {{{main.cf}}} and replace them with the domain name and computer name of your computer. You can find them out with the {{{hostname}}} command.
     47
     48The following lines need attention:
     49
     50{{{
     51myhostname = my_computer.local
     52mydomain = my_domain.com
     53mydestination = localhost,localhost.my_domain.com,my_computer,my_computer.local,my_computer.my_domain.com
     54masquerade_domains = my_domain.com
     55}}}
     56
     57Note: if you don't use an domain name apart from {{{.local}}} then you can remove the duplicate.
     58
     59==== set relayhost ====
     60
     61Your outbound mail needs to go to a relayhost as most of us can't send e-mail directly any more. My relayhost is {{{smtp.my_domain.com}}} this does not need to be for you.
     62
     63The following lines need attention:
     64
     65{{{
     66relayhost = [smtp.my_domain.com]
     67}}}
     68
     69==== /usr <-> /opt/local ====
     70
     71Depending on which version of postfix (osx vs. macports) you use you have to change all lines containing {{{/usr}}} to {{{/opt/local}}}.
     72
     73==== /private <-> /opt/local ====
     74
     75Depending on which version of postfix (osx vs. macports) you use you have to change all lines containing {{{/private}}} to {{{/opt/local}}}.
     76
     77=== Step 2: '''setup relay passwords''' ===
     78
     79TODO
     80
     81=== Step 3: '''starting the daemon''' ===
     82
     83[attachment:Restart_Postfix.command]
     84
     85=== Step 4: '''testing the deamon''' ===
     86
     87The attached [attachment:Test_Postfix.command] will send a test e-mail to your self - provided you replaced {{{my_name}}} and {{{my_computer}}} with your own name and computer name.
    4488
    4589== Optional Parts ==