This is a discussion on RE: Problem with Postfix on Solaris within the mailing.postfix.users forums, part of the Mail Servers and Related category; For the alias file, you are supposed to use postalias, not postmap. User Commands POSTALIAS(1) NAME postalias - Postfix alias ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
For the alias file, you are supposed to use postalias, not postmap.
User Commands POSTALIAS(1) NAME postalias - Postfix alias database maintenance SYNOPSIS postalias [-Nfinorvw] [-c config_dir] [-d key] [-q key] [file_type:]file_name ... DESCRIPTION The postalias command creates or queries one or more Postfix alias databases, or updates an existing one. The input and output file formats are expected to be compatible with Send- mail version 8, and are expected to be suitable for the use as NIS alias maps. Postmap is for all the other map files (access maps, virtual user maps, ....). > -----Original Message----- > From: Shane Presley [mailto:shane.presley@gmail.com] > Sent: Friday, December 03, 2004 10:39 AM > To: postfix-users@postfix.org > Subject: Re: Problem with Postfix on Solaris >=20 > On Fri, 3 Dec 2004 14:31:59 +0100, Ralf Hildebrandt > <ralf.hildebrandt@charite.de> wrote: > > Add the whitespace. >=20 > Okay I did that, now I get this when I run postmap: >=20 > postmap aliases > postmap: warning: aliases, line 58: record is in "key: value" format; > is this an alias file? >=20 > So I read the man of postmap again and it seems to want to know the > file_type, but it doesn't list the options. At least not for input > file types, maybe just for output file types? >=20 > When I use postmap to query the database, it works (returns a value) > when the alias file is short, but returns nothing when the alias file > is long (searching for the same user. >=20 > Thanks, > Shane |