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: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Oct 30 2003 - 08:27:52 CST


Lydiard wrote:

[...]

> Oct 30 13:26:03 p4-7066 postfix/trivial-rewrite[3787]: warning: do not
> list domain rhodesconsulting.co.uk in BOTH mydestination and
> virtual_mailbox_domains
> Oct 30 13:26:03 p4-7066 postfix/local[3790]: warning: required alias not
> found: postmaster
>
> Since I have to have rhodesconsulting in the virtual_mailbox_domains
> (for the 10 or so different email accounts), I thought it had to be
> removed from $mydestination. Of course it it isn't there. Only in the
> form $mydomain . How do I get around this? Can I remove $mydomain?

Of course. It doesn't matter whether foo.com is included directly or
because it's in $mydomain (and $mydomain is in $mydestination).

Make sure all domains have the required aliases.

[...]

> Basically, I only want mails for the domains in the mysql tables, and I
> don't want to have any local unix accounts.. How do I best achieve
> this?

With an empty $mydestination, no local deliveries will be made.

--
Magnus Bäck
magnusdsek.lth.se