Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Deprecation warning
- Maildir: sudo p o s t c o n f −e ’ home_mailbox = M a i l d i r / ’ 251 Note
References
For more information on filtering mail see the following links: • Amavisd-new Documentation • ClamAV Documentation and ClamAV Wiki • Spamassassin Wiki • Pyzor Homepage • Razor Homepage • DKIM.org • Postfix Amavis New Also, feel free to ask questions in the #ubuntu-server IRC channel on freenode. 250 Postfix Postfix is the default Mail Transfer Agent (MTA) in Ubuntu. It attempts to be fast and secure, with flexibility in administration. It is compatible with the MTA sendmail. This section will explain installation, including how to configure SMTP for secure communications. Note This guide does not cover setting up Postfix Virtual Domains, for information on Virtual Domains and other advanced configurations see References. Installation To install Postfix run the following command: sudo apt i n s t a l l p o s t f i x For now, it is ok to simply accept defaults by pressing return for each question. Some of the configuration options will be investigated in greater detail in the next stage. Deprecation warning: please note that the mail−stack−delivery metapackage has been dep- recated in Focal. The package still exists for compatibility reasons, but won’t setup a working email system. Basic Configuration There are four things you should decide before starting configuration: - The accept email (we’ll use mail.example.com in our example) - The network and class range of your mail server (we’ll use 192.168.0.0/24) - The username (we’re using steve) - Type of mailbox format (mbox is default, we’ll use the alternative, Maildir) To configure postfix, run the following command: sudo dpkg−r e c o n f i g u r e p o s t f i x The user interface will be displayed. On each screen, select the following values: • Internet Site • mail.example.com • steve • mail.example.com, localhost.localdomain, localhost • No • 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24 • 0 • + • all To set the mailbox format, you can either edit the configuration file directly, or use the postconf command. In either case, the configuration parameters will be stored in /etc/postfix/main.cf file. Later if you wish to re-configure a particular parameter, you can either run the command or change it manually in the file. To configure the mailbox format for Maildir: sudo p o s t c o n f −e ’ home_mailbox = M a i l d i r / ’ 251 Note This will place new mail in /home/username/Maildir so you will need to configure your Mail Delivery Agent (MDA) to use the same path. Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling