Tags: asmynetworks, cidr, debian, dificulties, implement, loading, networks, notation, postfix, separatefile, software, table

postfix table notation (cidr) dificulties

On Software » Debian

3,505 words with 2 Comments; publish: Fri, 23 May 2008 16:01:00 GMT; (40089.84, « »)

I am trying to implement a cidr notation for my networks on a separate

file and loading them in postfix main.cf as

mynetworks = cidr:/etc/postfix/files/mynetworks

but when I do postmap cidr:/etc/postfix/files/mynetworks i get this error

./postfix/files # postmap cidr:mynetworks

postmap: fatal: dict_mkmap_func: unsupported dictionary type: cidr:

Is the postfix-cidr package installed?

To find out if I have cidr available I issued

./postfix/files # postconf -m

btree

cidr

environ

hash

ldap

mysql

nis

pcre

pgsql

proxy

regexp

sdbm

static

tcp

unix

and it is there to use but I can't create a map file. Any suggestions.

This looks to be a debian issue.

-adam

To UNSUBSCRIBE, email to debian-user-REQUEST.debian.todaysummary.com.lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster.debian.todaysummary.com.lists.debian.or

g

All Comments

Leave a comment...

  • 2 Comments
    • On Mon, 2006-04-17 at 15:01, Adam Done wrote:

      > I am trying to implement a cidr notation for my networks on a separate

      > file and loading them in postfix main.cf as

      > mynetworks = cidr:/etc/postfix/files/mynetworks

      >

      > but when I do postmap cidr:/etc/postfix/files/mynetworks i get this error

      > ../postfix/files # postmap cidr:mynetworks

      > postmap: fatal: dict_mkmap_func: unsupported dictionary type: cidr:

      > Is the postfix-cidr package installed?

      >

      > To find out if I have cidr available I issued

      > ../postfix/files # postconf -m

      > btree

      > cidr

      > environ

      > hash

      > ldap

      > mysql

      > nis

      > pcre

      > pgsql

      > proxy

      > regexp

      > sdbm

      > static

      > tcp

      > unix

      >

      > and it is there to use but I can't create a map file. Any suggestions.

      > This looks to be a debian issue.

      I may be using a different version (2.2) of Postfix than you

      but here it works if I omit the "cidr:" prefix:

      # cat mynetworks

      127.0.0.0/8 loopback

      192.168.0.0/16 RFC1918

      <snip>

      # postmap cidr:mynetworks

      postmap: fatal: dict_mkmap_func: unsupported dictionary type: cidr: Is

      the postfix-cidr package installed?

      # postmap mynetworks

      # grep mynetwork main.cf

      mynetworks = cidr:/etc/postfix/mynetworks

      permit_mynetworks,

      --Mike Bird

      To UNSUBSCRIBE, email to debian-user-REQUEST.debian.todaysummary.com.lists.debian.org

      with a subject of "unsubscribe". Trouble? Contact listmaster.debian.todaysummary.com.lists.debian.or

      g

      #1; Fri, 23 May 2008 16:02:00 GMT
    • Mike Bird wrote:

      >On Mon, 2006-04-17 at 15:01, Adam Done wrote:

      >

      >I may be using a different version (2.2) of Postfix than you

      >but here it works if I omit the "cidr:" prefix:

      ># cat mynetworks

      >127.0.0.0/8 loopback

      >192.168.0.0/16 RFC1918

      ><snip>

      ># postmap cidr:mynetworks

      >postmap: fatal: dict_mkmap_func: unsupported dictionary type: cidr: Is

      >the postfix-cidr package installed?

      ># postmap mynetworks

      ># grep mynetwork main.cf

      >mynetworks = cidr:/etc/postfix/mynetworks

      > permit_mynetworks,

      >--Mike Bird

      >

      >

      Mike,

      That worked perfectly. I have been trying out dif configs for the last

      couple of days and looking around and that fit perfect. Thank you.

      -Adam

      To UNSUBSCRIBE, email to debian-user-REQUEST.debian.todaysummary.com.lists.debian.org

      with a subject of "unsubscribe". Trouble? Contact listmaster.debian.todaysummary.com.lists.debian.or

      g

      #2; Fri, 23 May 2008 16:03:00 GMT