Re: limiting postfix to send mail to one domain

2011-07-15 Thread James D. Parra
> Yup, that would do the trick. /etc/postfix/main.cf: default_transport = error:5.7.1 This destination is prohibited. transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: example.com smtp: This avoids regular expressions, and also has the same limitation of n

Re: limiting postfix to send mail to one domain

2011-07-15 Thread Reindl Harald
Am 15.07.2011 22:25, schrieb James D. Parra: > Hello, > > I want to restrict postfix to only send mail to our domain, yet to no others. > In other words, I want to set it up to not send mail to any outside address > and only to accounts within our domain (anyuser@our_domain_only.com). This is

Re: limiting postfix to send mail to one domain

2011-07-15 Thread Wietse Venema
Wietse Venema: > Erwan David: > > On 15/07/11 22:25, James D. Parra wrote: > > > Hello, > > > > > > I want to restrict postfix to only send mail to our domain, yet to no > > > others. In other words, I want to set it up to not send mail to any > > > outside address and only to accounts within ou

Re: limiting postfix to send mail to one domain

2011-07-15 Thread Wietse Venema
Erwan David: > On 15/07/11 22:25, James D. Parra wrote: > > Hello, > > > > I want to restrict postfix to only send mail to our domain, yet to no > > others. In other words, I want to set it up to not send mail to any outside > > address and only to accounts within our domain > > (anyuser@our_do

Re: limiting postfix to send mail to one domain

2011-07-15 Thread Wietse Venema
James D. Parra: > Hello, > > I want to restrict postfix to only send mail to our domain, yet to no others. > In other words, I want to set it up to not send mail to any outside address > and only to accounts within our domain (anyuser@our_domain_only.com). This is > a test server and is not a m

Re: limiting postfix to send mail to one domain

2011-07-15 Thread Erwan David
On 15/07/11 22:25, James D. Parra wrote: > Hello, > > I want to restrict postfix to only send mail to our domain, yet to no others. > In other words, I want to set it up to not send mail to any outside address > and only to accounts within our domain (anyuser@our_domain_only.com). This is > a t

limiting postfix to send mail to one domain

2011-07-15 Thread James D. Parra
Hello, I want to restrict postfix to only send mail to our domain, yet to no others. In other words, I want to set it up to not send mail to any outside address and only to accounts within our domain (anyuser@our_domain_only.com). This is a test server and is not a mail server, per say. Postfix