Show
Ignore:
Timestamp:
03/14/08 22:49:36 (9 months ago)
Author:
rats
Message:

Small fix,
Updated all Distros

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configs/dists/opensuse/postfix/main.cf

    r1026 r1059  
     1# 
     2# ispCP ω (OMEGA) a Virtual Hosting Control System 
     3# 
     4# @copyright    2001-2006 by moleSoftware GmbH 
     5# @copyright    2006-2008 by ispCP | http://isp-control.net 
     6# @version              SVN: $ID$ 
     7# @link                 http://isp-control.net 
     8# @author               ispCP Team 
     9# 
     10# @license 
     11#   This program is free software; you can redistribute it and/or modify it under 
     12#   the terms of the MPL General Public License as published by the Free Software 
     13#   Foundation; either version 1.1 of the License, or (at your option) any later 
     14#   version. 
     15#   You should have received a copy of the MPL Mozilla Public License along with 
     16#   this program; if not, write to the Open Source Initiative (OSI) 
     17#   http://opensource.org | osi@opensource.org 
     18# 
     19################################################################################ 
    120 
    2 
    3 # Postfix MTA Manager Main Configuration File; 
    4 
    5 # Please do NOT edit this file manually; 
    6 
     21# Postfix directory settings; These are critical for normal Postfix MTA functionallity 
     22command_directory            = /usr/sbin 
     23daemon_directory             = /usr/lib/postfix 
     24program_directory            = /usr/lib/postfix 
    725 
    8 # 
    9 # Postfix directory settings; These are critical for normal Postfix MTA functionallity; 
    10 
     26# Some common configuration parameters 
     27inet_interfaces              = all 
     28mynetworks_style             = host 
    1129 
    12 command_directory = /usr/sbin 
    13 daemon_directory  = /usr/lib/postfix 
    14 program_directory = /usr/lib/postfix 
     30myhostname                   = {MTA_HOSTNAME} 
     31mydomain                     = {MTA_LOCAL_DOMAIN} 
     32myorigin                     = $myhostname 
    1533 
    16 
    17 # Some common configuration parameters; 
    18 
     34smtpd_banner                 = $myhostname ESMTP ispCP {MTA_VERSION} Managed 
     35setgid_group                 = postdrop 
    1936 
    20 inet_interfaces  = all 
    21 mynetworks_style = host 
     37# Receiving messages parameters 
     38mydestination                = $myhostname, $mydomain 
     39append_dot_mydomain          = no 
     40append_at_myorigin           = yes 
     41local_transport              = local 
     42virtual_transport            = virtual 
     43transport_maps               = hash:{MTA_TRANSPORT_HASH} 
     44alias_maps                   = hash:{MTA_LOCAL_ALIAS_HASH} 
     45alias_database               = hash:{MTA_LOCAL_ALIAS_HASH} 
    2246 
    23 myhostname = {MTA_HOSTNAME} 
    24 mydomain   = {MTA_LOCAL_DOMAIN} 
    25 myorigin   = $myhostname 
    26  
    27 smtpd_banner = $myhostname ESMTP ispCP {MTA_VERSION} Managed 
    28 setgid_group = maildrop 
    29  
    30 
    31 # Receiving messages parameters; 
    32 
    33  
    34 mydestination       = $myhostname, $mydomain 
    35 append_dot_mydomain = no 
    36 append_at_myorigin  = yes 
    37 local_transport     = local 
    38 virtual_transport   = virtual 
    39 transport_maps      = hash:{MTA_TRANSPORT_HASH} 
    40 alias_maps                      = hash:/etc/aliases 
    41  
    42 
    43 # Delivering local messages parameters; 
    44 
    45  
    46 mail_spool_directory = {MTA_LOCAL_MAIL_DIR} 
     47# Delivering local messages parameters 
     48mail_spool_directory         = {MTA_LOCAL_MAIL_DIR} 
    4749 
    4850# Mailboxquota 
    4951# => 0 for unlimited 
    5052# => 104857600 for 100 MB 
    51 mailbox_size_limit = 0 
    52 mailbox_command    = procmail -a "$EXTENSION" 
     53mailbox_size_limit           = 0 
     54mailbox_command              = procmail -a "$EXTENSION" 
    5355 
    54 biff = no 
    55  
    56 alias_database                    = hash:{MTA_LOCAL_ALIAS_HASH} 
     56biff                         = no 
     57recipient_delimiter          = + 
    5758 
    5859local_destination_recipient_limit = 1 
    59 local_recipient_maps              = unix:passwd.byname $alias_database 
     60local_recipient_maps         = unix:passwd.byname $alias_database 
    6061 
    61 
    62 # ISPCP Autoresponder parameters; 
    63 
    64  
     62# ispCP Autoresponder parameters 
    6563ispcp-arpl_destination_recipient_limit = 1 
    6664 
    67 # 
    68 # Delivering virtual messages parameters; 
    69 
     65# Delivering virtual messages parameters 
     66virtual_mailbox_base         = {MTA_VIRTUAL_MAIL_DIR} 
     67virtual_mailbox_limit        = 0 
    7068 
    71 virtual_mailbox_base    = {MTA_VIRTUAL_MAIL_DIR
    72 virtual_mailbox_limit   = 0 
     69virtual_mailbox_domains      = hash:{MTA_VIRTUAL_DMN_HASH
     70virtual_mailbox_maps         = hash:{MTA_VIRTUAL_MAILBOX_HASH} 
    7371 
    74 virtual_mailbox_domains = hash:{MTA_VIRTUAL_DMN_HASH} 
    75 virtual_mailbox_maps    = hash:{MTA_VIRTUAL_MAILBOX_HASH} 
     72virtual_alias_maps           = hash:{MTA_VIRTUAL_ALIAS_HASH} 
    7673 
    77 virtual_alias_maps      = hash:{MTA_VIRTUAL_ALIAS_HASH} 
     74virtual_minimum_uid          = {MTA_MAILBOX_MIN_UID} 
     75virtual_uid_maps             = static:{MTA_MAILBOX_UID} 
     76virtual_gid_maps             = static:{MTA_MAILBOX_GID} 
    7877 
    79 virtual_minimum_uid     = {MTA_MAILBOX_MIN_UID} 
    80 virtual_uid_maps        = static:{MTA_MAILBOX_UID} 
    81 virtual_gid_maps        = static:{MTA_MAILBOX_GID} 
    82  
    83 
    84 # SASL paramters; 
    85 
    86  
     78# SASL paramters 
    8779smtpd_sasl_auth_enable       = yes 
    8880smtpd_sasl2_auth_enable      = yes 
     
    9183broken_sasl_auth_clients     = yes 
    9284 
    93 smtpd_helo_required = yes 
     85smtpd_helo_required          = yes 
    9486 
    9587smtpd_helo_restrictions      = permit_mynetworks, 
     
    116108                               reject_unauth_pipelining 
    117109 
     110# TLS parameters; activate, if avaible/used 
     111#smtpd_use_tls               = yes 
     112#smtpd_tls_loglevel          = 2 
     113#smtpd_tls_cert_file         = /etc/postfix/cert.pem 
     114#smtpd_tls_key_file          = /etc/postfix/privkey.pem 
     115#smtpd_tls_auth_only         = no 
     116#smtpd_tls_received_header   = yes 
    118117 
    119 
    120 # TLS parameters; activate, if avaible/used 
    121 
     118# AMaViS parameters; activate, if available/used 
     119#content_filter               = amavis:[127.0.0.1]:10024 
    122120 
    123 #smtpd_tls_loglevel        = 2 
    124 #smtpd_tls_cert_file       = /etc/postfix/cert.pem 
    125 #smtpd_tls_key_file        = /etc/postfix/privkey.pem 
    126 #smtpd_use_tls             = yes 
    127 #smtpd_tls_auth_only       = no 
    128 #smtpd_tls_received_header = yes 
    129  
    130  
    131 # 
    132 # AMaViS parameters; activate, if available/used 
    133 # 
    134  
    135 #content_filter = amavis:[127.0.0.1]:10024 
    136  
    137 # 
    138121# Quota support; activate, if available/used 
    139 # 
    140  
    141122#virtual_create_maildirsize     = yes 
    142123#virtual_mailbox_extended       = yes