Durga Prasad Malyala:
> Hi all,
> Sorry for double posting (if done) as I could not locate my sent mail
> while sending through my mobile.
> 
> I am curious what is the format of IP addresses in /etc/postfix/access.
> i.e. will it understand  006.45.023.230 instead of the common 6.45.23.230 ?

The format is described in:

    http://www.postfix.org/access.5.html
    man 5 access

HOST NAME/ADDRESS PATTERNS
       With  lookups  from  indexed files such as DB or DBM, or from networked
       tables such as NIS, LDAP or SQL,  the  following  lookup  patterns  are
       examined in the order as listed:

        ...
       net.work.addr.ess

       net.work.addr

       net.work

       net    Matches  the  specified IPv4 host address or subnetwork. An IPv4
              host address is a sequence of four decimal octets  separated  by
              ".".
        ...
              NOTE 1: The access map lookup key must be in canonical form:  DO
              NOT SPECIFY UNNECESSARY NULL CHARACTERS, and do not enclose net-
              work address information with "[]" characters.

Emphasis added for clarity.

        Wietse

Reply via email to