From: Magnus Bäck (no email)
Date: Thu Sep 01 2005 - 16:41:41 EDT
On Thursday, September 01, 2005 at 03:14 CEST,
Mark Douglas <> wrote:
> I currently have my postfix doing all delivery to virtual mailboxes
> which are looked up in MySQL tables, and am doing no local delivery
> whatsoever.
>
> mydestination =
>
> However, I'm setting up Request Tracker to do ticketing, and it needs
> local aliases with pipe commands to intercept incoming mail, something like:
>
> rt-test: "|/usr/local/rt3/bin/rt-mailgate"
>
> But, when I do the following in my main.cf:
>
> mydestination = mydomain.com
> local_recipient_maps = $alias_maps
> alias_maps = /etc/postfix/rtaliases
>
> rtaliases contains the above "rt-test:" alias, and I run postalias
> against it.
>
> The problem is, postfix doesn't seem to ONLY use the
> /etc/postfix/rtaliases as it's only lookup - mail that should be looked
> up in the virtual table is catching local unix users from /etc/passwd (I
> would assume) and is delivering to local mailboxes instead of following
> the virtual maps.
I don't understand what you mean. Show logs.
> 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 ) to the foo.example.com
domain.
> 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.
[...]
-- Magnus Bäck
|
|
|