Re: sender domaion restrict to defined recipient

2014-01-30 Thread Lanfeust troy
if we have only this solution why not. But we manage a lot of recipient and a lot of domain so it's not friendly user to manage this by procmail recipe. 2014-01-30 Matthew McGehrin : > Instead of relying on postfix, perhaps create a procmail recipe for > a...@domain.com > > For example: > > :0:

Re: sender domaion restrict to defined recipient

2014-01-30 Thread Matthew McGehrin
Instead of relying on postfix, perhaps create a procmail recipe for a...@domain.com For example: :0: * ^From.*sender@foo\.bar /dev/null # default :0: /var/mail/A -- Matthew Lanfeust troy wrote: thanks for reply. Yes i want to a...@domain.com receive all email excep

Re: sender domaion restrict to defined recipient

2014-01-30 Thread Lanfeust troy
thanks for reply. Yes i want to a...@domain.com receive all email except from specific sender domain or sender address. I have already read http://www.postfix.org/RESTRICTION_CLASS_README.html but i haven't success to implement this. 2014-01-29 Wietse Venema > LuKreme: > > > > On 29 Jan 2014

Re: sender domaion restrict to defined recipient

2014-01-29 Thread Wietse Venema
LuKreme: > > On 29 Jan 2014, at 10:31 , Wietse Venema wrote: > > >check_recipient_access hash:/etc/postfix/rcpt_access > > > > /etc/postfix/rcpt_access > >a...@domain.comreject > > That will reject the entire email, right? I don't think that's > what the OP wants. No. It r

Re: sender domaion restrict to defined recipient

2014-01-29 Thread Viktor Dukhovni
On Wed, Jan 29, 2014 at 11:47:31AM -0700, LuKreme wrote: > > On 29 Jan 2014, at 10:31 , Wietse Venema wrote: > > >check_recipient_access hash:/etc/postfix/rcpt_access > > > > /etc/postfix/rcpt_access > >a...@domain.comreject > > That will reject the entire email, right? I d

Re: sender domaion restrict to defined recipient

2014-01-29 Thread LuKreme
On 29 Jan 2014, at 10:31 , Wietse Venema wrote: >check_recipient_access hash:/etc/postfix/rcpt_access > > /etc/postfix/rcpt_access >a...@domain.comreject That will reject the entire email, right? I don't think that's what the OP wants. -- 'The only reason we're still ali

Re: sender domaion restrict to defined recipient

2014-01-29 Thread Viktor Dukhovni
On Wed, Jan 29, 2014 at 12:31:06PM -0500, Wietse Venema wrote: > > mail from: sen...@foo.bar" > > rcpt to : "2...@domain.com", "3...@domain.com", "a...@domain.com" > > > > I want to > > > > "2...@domain.com" and "3...@domain.com" receive this mail. > > but not "a...@domain.com" > > This is wha

Re: sender domaion restrict to defined recipient

2014-01-29 Thread Wietse Venema
Lanfeust troy: > hi list, > > is it possible with postix to: > > receive an email from outside for example from > > mail from: sen...@foo.bar" > rcpt to : "2...@domain.com", "3...@domain.com", "a...@domain.com" > > I want to > > "2...@domain.com" and "3...@domain.com" receive this mail. > but

sender domaion restrict to defined recipient

2014-01-29 Thread Lanfeust troy
hi list, is it possible with postix to: receive an email from outside for example from mail from: sen...@foo.bar" rcpt to : "2...@domain.com", "3...@domain.com", "a...@domain.com" I want to "2...@domain.com" and "3...@domain.com" receive this mail. but not "a...@domain.com" thanks