Personal tools
You are here: Home Wiki Postfix
Views

Postfix questions and answers.

How can I configure Postfix to work with mutt ?

This answer assumes you will be using your ISP for mail, and fetchmail to retrieve mail.

First make sure you have a "sendmail" binary. :

    #  ls -l `which sendmail`
    lrwxr-xr-x 1 root root 26 Nov 27 01:13 /usr/sbin/sendmail -> /usr/sbin/sendmail.postfix

Since you will be relaying through your ISP you may want to consult the documentation on [Running Postfix inside an intranet|http://www.postfix.org/faq.html#intranet]?.

In /etc/postfix/main.cf :

    mydomain 3D saveourcity.com
    # example.com would be replaced by your ISP assigned domain
    relay 3D mail.saveourcoity.com
    # replace mail.example.com with the name of your ISP's smtp server
    disable_dns_lookups 3D yes
    # you probably don't need this, but I added it for completeness
    # if you want to be able to deliver mail, to your local network
    # while disconnected, use this parameter
    # When you disable DNS lookups, you must specify the relayhost
    # as either a numeric IP address, or as a hostname that resolves to one
    # or more IP addresses
    # with DNS lookup disabled, Postfix does no MX lookup
    defer_transports 3D smtp
    # Add this, if you are using a modem, and not continuously connected

These are the only modifications you eally need to make, to the default config file that came with your postfix install, or that was installed, when you built your Postfix binaries. If you change only these, everything should work. Resist changing anything else, until you have thoroughly read the documentation. There are over a hundred parameters that can be modified in Postfix. Most aren't needed by the average person, running a small mail server for their little network, at home.

For more reading check the "Postfix Documentation, Howtos and FAQs?": http://www.postfix.org/docs.html . There is also considerable documentation and example files installed, check:

    /etc/postfix/samples
    /usr/share/docs/postfix-version_number/



Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: