Sei sulla pagina 1di 18

Admin Guide ( Unix System Administration) Postfix Configuration

Postfix - Mail Transfer Agent. The goal of the Postfix project is to implement an alternative to the UNIX Sendmail program. Postfix is fast, easy to administer, and secure. To configure Postfix , log in as admin, select the System Administration mode and find Postfix Configuration in the E-Mail Management section. Alternatively, click Postfix Configuration in the System monitor section on the left panel.

Module Config: checks and configures CP+ Postfix settings (paths to Postfix binaries and config files, etc.) General Options provides access to most of main.cf and master.cf options. Address Rewriting and Masquerading configures options of address masquerading and rewriting addresses to standard form. Mail Aliases configures mail aliases for local email addresses. Canonical Mapping configures canonical mapping options and to edit canonical maps. Virtual Domains configures virtual domain options and to create/edit virtual maps. Transport Mapping specifies transport mapping lookup tables. Relocated Mapping specifies relocated mapping lookup tables. Header Checks allows email to be redirected based on its headers. Body Checks allows email to be redirected based on the contents of the message body. Local delivery configures local delivery options. General resource control controls general resources. SMTP server options configures SMTP server options. SMTP client options configures SMTP client options. Delivery rates gives direct control over inbound and outbound delivery rates. Debugging features debugs parts of the Postfix mail system when things do not work according to expectation. Server Processes manage the various server processes used by Postfix for receiving and processing email. LDAP lookups specifies lookup tables as LDAP databases.

Mail Queue the list of queued messages. Configuration Check checks main Postfix options. User Mailboxes the list of mailboxes with access to mail in them.

CP+ Postfix Module Configuration Configure CP+ Postfix module by clicking on the Module Config link in the top right corner of the page. There are two sections dealing with CP+ Postfix configuration: 1) Configurable options:

2) System configuration with paths to Postfix binaries, configs, logs, etc.

Full path to Postfix control command: postfix - Postfix control program. The postfix command controls the operation of the Postfix mail system: starts or stops the master daemon, does a health check, and other maintenance. The postfix command sets up a standardized environment and runs the postfix-script shell script to do the actual work. Full path to Postfix config command: postconf - Postfix configuration utility. The postconf command prints the actual value of parameter (all known parameters by default) one parameter per line, changes its value, or prints other information about the Postfix mail system. Full path to Postfix config file: Postfix has several hundred configuration parameters that are controlled via the main.cf file, but all parameters have sensible default values. Full path to Postfix aliases generation command: the postalias command creates or queries one or more Postfix alias databases, or updates an existing one. Full path to "newaliases" (Sendmail compatibility) command: initialize the alias

database. Full path to Postfix lookup table command management (`postmap'): the postmap command creates or queries one or more Postfix lookup tables, or updates an existing one. Full path to Postfix queue management command (`postqueue'): the postqueue command implements the Postfix user interface for queue management. Mail queue base directory: the directory with Postfix queue files, with local interprocess communication endpoints, and with files needed for daemon programs that run in the optional chrooted environment. Mail queue display command: list the mail queue. Mail queue decoding command: postcat - shows Postfix queue file contents. The postcat command prints the contents of the named files in human- readable form. The files are expected to be in Postfix queue file format. If no files are specified on the command line, the program reads from standard input.

By default, Postfix configuration files are in /etc/postfix. The two most important files are main.cf and master.cf; these files must be owned by root. Giving someone else write permission to main.cf or master.cf (or to their parent directories) means giving root privileges to that person. Make sure to click Save to preserve changes. General Options The General Options form consists of two sections: 1) Most Useful General Options:

What domain to use in outbound mail: specifies the domain that appears in mail that is posted on this machine. The default configuration of Postfix is to use the local machine name, hostname. What domains to receive mail for: specifies what domains this machine will deliver for locally, instead of forwarding mail to another machine. What trouble to report to the postmaster: sets up a postmaster alias. This alias is required to exist, so that people can report mail delivery problems. The Postfix system itself also reports problems to the postmaster alias. You may not be interested in all types of trouble reports, so this reporting mechanism is configurable. The default is to report only serious problems (resource, software) to postmaster.

2) Other General Options:

Send outgoing mail via host: by default, Postfix forward any outgoing mail not destined for users of system to the given host. To forward all mail to an intranet mail gateway (for example if intranet has a firewall), except for mail for the local machine, setup the value to mail gateway. (ex.: $mydomain or [mail.$mydomain] - deliver via local mailhub; [mail.isp.tld] - deliver via provider mailhub). Address that receives bcc of each message: specifies an optional address that receives a copy of each message that enters the Postfix system, not including bounces that are generated locally. Timeout on handling requests: specifies how much time a daemon may take to handle a request before it assumes it is wedged and commits suicide. Default database type: specifies the default database type to use in postalias and postmap commands. On many UNIX systems the default type is either `dbm' or `hash'. The default is determined when the Postfix system is built. Default message delivery transport: specifies the default message delivery transport to use when no transport is explicitly given in the optional transport table. Common values are uucp or smtp. Sender address for bounce mail: specifies the sender address for mail that must be discarded when it cannot be delivered. This must be a unique name. All mail to this name is silently discarded, in order to terminate mail bounce loops. Number of subdir levels below the queue dir: specifies the number of subdirectory levels below the queue directories listed in the hash_queue_names parameter. Multiple subdirectory levels can speed up directory access by reducing

the number of files per directory. Name of queue dirs split accross subdirs: specifies the names of queue directories that are split across multiple subdirectory levels. Hashing MUST NOT be used with a world-writable maildrop directory. Hashing MUST be used for the defer logfile directory, or mail system performance will suffer. Max number of Received: headers: limits the number of Received: message headers. A message that exceeds the limit is bounced. Time in hours before sending a warning for no delivery: specifies after how many hours a warning is sent that mail has not yet been delivered. By default, no warning is sent. Network interfaces for receiving mail: specifies the network interface addresses that this mail system receives mail on. By default, the software claims all active interfaces on the machine. The parameter also controls delivery of mail to user@[ip.address] ( ex.: $myhostname). Idle time after internal IPC client disconnects: bounds the idle time in seconds after which an internal IPC client disconnects. The purpose is to allow servers to terminate voluntarily. Currently this is used by the address resolving and rewriting clients. Mail system name: specifies the mail system name that is used in Received: headers, in the SMTP greeting banner, and in bounced mail. Official mail system version: specifies the official version of the mail system. The version string can be used in, for example, the SMTP greeting banner. Time to wait for next service request: limits the time in seconds that a Postfix daemon process waits for the next service request before exiting. This parameter is ignored by the Postfix queue manager. Internet hostname of this mail system: specifies the internet hostname of this mail system. The default is to use the fully-qualified domain name from gethostname. Local internet domain name: specifies the local internet domain name. The default is to use $myhostname minus the first component. Local networks: specifies the list of networks that are local to this machine. The list is used by the anti-UCE software to distinguish local clients from strangers. Send postmaster notice on bounce to...: specifies who gets postmaster notices if the above error conditions is recognized. Defaults to "postmaster". Send postmaster notice on 2bounce to...: specifies who gets postmaster notices if the above error conditions is recognized. Defaults to "postmaster". Send postmaster notice on delay to...: specifies who gets postmaster notices if the above error conditions is recognized. Defaults to "postmaster". Send postmaster notice on error to...: specifies who gets postmaster notices if the above error conditions is recognized. Defaults to "postmaster". Mail queue directory: specifies the location of the Postfix queue. This is also the root directory of Postfix daemons that run chrooted. Lock file dir, relative to queue dir: specifies a lock file directory relative to the Postfix queue directory. This facility is used by the master daemon to lock out other master daemon instances. Separator between user names and address extensions: specifies the separator between user names and address extensions (user+foo). Postfix support programs and daemons dir: specifies the location of Postfix support programs and daemons. This directory must be owned by root. Relocated mapping lookup tables: specifies optional tables with contact information for users, hosts or domains that no longer exist. See Relocated

Mapping for details. By default, this feature is disabled ( ex.: hash:/etc/postfix/relocated). Disable kernel file lock on mailboxes: disables kernel file locks on mailboxes. This is needed on SUN workstations because the mailtool program keeps an exclusive kernel lock while its window is open. SUN software uses user.lock files only. Unless you remove all SUN mail software, kernel locks just give a false sense of security. Max time to send a trigger to a daemon: limits the time to send a trigger to a Postfix daemon. This prevents programs from getting stuck when the mail system is under heavy load. Email content filter: specifies the name of a mail delivery transport that filters mail after it is queued. By default, this feature is disabled. Sensible possible value: spamfilter, assuming that a transport called spamfilter has been defined.

Make sure to click Save and Apply to preserve changes. Address Rewriting and Masquerading Before the cleanup daemon runs an address through any lookup table, it first rewrites the address to the standard user@fully.qualified.domain form, by sending the address to the trivial-rewrite daemon. The purpose of rewriting to standard form is to reduce the number of entries needed in lookup tables.

Rewrite "user%domain" to "user@domain": is controlled by the boolean allow_percent_hack parameter (default: yes). Typically, this is used in order to deal with monstrosities such as user%domain@otherdomain. Rewrite "user@host" to "user@host.$mydomain": is controlled by the boolean append_dot_mydomain parameter (default: yes). The purpose is to get consistent treatment of different forms of the same hostname. Rewrite "user" to "user@$mydomain": is controlled by the boolean append_at_myorigin parameter (default: yes). The purpose is to get consistent treatment of user on every machine in $myorigin. Rewrite "site!user" to "user@site": is controlled by the boolean swap_bangpath parameter (default: yes). The purpose is to rewrite UUCP-style addresses to domain style. This is useful only when you receive mail via UUCP, but it probably does not hurt otherwise. Send mail with empty recipient to...: specifies the destination for mail from <> that is undeliverable (typically, bounce notifications and other notifications). By default, such mail is sent to MAILER-DAEMON. Address masquerading: it is a method to hide all hosts below a domain behind their mail gateway, and to make it appear as if the mail comes from the gateway itself, instead of from individual machines. Masquerade exceptions: specifies what user names should not be subjected to

address masquerading. Make sure to click Save and Apply to preserve changes. Mail Aliases Aliases - format of the Postfix alias database. The aliases file provides a system-wide mechanism to redirect mail for local recipients. 1) Alias Options

Alias databases used by the local delivery agent: specifies the list of alias databases used by the local delivery agent. Alias databases built by Postfix: specifies the alias database(s) that are built with "newaliases" or "sendmail -bi".

Make sure to click Save and Apply to preserve changes. 2) Alias Properties Edition

3) Edit Alias Properties To edit the existent aliases, click on the user's name in the list, and you will see the form similar to the form to create aliases. Each time you edit a user account, you may add a new Alias To field:

Address: an address to be aliased must not include its domain name, it must be ksmith instead of ksmith@example.com. Enabled: an alias may be enabled or disabled. Disabled aliases are ignored when processing incoming email. Alias To: each alias may redirect mail to several recipients, and each recipient may be one of the following:

Email Address - a full email address (with domain name) or local address (without domain name). Addresses in File - pathname to the file with the list of addresses one per line. Write to File - email will be written to the specified file. To have all email to some address thrown away, give /dev/null as the filename. Feed to Program- pathname to a program that starts each time an email message comes from this address and takes the message as its standard input. Autoreply From File - simply sends a mail automatically back to the sender containing whatever is in the file listed in the text field.

Canonical Mapping The canonical mapping is used by the cleanup daemon, before the cleanup daemon stores inbound mail into the incoming queue, it uses the canonical table to rewrite all addresses in message envelopes and in message headers, local or remote. The canonical mapping is useful to replace login names by Firstname.Lastname style addresses, or to clean up invalid domains in mail addresses produced by legacy mail systems.

Address mapping lookup tables: specifies optional address mapping lookup tables. The mapping is applied to both sender and recipient addresses, in both envelopes and in headers. This is typically used to clean up dirty addresses from legacy mail systems, or to replace login names by Firstname.Lastname (ex.: hash:/etc/postfix/canonical ). Tables for RECIPIENT addresses: specifies optional address mapping lookup tables for envelope and header RECIPIENT addresses (ex.: hash:/etc/postfix/recipient_canonical ). Tables for SENDER addresses: specifies optional address mapping lookup tables for envelope and header SENDER addresses (ex.: hash:/etc/postfix/sender_canonical ).

Click on one of these buttons to edit the canonical maps: Make sure to click Save and Apply to preserve changes. Virtual Domains After applying the canonical and masquerade mappings, the cleanup daemon uses the virtual table to redirect mail for all recipients, local or remote. The mapping affects only envelope recipients; it has no effect on message headers or envelope senders. Virtual lookups are useful to redirect mail for virtual domains to real user mailboxes, and to redirect mail for domains that no longer exist.

Domain mapping lookup tables: specifies one or more lookup tables.

You may create new maps or edit the existent ones. To edit, click on the user's name in the list, and you will see the form similar to the form to create maps. The form to create maps:

The form to edit maps:

Make sure to click Save and Apply or Save mapping to preserve changes. Transport Mapping Once the queue manager has established the destination of a message, the optional transport table controls how the message will be delivered (this table is used by the address rewriting and resolving daemon). By default, everything is sent via the smtp transport.

Transport mapping lookup tables: specifies optional tables with domain to (transport, nexthop) mappings (ex.: hash:/etc/postfix/transport).

Make sure to click Save and Apply to preserve changes. Relocated Mapping Relocated maps - list of lookup tables for relocated users or sites. The queue manager runs each recipient name through the relocated database. This table provides information on how to reach users that no longer have an account, or what to do with mail for entire domains that no longer exist. When mail is sent to an address that is listed in this table, the message is bounced with an informative message.

Relocated mapping lookup tables: specifies optional tables with contact information for users, hosts or domains that no longer exist ( ex.: hash:/etc/postfix/relocated).

Make sure to click Save and Apply to preserve changes. Header Checks The optional header checks table allows email to be redirected based on its headers. Each

entry in the table has a POSIX regular expression on the left-hand side, and an action on the right.

Make sure to click Save and Apply to preserve changes. Body Checks The optional body checks table allows email to be redirected based on the contents of the message body. Each entry in the table has a POSIX regular expression on the left-hand side, and an action on the right.

Make sure to click Save and Apply to preserve changes. Local delivery The local daemon processes delivery requests from the Postfix queue manager to deliver mail to local recipients. Each delivery request specifies a queue file, a sender address, a domain or host to deliver to, and one or more recipients.

Name of the transport for local deliveries: specifies the name of the transport for delivery to destinations that match $mydestination or $inet_interfaces. Shell to use for delivery to external command: controls what shell will be used for delivery to external command. Search list for forward: specifies a search list. The first file that is found is used. Valid mail delivery to external commands: restricts mail delivery to external commands. Valid mail delivery to external files: restricts mail delivery to external file. Default rights of the delivery agent: specifies the default rights used by the local delivery agent for delivery to external file or command.

Home-relative pathname of user mailbox file: specifies the optional pathname of a mailbox file relative to a user's home directory. Destination address for unknown recipients: specifies an optional destination address for unknown recipients. Spool directory: specifies the directory where UNIX-style mailboxes are kept. External command to use instead of mailbox delivery: specifies the optional external command to use instead of mailbox delivery. Optional actual transport to use: specifies the optional transport (in master.cf) to use after processing aliases and .forward files. Optional transport for unknown recipients: specifies the optional transport in master.cf to use for recipients that are not found in the UNIX passwd database. Max number of parallel deliveries to the same local recipient: limits the number of parallel deliveries to the same local recipient. Max number of recipients per local message delivery: limits the number of recipients per local message delivery. Prepend a Delivered-To: when...: controls when Postfix should prepend a Delivered-To: message header.

Make sure to click Save and Apply to preserve changes. General resource control

Max size of bounced message: limits the amount of original message context in bytes that is sent in a non-delivery notification. Max time for delivery to external commands: limits the amount of time for delivery to external commands. This limit is used by the local delivery agent, and is the default time limit for delivery by the pipe mailer. Max number of Postfix child processes: specifies the default limit on the number of Postfix child processes that provide a given service. Max number of addresses remembered by the duplicate filter: limits the number of addresses remembered by the duplicate filter for alias, virtual, etc. expansion. Max attempts to acquire file lock: limits the number of attempts to acquire an exclusive lock on a mailbox or other file. Time in seconds between file lock attempts: sets the time in seconds between attempts to acquire an exclusive lock. Max attempts to fork a process: limits the number of attempts to fork a process. Time in seconds between fork attempts: sets the time in seconds between fork attempts. Max memory used for processing headers: limits the amount of memory in bytes used for processing a message header. If a header is larger, the remainder of the entire message is treated as message body.

Max memory used for handling input lines: limits the amount of memory in bytes used for handling input lines. Longer lines are chopped up into pieces and reconstructed upon delivery. Max size of a message: limits the total size in bytes of a message, including envelope information. Max number of messages in the active queue: limits the number of messages in the active queue. Max number of in-memory recipients: limits the number of in-memory recipients. It also limits the size of the short-term, in-memory destination status cache. Min free space in the queue file system: specifies the minimal amount of free space in bytes in the queue file system. This is currently used by the SMTP server to decide if it will accept any mail at all. Max time after which stale lock is released: limits the time after which a stale lock is removed. This is used for delivery to file or mailbox. Time in seconds between attempts to contact a broken MDT: specifies the time in seconds between attempts by the queue manager to contact a broken message delivery transport. Max size of a mailbox: limits the total size in bytes of a mailbox, in other words the inbox for a user.

Make sure to click Save and Apply to preserve changes. SMTP server options The SMTP server accepts network connection requests and performs zero or more SMTP transactions per connection. Each received message is piped through the cleanup daemon, and is placed into the incoming queue as one single queue file.

SMTP greeting banner: specifies the text that follows the 220 status code in the SMTP greeting banner. Some people like to see the mail version advertised. By default, Postfix shows no version. Max number of recipients accepted for delivery: restricts the number of recipients that the SMTP server accepts per message delivery.

Disable SMTP VRFY command: disable the SMTP VRFY command. This stops some techniques used by spammers to harvest email addresses. Timeout in seconds for SMTP transactions: limits the time in seconds to send an SMTP server response and to receive an SMTP client request. Timeout before sending 4xx/5xx error response: specifies the time in seconds the SMTP server waits before sending a 4xx or 5xx SMTP server error response. This prevents naive clients from going into an error - disconnect - connect - error loop. Error count for temporarily ignore a client: specifies an error count lower limit. When an SMTP client has made this number of errors within a session, the server waits error_count seconds before responding to any client request. Error count for closing connection: specifies an error count upper limit. The SMTP server disconnects after an SMTP client makes this number of errors within a session. HELO is required: optionally turns on the requirement that SMTP clients must introduce themselves at the beginning of an SMTP session. Requiring this will stop some UCE (unsolicited commercial email) software. Allow untrusted routing: controls if Postfix will forward mail with sender-specified routing (user[@%!]remote[@%!]site) from untrusted clients to destinations that are blessed by the relay_domains parameter. By default, untrusted clients are not allowed to specify routing. Restrict ETRN command upon...: restricts what clients are allowed to issue the ETRN command. The present Postfix ETRN differs from other ETRN implementations in that it flushes mail for all destinations. This will change in the future. The default is to allow ETRN from any host. Restrictions on client hostnames/addresses: specifies optional restrictions on SMTP client host names and addresses. The default is to allow connections from any host. Restrictions on sends in HELO commands: specifies optional restrictions on what SMTP clients can send in SMTP HELO and EHLO commands. The default is to permit everything. Restrictions on sender addresses: specifies optional restrictions on sender addresses that SMTP clients can send in MAIL FROM commands. The default is to permit any sender address. Restrictions on recipient addresses: specifies restrictions on recipient addresses that SMTP clients can send in RCPT TO commands. DNS domains for blacklist lookups: specifies an optional list of DNS domains that publish the network addresses of blacklisted hosts. By default, RBL blacklist lookups are disabled. Restrict mail relaying: restricts what client hostname domains (and subdomains thereof) this mail system will relay mail from, and restricts what destination domains (and subdomains thereof) this system will relay mail to. SMTP server response on access map violation: specifies the SMTP server response code when a mail violates the access map restriction that is: Access denied: access_map violation (on SMTP client or HELO hostname, sender or recipient email address). SMTP server response on invalid hostname reject: specifies the SMTP server response code when a client violates the reject_invalid_hostname anti-UCE restriction rule that is: Bad syntax for client HELO hostname (Not RFC compliant). SMTP server response on RBL domains violation: specifies the SMTP server response code when a mail violates the maps_rbl_domains rule that is: Access

denied: SMTP client listed in RBL. SMTP server response on forbidden relaying: specifies the SMTP server response code when a mail violates the relay_domains_reject rule that is: Access denied: Relay not authorized or not local host not a gateway. SMTP server response on unknown domain reject: specifies the SMTP server response code when a client violates the reject_unknown_sender_domain or reject_unknown_recipient_domain restriction rules that are: Access denied: Unknown domain for sender or recipient email address (without DNS A or MX record) SMTP server response on unknown domain reject: specifies the SMTP server response code when a client violates the reject_unknown_sender_domain or reject_unknown_recipient_domain restriction rules that are: Access denied: Unknown domain for sender or recipient email address (without DNS A or MX record) SMTP server response on unknown client reject: specifies the SMTP server response code when a client without address to name mapping violates the reject_unknown_clients restriction rule that is: Access denied: Unknown SMTP client hostname (without DNS A or MX record). SMTP server response on unknown hostname reject: specifies the SMTP server response code when a client violates the reject_unknown_hostname restriction rule that is: Access denied: Unknown client HELO hostname (without DNS A or MX record).

Make sure to click Save and Apply to preserve changes. SMTP client options The SMTP client processes message delivery requests from the queue manager. Each request specifies a queue file, a sender address, a domain or host to deliver to, and recipient information.

Action when listed as best MX host: controls what happens when the local system is listed as the best MX host for a destination. By default, Postfix reports a "mail loops back to myself" error and bounces the message. Hosts/domains to hand off mail to on invalid destination: specifies zero or more hosts or domains to hand off mail to if a message destination is not found, or if a destination is unreachable. Ignore MX lookup error: controls what happens when a name server fails to respond to an MX lookup request. Skip wait for the QUIT command: controls whether the SMTP client waits for the

response to the QUIT command. The default is not to wait. Max number of parallel deliveries to the same destination: limits the number of parallel deliveries to the same destination via the smtp delivery agent. Max number of recipients per delivery: limits the number of recipients per delivery via the smtp delivery agent. Timeout for completing TCP connections: specifies the SMTP client timeout in seconds for completing a TCP connection. Timeout on waiting for answer to MAIL FROM: specifies the SMTP client timeout in seconds for sending the SMTP MAIL FROM command, and for receiving the server response. Timeout on waiting for answer to DATA: specifies the SMTP client timeout in seconds for sending the SMTP DATA command, and for receiving the server response. Timeout on waiting for answer to ending ".": specifies the SMTP client timeout in seconds for sending the SMTP ".", and for receiving the server response. Skip 4xx greeting: controls what happens when an SMTP server greets us with a 4XX status code. Timeout on waiting for the greeting banner: specifies the SMTP client timeout in seconds for receiving the SMTP greeting banner. Timeout on waiting for answer to RCPT TO: specifies the SMTP client timeout in seconds for sending the SMTP RCPT TO command, and for receiving the server response. Timeout on waiting for answer to transmit of message content: specifies the SMTP client timeout in seconds for sending the SMTP message content. Timeout on waiting for answer to QUIT: specifies the SMTP client timeout in seconds for sending the SMTP QUIT command, and for receiving the server response.

Make sure to click Save and Apply to preserve changes. Delivery rates This parameter controls the number of concurrent processes that implement a Postfix service (smtp client, smtp server, local delivery, etc.).

Max number of parallel deliveries to the same destination: specifies a default limit on the number of parallel deliveries to the same destination. This is the default limit for delivery via SMTP, via the local delivery agent and via the pipe mailer. Max number of recipients per message delivery: specifies a default limit on the number of recipients per message delivery. This is the default limit for delivery via SMTP, via the local delivery agent and via the pipe mailer. Initial concurrency level for delivery to the same destination: specifies the initial per-destination concurrency level for parallel delivery to the same destination. This limit applies to delivery via SMTP, via the local delivery agent and via the pipe mailer. Max time in queue before message is undeliverable: specifies the maximal time

in days a message is queued before it is sent back as undeliverable. Min time between attempts to deliver a deferred message: specifies the minimal time in seconds between attempts to deliver a deferred message. This parameter also limits the time an unreachable destination is kept in the short-term, in-memory destination status cache. Max time between attempts to deliver a deferred message: specifies the maximal time in seconds between attempts to deliver a deferred message. Time (secs) between scanning the deferred queue: specifies the time in seconds between deferred queue scans by the queue manager. Transports that should not be delivered: specifies the names of transports that should not be delivered to unless someone issues "sendmail -q" or equivalent.

Make sure to click Save and Apply to preserve changes. Debugging features You can ask Postfix to produce mail delivery reports for debugging purposes. These reports not only show sender/recipient addresses after address rewriting and alias expansion or forwarding, they also show information about delivery to mailbox, delivery to non-Postfix command, responses from remote SMTP servers, and so on.

List of domain/network patterns for which verbose log is enabled: specifies an optional list of domain or network patterns, /file/name patterns or type:name tables. When an SMTP client or server host name or address matches a pattern, increase the verbose logging level by the amount specified in the debug_peer_level parameter. Verbose logging level when matching the above list: specifies the increment in verbose logging level when an SMTP client or server host name or address matches a pattern in the debug_peer_list parameter.

Make sure to click Save and Apply to preserve changes. Server Processes This option can be used to manage the various server processes used by Postfix for receiving and processing email. Unless you are an expert in Postfix configuration they should not generally be edited, however you want want to enable or disable certain server processes to turn on and off Postfix features like SMTP over SSL.

To create new server process click on the Add a new server process button. Fill the form that appears:

Click Create to preserve. LDAP lookups The Postfix mail system uses optional tables for address rewriting or mail routing. These tables are usually in dbm or db format. Alternatively, lookup tables can be specified as LDAP databases. Postfix can use an LDAP directory as a source for any of its lookups: aliases, virtual, canonical, etc. This allows you to keep information for your mail service in a replicated network database with fine-grained access controls. Mail Queue Postfix has four different queues: maildrop, incoming, active, deferred . Locally-posted mail is deposited into the maildrop, and is copied to the incoming queue after some cleaning up. The incoming queue is for mail that is still arriving or that the queue manager hasn't looked at yet. The active queue is a limited-size queue for mail that the queue manager has opened for delivery. Mail that can't be delivered goes to the deferred queue, so that it does not get in the way of other deliveries. Configuration Check This page allows to check main Postfix options.

User Mailboxes Click the User Mailboxes icon and you will see the page, that contains the user mailboxes list:

To get access to mails in these mailboxes, just click one of mailboxes names in this list. To read mail in some file enter the name to this file or click the "..." button and find it in the pop-up window.

Potrebbero piacerti anche