Andy Spiegl escreveu:
I want to configure postfix so that it accepts mails for:
 us...@example.com     (domain name changed)
 us...@example.com
and delivers them locally to the users user1 and user2,
but relays any other *...@example.com to the MX of example.com.

I tried putting this into /etc/postfix/virtual :

 example.com anything
@example.com anything

You forgot the at-sign.
 us...@example.com   user1
 us...@example.com   user2

Now it accepts these two addresses but denies any others:

 <us...@example.com>: host xxxxx.de[10.10.10.10] said: 550 5.1.1
    <us...@example.com>: Recipient address rejected: User unknown in
    virtual alias table (in reply to RCPT TO command)

It this setup possible at all?

Thanks a lot,
 Andy.
Best regards,
João Miguel Neves

--
Intraneia
http://www.intraneia.com/

Suporte a Software Livre
Tradução/Localização de software e sítios web
Desenvolvimento de software

Ao seu serviço...

Reply via email to