How to deliver some addresses locally

2011-10-10 Thread Stefan Bertels
Hi there, I have read some docs about virtual mailboxes and address rewrite but I could not find a solution for my problem: I want to have a file /etc/postfix/virtual containing something like p...@stefan-bertels.destefan anotheraddr...@yahoo.de anotheruser thirdaddr...@gmail.

Re: How to deliver some addresses locally

2011-10-10 Thread Stefan Bertels
On Mon, 10 Oct 2011, Wietse Venema wrote: To deliver some users locally, see http://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local Does not work. :-/ /etc/postfix/main.cf ... virtual_alias_map = hash:/etc/postfix/virtual /etc/postfix/virtual p...@stefa

Re: How to deliver some addresses locally

2011-10-11 Thread Stefan Bertels
On Mon, 10 Oct 2011, Wietse Venema wrote: On Mon, 10 Oct 2011, Wietse Venema wrote: To deliver some users locally, see http://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local You did not follow the instructions. Why do you think so? The instructions in the linked section above

Re: How to deliver some addresses locally

2011-10-11 Thread Stefan Bertels
On Tue, 11 Oct 2011, Wietse Venema wrote: Stefan Bertels: I tried adding domain part to the right side, too: /etc/postfix/virtual p...@stefan-bertels.de stefan@localhost To deliver some address locally, you need to (surprise) specify a destination domain name that delivers locally

Re: How to deliver some addresses locally

2011-10-11 Thread Stefan Bertels
On Tue, 11 Oct 2011, Wietse Venema wrote: It does not get much simpler than this. To deliver (almost) all mail to the smarthost: /etc/postfix/main.cf: myorigin = example.com mydestination = localhost localhost.example.com relayhost = mail.example.net To deliver SOME

Re: How to deliver some addresses locally

2011-10-12 Thread Stefan Bertels
On Mon, 10 Oct 2011, Stefan Bertels wrote: On Mon, 10 Oct 2011, Wietse Venema wrote: To deliver some users locally, see http://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local Does not work. :-/ /etc/postfix/main.cf ... virtual_alias_map = hash:/etc/postfix