Re: filtering domains and e-mails - how ?

2016-02-15 Thread Zalezny Niezalezny
Its working for me. Thank You very much!




On Mon, Feb 15, 2016 at 2:46 PM, Matthew McGehrin  wrote:

> Hello.
>
> See: http://www.postfix.org/transport.5.html
>
> Per the table search order,  user accounts need to be listed first, before
> the domain
>
> IE:
>
> us...@domain.com relay:[smtp1.server.com]
> domain.com relay:[smtp.server.com]
>
>
> See: Postfix users 
>
> Zalezny Niezalezny wrote:
>
>> Hi All, by default in my Postfix configuration I`m routing all E-mails
>> for the domain:
>> *@domain.com  to some external SMTP server. I
>> configure it in the /etc/postfix/transport
>> domain.com  relay:[smtp.server.com <
>> http://smtp.server.com>]
>> Now comes my question, how may I redirect following E-mail
>> us...@domain.com 
>> to some other server   smtp1.server.com .
>>
>> I simply would like to redirect all E-mails with domain @domain.com <
>> http://domain.com> to smtp.server.com  and one
>> e-mail us...@domain.com  to some specified
>> server smtp1.server.com .
>>
>> How to do it properly ?
>>
>> Thanks in advance for any hints.
>>
>>
>> Zalezny
>>
>>
>>
>>
>>


Re: filtering domains and e-mails - how ?

2016-02-15 Thread Matthew McGehrin

Hello.

See: http://www.postfix.org/transport.5.html

Per the table search order,  user accounts need to be listed first, 
before the domain


IE:

us...@domain.com relay:[smtp1.server.com]
domain.com relay:[smtp.server.com]


See: Postfix users 

Zalezny Niezalezny wrote:
Hi All, 
by default in my Postfix configuration I`m routing all E-mails for the 
domain:
*@domain.com  
to some external SMTP server. I configure it in the 
/etc/postfix/transport
domain.com  relay:[smtp.server.com 
]

Now comes my question, how may I redirect following E-mail
us...@domain.com 
to some other server   smtp1.server.com . 



I simply would like to redirect all E-mails with domain @domain.com 
 to smtp.server.com  and 
one e-mail us...@domain.com  to some 
specified server smtp1.server.com .


How to do it properly ?

Thanks in advance for any hints.


Zalezny






filtering domains and e-mails - how ?

2016-02-14 Thread Zalezny Niezalezny
Hi All,

by default in my Postfix configuration I`m routing all E-mails for the
domain:

*@domain.com

 to some external SMTP server. I configure it in the


/etc/postfix/transport

domain.com relay:[smtp.server.com]



Now comes my question, how may I redirect following E-mail


us...@domain.com

to some other server   smtp1.server.com.


I simply would like to redirect all E-mails with domain @domain.com to
smtp.server.com and one e-mail us...@domain.com to some specified server
smtp1.server.com.


How to do it properly ?



Thanks in advance for any hints.


Zalezny