OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: virtual_alias_maps

From: C Mallon (cmallonliveworld.com)
Date: Tue May 02 2006 - 13:32:11 CDT


Hi,

Thanks so much - you were right - I hadn't set up the file properly
but I'm still having some trouble and I'm wondering if maybe I'm
handling this wrong. This is my situation:

I have a subdomain that belongs to the engineers (pager.company.com)
and all the servers and systems send information to the
opspager.company.com alias on our current mail system.

The pager.company.com alias then sends that data (usually somethings
broken) to their individual pagers which is hosted by an external
company. In addition, there is a script that swaps the alias file
with another pager.company.com file for the night shift and then
another for the day shift.

Now I've tried to set up a virutal alias map:

(main.cf) virtual_alias_map = hash:/etc/postfix/vmail/pager.aliases

(pager.aliases) engineerpager.company.com 1076208skytel.com

I ran postmap/etc/postfix/vmail/pager.aliases and received no error
which is great but tests to this system fail.

What am I missing? My boss definitely wants a sub-domain (it's one
of several) and I'll also need to include a top alias like
engineersops.company.com that may contain several pager numbers.

Should I be using virtual_alias_maps?

Thanks again

On Apr 27, 2006, at 10:43 PM, Magnus Bäck wrote:

> On Friday, April 28, 2006 at 01:42 CEST,
> C Mallon <cmallonliveworld.com> wrote:
>
>> I'm setting up a virtual domain with virtual_alias_maps and upon
>> 'postmap file name', I received the following error:
>>
>> postmap: warning: pager.aliases, line 1: record is in "key: value"
>> format; is this an alias file?
>>
>> for every entry in the file. Now I've read the man page and I've
>> done some googling and searching around the mailing list and I have
>> found others who have inquired about the same issue but I haven't
>> found a cause.
>>
>> Can someone tell me what this is or what causes it?
>
> Postfix thinks your virtual alias file is a local alias file. Make
> sure
> your file adhers to virtual(5) and post a few lines of it here if you
> still haven't found the error.
>
> --
> Magnus Bäck
> magnusdsek.lth.se
>

Constance Mallon
Liveworld, Inc
cmallonliveworld.com