OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Local delivery without using /etc/passwd

From: Mark Douglas (markprocurehosting.com)
Date: Thu Sep 01 2005 - 16:00:08 CDT


>> I don't even know if it's possible to mix local and virtual deliveries
>> on a single domain like this.
>
> A domain belongs in exactly one one address class, so in your case it's
> either virtual or local. What you can do is make example.com domain
> virtual, foo.example.com local and use virtual aliasing to rewrite
> certain addresses (like rt-testexample.com) to the foo.example.com
> domain.
>

Alright, I think I can handle that solution, I'll give this a shot and see
what happens.

>> However, even if I created a new subdomain to receive mail on
>> specifically for RT so I'm not "sharing" local and virtual delivery,
>> I believe I would still have a problem with local unix accounts being
>> valid delivery options, which I don't want.
>
> With local_recipient_maps set to only $alias_maps, messages to system
> users would not be accepted via SMTP.

This was my problem, that messages to system users were being accepted
even though local_recipient_maps was $alias_maps, which was only
/etc/postfix/rtaliases. However, this is probably a non-issue as I can
implement the virtual address re-writing solution you provided above.

I will let you know how it goes. Thanks for the help,

Mark