barcode asp.net web control The Postfix Main Configuration File in Font

Drawer Data Matrix in Font The Postfix Main Configuration File

The Postfix Main Configuration File
Data Matrix Encoder In None
Using Barcode creator for Font Control to generate, create DataMatrix image in Font applications.
www.OnBarcode.com
Code39 Generation In None
Using Barcode maker for Font Control to generate, create Code-39 image in Font applications.
www.OnBarcode.com
Postfix s main configuration file is called main.cf and is located in the /etc/postfix directory. The contents of the file are more reader-friendly than in sendmail s main configuration file, sendmail.cf. When you need to make modifications, you simply change the required lines and save the file. You can open the file now and browse through its contents. The main.cf file follows syntax similar to that found in most Linux configuration files. Options that change the behavior of Postfix are called parameters. A parameter looks like this: parameter_name = parameter_value where parameter_name is the name of the parameter that you want to use and parameter_value is the value that you want to assign to your chosen parameter. Here is an example parameter in the main.cf file
Data Matrix ECC200 Creator In None
Using Barcode creation for Font Control to generate, create ECC200 image in Font applications.
www.OnBarcode.com
Barcode Creation In None
Using Barcode creation for Font Control to generate, create Barcode image in Font applications.
www.OnBarcode.com
Download at
Code-128 Encoder In None
Using Barcode creation for Font Control to generate, create Code 128A image in Font applications.
www.OnBarcode.com
PDF 417 Creator In None
Using Barcode encoder for Font Control to generate, create PDF-417 2d barcode image in Font applications.
www.OnBarcode.com
CHAPTER 15 LINUX MAIL SERVICES
UPC-A Supplement 2 Creation In None
Using Barcode printer for Font Control to generate, create UPC-A Supplement 5 image in Font applications.
www.OnBarcode.com
Paint MSI Plessey In None
Using Barcode generation for Font Control to generate, create MSI Plessey image in Font applications.
www.OnBarcode.com
#myhostname = host.domain.tld Here, the parameter name is myhostname and the value assigned to it is host.domain.tld. Lines that start with # are comments and are ignored by Postfix. This line is currently commented and will not be used by Postfix. The main.cf file lists a lot of parameters and there are others that you can use in addition to those. You can learn more about the other parameters by reading the man pages of the postconf command, Postfix s configuration utility. Whenever you change something in the main.cf file, you must restart Postfix so it can update itself. In the following exercise you will make some changes to that file in order to have it ready to accept email for sending and make it use different method to store email. We assume that the hostname for this mail server computer is called mail and is within the fictional pvctoyfan.com domain. Open the main.cf file using a text editor. 1. Find the lines #myhostname = host.domain.tld #mydomain = domain.ltd and change them to myhostname = mail.pvctoyfan.com mydomain = pvctoyfan.com The myhostname parameter will let Postfix know the name of the host it resides on. The mydomain parameter will inform Postfix the domain name it belongs to. Both parameters are used by other parameters within the configuration file. 2. Uncomment the line myorigin = $mydomain to make Postfix append the domain name to locally sent mail. Notice that the myorigin parameter takes a parameter with a dollar sign instead an actual value. This is fine because Postfix understands that parameters prepended with a dollar symbol are variables and will take what is being held by them. Because mydomain has pvctoyfan.com as the value, myorigin becomes myorigin = pvctoyfan.com when Postfix interprets this line. 3. Comment the line inet_interfaces = localhost and uncomment the line inet_interfaces = all to make Postfix accept and send email from all available network interfaces in the computer it resides on. If you do not uncomment this line, Postfix will only accept email from localhost, where it resides.
Data Matrix 2d Barcode Decoder In Visual Basic .NET
Using Barcode recognizer for .NET Control to read, scan read, scan image in Visual Studio .NET applications.
www.OnBarcode.com
Draw ECC200 In None
Using Barcode drawer for Font Control to generate, create DataMatrix image in Font applications.
www.OnBarcode.com
Download at
Create UPC-A Supplement 5 In None
Using Barcode creator for Word Control to generate, create UPC-A Supplement 2 image in Office Word applications.
www.OnBarcode.com
Barcode Printer In Java
Using Barcode encoder for Java Control to generate, create Barcode image in Java applications.
www.OnBarcode.com
CHAPTER 15 LINUX MAIL SERVICES
Reading QR Code 2d Barcode In .NET
Using Barcode reader for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications.
www.OnBarcode.com
Barcode Reader In Java
Using Barcode scanner for Java Control to read, scan read, scan image in Java applications.
www.OnBarcode.com
Find the line home_mailbox = Maildir/ and uncomment it. This parameter instructs Postfix to use the maildir format instead of mbox to store email.
QR Code JIS X 0510 Creation In Visual C#.NET
Using Barcode generation for Visual Studio .NET Control to generate, create QR Code JIS X 0510 image in Visual Studio .NET applications.
www.OnBarcode.com
Code 128A Creator In Objective-C
Using Barcode encoder for iPad Control to generate, create USS Code 128 image in iPad applications.
www.OnBarcode.com
Save the file and restart the Postfix server by running service postfix restart as root. Send an email to yourself by following the steps in Sending Email with sendmail and put the message The maildir format now as the message body to root@localhost. You need to append the @localhost this time because Postfix's sendmail command will not be able to find the fictional pvctoyfan.com domain at the moment.
Barcode Decoder In VB.NET
Using Barcode decoder for .NET framework Control to read, scan read, scan image in .NET framework applications.
www.OnBarcode.com
Barcode Decoder In None
Using Barcode reader for Software Control to read, scan read, scan image in Software applications.
www.OnBarcode.com
MAILDIR
Encoding PDF-417 2d Barcode In None
Using Barcode encoder for Office Word Control to generate, create PDF-417 2d barcode image in Word applications.
www.OnBarcode.com
Code39 Generator In None
Using Barcode creator for Online Control to generate, create Code 39 Full ASCII image in Online applications.
www.OnBarcode.com
Maildir is another mailbox format that mail servers can use. It allows MTAs to store email messages into separate directories instead of a single file as in the mbox format. Each maildir directory contains three subdirectories to sort email depending on what the mail server should do with it. These directories include the new, the cur, and the tmp subdirectories. You can view a user s maildir directory by opening the Maildir contained in their home directory. For the root user, you can change into that directory by using the cd /root/Maildir command. From there you will see the three subdirectories. The new subdirectory holds the new emails that have been received by the MTA for this user. Because you sent yourself an email, you received your own email, and Postfix placed it in the new subdirectory. If you browse the new directory now, you will see a file with a long name. That is your new email, and you can open it with a text editor to view its contents. A sample mail in the new directory looks like this: Return-Path: <root@mail.pvctoyfan.com> X-Original-To: root@mail.pvctoyfan.com Delivered-To: root@mail.pvctoyfan.com Received: from mail.pvctoyfan.com (localhost [127.0.0.1]) by mail.pvctoyfan.com (Postfix) with ESMTP id 34F97705E1 for <root@mail.pvctoyfan.com>; Sun, Received: (from root@localhost) by mail.pvctoyfan.com (8.13.8/8.13.8/Submit) id n64LXq6G004893 for root; Sun, 5 Jul 2009 05:33:52 +0800 Date: Sun, 5 Jul 2009 05:33:52 +0800 From: root <root@mail.pvctoyfan.com> 5 Jul 2009 05:34:01 +0800 (PHT)
Copyright © OnBarcode.com . All rights reserved.