OSEC

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

From: Ron Bickers (rbickers-list-postfixlogicetc.com)
Date: Tue Mar 02 2004 - 00:13:08 CST


On 03/01/2004 9:06 PM, Sam Carleton wrote:

> as to what I needed to do to get postfix to deal with all the damn
> email address I created with qmail...

qmail seems to be a four-letter word on this list. ;-) But not for me...
I used it for 7 years; too bad it has gone stale.

> It is my understanding that postfix can be configured to function
> the same way, where mail that comes in for
> scarleotn-onlinesalesdomain.com is sent to carleton and is
> processed by carleton's ~/.forward-onlinesales file.

Your understanding is correct.

> Others have made it clear that this is a stupid, ignorent way of
> doing things and I promise never to allow another user, if there is
> ever another user (like my kids) to ever do this type of thing.

I don't see anything stupid about it, though you could simply things by
having an 'scarleton' system user instead of 'carleton'. If you did that,
it would work as expected without the below.

> Is there someone that can help me out with out giving me shit?

Yes. It's quite simple, actually.

In main.cf:

  alias_database = hash:/etc/postfix/aliases
  alias_maps = hash:/etc/postfix/aliases
  propagate_unmatched_extensions = canonical, virtual, alias

In aliases:

  scarleton: carleton

... or, leave propagate_unmatched_extensions alone and do this ...

In main.cf:

  alias_database = hash:/etc/postfix/aliases
  alias_maps = hash:/etc/postfix/aliases
  virtual_alias_maps = hash:/etc/postfix/virtual

In virtual:

  scarletondomain.dom carleton

Use 'postmap virtual' and 'postalias aliases' to create the DBs.

If that doesn't work, let me know.

--
Ron Bickers
Logic Etc, Inc.