Bluehost.com Web Hosting $6.95

RE: Problem with Postfix on Solaris

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-03-2004
Ean Kingston
 
Posts: n/a
Default RE: Problem with Postfix on Solaris

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0