Re: Multiple domains, only content-filter and not final destination.
- On 08/31/2012 04:41 PM, Noel Jones wrote:
> On 8/31/2012 9:35 AM, Patric Falinder wrote:Thanks a lot guys!
>> I'm setting up a Postfix server which will act as a
>> spamfilter-server and therefore will not store any mails in
>> mailboxes. It will only scan for spam and relay it to the correct
>> server that I have in a list in my mysql-database.
>> I already have one server that does all this but it stores the
>> mailboxes as well so it will put the mail in the actual mailbox. On
>> this server I use all the virtual_mailbox_domains,
>> virtual_mailbox_maps, virtual_alias_maps etc. to let the server know
>> which addresses are accepted and not etc.
>> So I was wondering, what kind of configuration do I need to use if
>> I'm not storing the mail on that particular server? In the Postfix
>> documentation it says that the virtual_* is the final destination
>> for the specified list of domains. But in this case it's not the
>> final destination..
>> So what config do I use to only accept mail to a specific domain and
>> address if it's not the final destination?
> the domains are listed in $relay_domains, the valid recipients are
> listed in $relay_recipient_maps
> -- Noel Jones