p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/postfix-2.10.1/README_FILES/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/share/doc/postfix-2.10.1/README_FILES/IPV6_README
PPoossttffiixx IIPPvv66 SSuuppppoorrtt

-------------------------------------------------------------------------------

IInnttrroodduuccttiioonn

Postfix 2.2 introduces support for the IPv6 (IP version 6) protocol. IPv6
support for older Postfix versions was available as an add-on patch. The
section "Compatibility with Postfix <2.2 IPv6 support" below discusses the
differences between these implementations.

The main feature of interest is that IPv6 uses 128-bit IP addresses instead of
the 32-bit addresses used by IPv4. It can therefore accommodate a much larger
number of hosts and networks without ugly kluges such as NAT. A side benefit of
the much larger address space is that it makes random network scanning
impractical.

Postfix uses the same SMTP protocol over IPv6 as it already uses over the older
IPv4 network, and does AAAA record lookups in the DNS in addition to the older
A records. Information about IPv6 can be found at http://www.ipv6.org/.

This document provides information on the following topics:

  * Supported platforms
  * Configuration
  * Known limitations
  * Compatibility with Postfix <2.2 IPv6 support
  * IPv6 Support for unsupported platforms
  * Credits

SSuuppppoorrtteedd PPllaattffoorrmmss

Postfix version 2.2 supports IPv4 and IPv6 on the following platforms:

  * AIX 5.1+
  * Darwin 7.3+
  * FreeBSD 4+
  * Linux 2.4+
  * NetBSD 1.5+
  * OpenBSD 2+
  * Solaris 8+
  * Tru64Unix V5.1+

On other platforms Postfix will simply use IPv4 as it has always done.

See below for tips how to port Postfix IPv6 support to other environments.

CCoonnffiigguurraattiioonn

Postfix IPv6 support introduces two new main.cf configuration parameters, and
introduces an important change in address syntax notation in match lists such
as mynetworks or debug_peer_list.

Postfix IPv6 address syntax is a little tricky, because there are a few places
where you must enclose an IPv6 address inside "[]" characters, and a few places
where you must not. It is a good idea to use "[]" only in the few places where
you have to. Check out the postconf(5) manual whenever you do IPv6 related
configuration work with Postfix.

  * Instead of hard-coding 127.0.0.1 and ::1 loopback addresses in master.cf,
    specify "inet_interfaces = loopback-only" in main.cf. This way you can use
    the same master.cf file regardless of whether or not Postfix will run on an
    IPv6-enabled system.

  * The first new parameter is called inet_protocols. This specifies what
    protocols Postfix will use when it makes or accepts network connections,
    and also controls what DNS lookups Postfix will use when it makes network
    connections.

        /etc/postfix/main.cf:
            # You must stop/start Postfix after changing this parameter.
            inet_protocols = ipv4       (DEFAULT: enable IPv4 only)
            inet_protocols = all        (enable IPv4, and IPv6 if supported)
            inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)
            inet_protocols = ipv6       (enable IPv6 only)

    By default, Postfix uses IPv4 only, because most systems aren't attached to
    an IPv6 network.

      o On systems with combined IPv4/IPv6 stacks, attempts to deliver mail via
        IPv6 would always fail with "network unreachable", and those attempts
        would only slow down Postfix.

      o Linux kernels don't even load IPv6 protocol support by default. Any
        attempt to use it would fail immediately.

    Note 1: you must stop and start Postfix after changing the inet_protocols
    configuration parameter.

    Note 2: if you see error messages like the following, then you're running
    Linux and need to turn on IPv6 in the kernel: see http://www.ipv6.org/ for
    hints and tips. Unlike other systems, Linux does not have a combined stack
    for IPv4 and IPv6, and IPv6 protocol support is not loaded by default.

        postconf: warning: inet_protocols: IPv6 support is disabled: Address
        family not supported by protocol
        postconf: warning: inet_protocols: configuring for IPv4 support only

    Note 3: on older Linux and Solaris systems, the setting "inet_protocols =
    ipv6" will not prevent Postfix from accepting IPv4 connections. Postfix
    will present the client IP addresses in IPv6 format, though. In all other
    cases, Postfix always presents IPv4 client IP addresses in the traditional
    dotted quad IPv4 format.

  * The other new parameter is smtp_bind_address6. This sets the local
    interface address for outgoing IPv6 SMTP connections, just like the
    smtp_bind_address parameter does for IPv4:

        /etc/postfix/main.cf:
            smtp_bind_address6 = 2001:240:587:0:250:56ff:fe89:1

  * If you left the value of the mynetworks parameter at its default (i.e. no
    mynetworks setting in main.cf) Postfix will figure out by itself what its
    network addresses are. This is what a typical setting looks like:

        % postconf mynetworks
        mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [fe80::]/10 [2001:
        240:587::]/64

    If you did specify the mynetworks parameter value in main.cf, you need
    update the mynetworks value to include the IPv6 networks the system is in.
    Be sure to specify IPv6 address information inside "[]", like this:

        /etc/postfix/main.cf:
            mynetworks = ...IPv4 networks... [::1]/128 [2001:240:587::]/64 ...

NNOOTTEE:: wwhheenn ccoonnffiigguurriinngg PPoossttffiixx mmaattcchh lliissttss ssuucchh aass mmyynneettwwoorrkkss oorr
ddeebbuugg__ppeeeerr__lliisstt,, yyoouu mmuusstt ssppeecciiffyy IIPPvv66 aaddddrreessss iinnffoorrmmaattiioonn iinnssiiddee ""[[]]"" iinn tthhee
mmaaiinn..ccff ppaarraammeetteerr vvaalluuee aanndd iinn ffiilleess ssppeecciiffiieedd wwiitthh aa ""//ffiillee//nnaammee"" ppaatttteerrnn..
IIPPvv66 aaddddrreesssseess ccoonnttaaiinn tthhee ""::"" cchhaarraacctteerr,, aanndd wwoouulldd ootthheerrwwiissee bbee ccoonnffuusseedd wwiitthh
aa ""ttyyppee::ttaabbllee"" ppaatttteerrnn..

KKnnoowwnn LLiimmiittaattiioonnss

  * Postfix SMTP clients before version 2.8 try to connect over IPv6 before
    trying IPv4. With more recent Postfix versions, the order of IPv6 versus
    IPv4 outgoing connection attempts is configurable with the
    smtp_address_preference parameter.

  * Postfix versions before 2.6 do not support DNSBL (real-time blackhole list)
    lookups for IPv6 client IP addresses.

  * IPv6 does not have class A, B, C, etc. networks. With IPv6 networks, the
    setting "mynetworks_style = class" has the same effect as the setting
    "mynetworks_style = subnet".

  * On Tru64Unix and AIX, Postfix can't figure out the local subnet mask and
    always assumes a /128 network. This is a problem only with
    "mynetworks_style = subnet" and no explicit mynetworks setting in main.cf.

CCoommppaattiibbiilliittyy wwiitthh PPoossttffiixx <<22..22 IIPPvv66 ssuuppppoorrtt

Postfix version 2.2 IPv6 support is based on the Postfix/IPv6 patch by Dean
Strik and others, but differs in a few minor ways.

  * main.cf: The inet_interfaces parameter does not support the notation "ipv6:
    all" or "ipv4:all". Use the inet_protocols parameter instead.

  * main.cf: Specify "inet_protocols = all" or "inet_protocols = ipv4, ipv6" in
    order to enable both IPv4 and IPv6 support.

  * main.cf: The inet_protocols parameter also controls what DNS lookups
    Postfix will attempt to make when delivering or receiving mail.

  * main.cf: Specify "inet_interfaces = loopback-only" to listen on loopback
    network interfaces only.

  * The lmtp_bind_address and lmtp_bind_address6 features were omitted. The
    Postfix LMTP client will be absorbed into the SMTP client, so there is no
    reason to keep adding features to the LMTP client.

  * The SMTP server now requires that IPv6 addresses in SMTP commands are
    specified as [ipv6:ipv6address], as described in RFC 2821.

  * The IPv6 network address matching code was rewritten from the ground up,
    and is expected to be closer to the specification. The result may be
    incompatible with the Postfix/IPv6 patch.

IIPPvv66 SSuuppppoorrtt ffoorr uunnssuuppppoorrtteedd ppllaattffoorrmmss

Getting Postfix IPv6 working on other platforms involves the following steps:

  * Specify how Postfix should find the local network interfaces. Postfix needs
    this information to avoid mailer loops and to find out if mail for user@
    [ipaddress] is a local or remote destination.

    If your system has the getifaddrs() routine then add the following to your
    platform-specific section in src/util/sys_defs.h:

        #ifndef NO_IPV6
        # define HAS_IPV6
        # define HAVE_GETIFADDRS
        #endif

    Otherwise, if your system has the SIOCGLIF ioctl() command in /usr/include/
    */*.h, add the following to your platform-specific section in src/util/
    sys_defs.h:

        #ifndef NO_IPV6
        # define HAS_IPV6
        # define HAS_SIOCGLIF
        #endif

    Otherwise, Postfix will have to use the old SIOCGIF commands and get along
    with reduced IPv6 functionality (it won't be able to figure out your IPv6
    netmasks, which are needed for "mynetworks_style = subnet". Add this to
    your platform-specific section in src/util/sys_defs.h:

        #ifndef NO_IPV6
        # define HAS_IPV6
        #endif

  * Test if Postfix can figure out its interface information.

    After compiling Postfix in the usual manner, step into the src/util
    directory and type "mmaakkee iinneett__aaddddrr__llooccaall". Running this file by hand should
    produce all the interface addresses and network masks, for example:

        % make
        % cd src/util
        % make inet_addr_local
        [... some messages ...]
        % ./inet_addr_local
        [... some messages ...]
        ./inet_addr_local: inet_addr_local: configured 2 IPv4 addresses
        ./inet_addr_local: inet_addr_local: configured 4 IPv6 addresses
        168.100.189.2/255.255.255.224
        127.0.0.1/255.0.0.0
        fe80:1::2d0:b7ff:fe88:2ca7/ffff:ffff:ffff:ffff::
        2001:240:587:0:2d0:b7ff:fe88:2ca7/ffff:ffff:ffff:ffff::
        fe80:5::1/ffff:ffff:ffff:ffff::
        ::1/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff

    The above is for an old FreeBSD machine. Other systems produce slightly
    different results, but you get the idea.

If none of all this produces a usable result, send email to the postfix-
users@postfix.org mailing list and we'll try to help you through this.

CCrreeddiittss

The following information is in part based on information that was compiled by
Dean Strik.

  * Mark Huizer wrote the original Postfix IPv6 patch.

  * Jun-ichiro 'itojun' Hagino of the KAME project made substantial
    improvements. Since then, we speak of the KAME patch.

  * The PLD Linux Distribution ported the code to other stacks (notably USAGI).
    We speak of the PLD patch. A very important feature of the PLD patch was
    that it can work with Lutz Jaenicke's TLS patch for Postfix.

  * Dean Strik extended IPv6 support to platforms other than KAME and USAGI,
    updated the patch to keep up with Postfix development, and provided a
    combined IPv6 + TLS patch. Information about his effort can be found on
    Dean Strik's Postfix website at http://www.ipnet6.org/postfix/.

  * Wietse Venema took Dean Strik's IPv6 patch, merged it into Postfix 2.2, and
    took the opportunity to eliminate all IPv4-specific code from Postfix that
    could be removed. For systems without IPv6 support in the kernel and system
    libraries, Postfix has a simple compatibility layer, so that it will use
    IPv4 as before.

N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 20 2023 04:36:26
0 / 0
0755
AAAREADME
2.814 KB
December 09 2011 18:44:41
0 / 0
0644
ADDRESS_CLASS_README
9.326 KB
March 25 2007 14:53:46
0 / 0
0644
ADDRESS_REWRITING_README
42.684 KB
February 10 2010 15:51:30
0 / 0
0644
ADDRESS_VERIFICATION_README
21.89 KB
October 01 2012 18:01:50
0 / 0
0644
BACKSCATTER_README
12.488 KB
March 22 2011 12:33:00
0 / 0
0644
BASIC_CONFIGURATION_README
20.91 KB
October 01 2011 00:52:01
0 / 0
0644
BUILTIN_FILTER_README
13.939 KB
April 04 2009 23:09:26
0 / 0
0644
CDB_README
2.69 KB
January 12 2008 02:31:35
0 / 0
0644
CONNECTION_CACHE_README
8.961 KB
January 08 2010 18:40:27
0 / 0
0644
CONTENT_INSPECTION_README
3.286 KB
May 15 2006 21:33:58
0 / 0
0644
DATABASE_README
14.47 KB
March 18 2012 15:38:48
0 / 0
0644
DB_README
7.583 KB
January 17 2012 20:00:27
0 / 0
0644
DEBUG_README
17.706 KB
October 14 2011 17:56:01
0 / 0
0644
DSN_README
4.327 KB
March 22 2007 19:25:31
0 / 0
0644
ETRN_README
11.404 KB
March 23 2007 18:49:17
0 / 0
0644
FILTER_README
28.608 KB
October 05 2012 20:07:10
0 / 0
0644
INSTALL
41.279 KB
February 06 2013 22:08:43
0 / 0
0644
IPV6_README
11.794 KB
August 02 2012 19:07:06
0 / 0
0644
LDAP_README
20.424 KB
December 02 2010 16:23:59
0 / 0
0644
LINUX_README
2.324 KB
October 11 2012 14:17:57
0 / 0
0644
LOCAL_RECIPIENT_README
5.648 KB
March 25 2007 17:36:06
0 / 0
0644
MAILDROP_README
5.229 KB
January 08 2010 15:39:54
0 / 0
0644
MEMCACHE_README
2.268 KB
January 19 2012 19:35:16
0 / 0
0644
MILTER_README
37.37 KB
August 17 2011 00:20:18
0 / 0
0644
MULTI_INSTANCE_README
42.503 KB
October 07 2012 12:55:45
0 / 0
0644
MYSQL_README
4.309 KB
January 12 2008 02:14:53
0 / 0
0644
NFS_README
4.733 KB
January 11 2009 01:57:07
0 / 0
0644
OVERVIEW
20.309 KB
April 16 2011 14:07:09
0 / 0
0644
PACKAGE_README
5.468 KB
June 23 2011 16:31:17
0 / 0
0644
PCRE_README
2.865 KB
January 12 2008 02:14:54
0 / 0
0644
PGSQL_README
4.397 KB
January 12 2008 02:14:54
0 / 0
0644
POSTSCREEN_README
35.901 KB
November 24 2012 22:48:31
0 / 0
0644
QSHAPE_README
36.626 KB
September 11 2010 13:40:05
0 / 0
0644
RELEASE_NOTES
9.819 KB
June 14 2013 13:09:41
0 / 0
0644
RESTRICTION_CLASS_README
6.975 KB
October 06 2012 23:56:29
0 / 0
0644
SASL_README
64.834 KB
November 12 2012 11:53:21
0 / 0
0644
SCHEDULER_README
65.416 KB
November 28 2011 00:38:03
0 / 0
0644
SMTPD_ACCESS_README
20.536 KB
October 07 2012 15:28:05
0 / 0
0644
SMTPD_POLICY_README
21.842 KB
September 30 2012 22:32:22
0 / 0
0644
SMTPD_PROXY_README
11.881 KB
October 05 2012 20:07:10
0 / 0
0644
SOHO_README
12.707 KB
November 12 2012 11:53:21
0 / 0
0644
SQLITE_README
2.161 KB
July 28 2010 14:32:14
0 / 0
0644
STANDARD_CONFIGURATION_README
26.562 KB
October 12 2012 18:12:58
0 / 0
0644
STRESS_README
19.496 KB
June 17 2012 20:28:21
0 / 0
0644
TLS_LEGACY_README
51.459 KB
April 17 2009 21:56:03
0 / 0
0644
TLS_README
92.463 KB
February 03 2013 18:18:08
0 / 0
0644
TUNING_README
24.053 KB
September 02 2012 23:46:23
0 / 0
0644
ULTRIX_README
1.955 KB
April 11 2004 21:05:34
0 / 0
0644
UUCP_README
5.142 KB
December 09 2004 00:07:13
0 / 0
0644
VERP_README
7.354 KB
October 01 2012 18:01:50
0 / 0
0644
VIRTUAL_README
23.517 KB
August 01 2012 22:38:30
0 / 0
0644
XCLIENT_README
9.507 KB
December 18 2011 22:59:48
0 / 0
0644
XFORWARD_README
8.572 KB
September 10 2010 20:40:22
0 / 0
0644