Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread wiskbroom
Recently I've been getting a ton of email for a new domain we've registered and have begun receiving email for. Our users in this new domain are either 1. receiving email with a From address identical to their own, or 2. receiving email with a From address of one of our other three domains, non

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread Noel Jones
wiskbr...@hotmail.com wrote: Recently I've been getting a ton of email for a new domain we've registered and have begun receiving email for. Our users in this new domain are either 1. receiving email with a From address identical to their own, or 2. receiving email with a From address of one o

RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread wiskbroom
>> Here are the contents of my /etc/postfix/blocked_senders file: >> >> "operator#...@somephishingbanksite\.com" REJECT > > The above line is the wrong syntax and will never match > anything. Wildcards are not allowed in dbm or other indexed > files, and quotes should never be used. I am almost

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread Noel Jones
wiskbr...@hotmail.com wrote: Here are the contents of my /etc/postfix/blocked_senders file: "operator#...@somephishingbanksite\.com" REJECT The above line is the wrong syntax and will never match anything. Wildcards are not allowed in dbm or other indexed files, and quotes should never be use

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread Victor Duchovni
On Thu, May 14, 2009 at 12:42:01PM -0500, Noel Jones wrote: > wiskbr...@hotmail.com wrote: Here are the contents of my /etc/postfix/blocked_senders file: "operator#...@somephishingbanksite\.com" REJECT >>> The above line is the wrong syntax and will never match >>> anything. Wildcar

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread Noel Jones
Victor Duchovni wrote: On Thu, May 14, 2009 at 12:42:01PM -0500, Noel Jones wrote: wiskbr...@hotmail.com wrote: Here are the contents of my /etc/postfix/blocked_senders file: "operator#...@somephishingbanksite\.com" REJECT The above line is the wrong syntax and will never match anything. Wil

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-14 Thread LuKreme
On 14-May-2009, at 20:19, Noel Jones wrote: You're right, that's a pcre construct and not universally supported by regexp. A more portable expression would be: /operator#[0-...@somephishingbanksite\.com$/ REJECT phishing Now, just to double check, if postfix is compiled with PCRE then it

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-15 Thread Barney Desmond
2009/5/15 LuKreme : > Now, just to double check, if postfix is compiled with PCRE then it doesn't > matter if the table is named regex or pcre, it uses and understands pcre, > right? A PCRE regex in a "regexp" table would still be incorrect. I've not tested this, but I assume you'd get some failur

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-15 Thread Ralf Hildebrandt
* Barney Desmond : > 2009/5/15 LuKreme : > > Now, just to double check, if postfix is compiled with PCRE then it doesn't > > matter if the table is named regex or pcre, it uses and understands pcre, > > right? > > A PCRE regex in a "regexp" table would still be incorrect. Yes. But with simple stu

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-15 Thread Victor Duchovni
On Fri, May 15, 2009 at 12:11:00AM -0600, LuKreme wrote: > On 14-May-2009, at 20:19, Noel Jones wrote: >> You're right, that's a pcre construct and not universally supported by >> regexp. A more portable expression would be: >> >> /operator#[0-...@somephishingbanksite\.com$/ REJECT phishing > >

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-15 Thread Noel Jones
LuKreme wrote: On 14-May-2009, at 20:19, Noel Jones wrote: You're right, that's a pcre construct and not universally supported by regexp. A more portable expression would be: /operator#[0-...@somephishingbanksite\.com$/ REJECT phishing Now, just to double check, if postfix is compiled with

Re: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-15 Thread LuKreme
On 15-May-2009, at 09:37, Noel Jones wrote: (The situation is confused by some linux vendors that include an enhanced regexp library with some of the pcre features. So \d may work on SOME regexp libraries, but it certainly isn't widely portable regexp syntax, and Viktor was right to point o

RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-18 Thread wiskbroom
> From: Victor.Duchovni@ > On Thu, May 14, 2009 at 12:42:01PM -0500, Noel Jones wrote: > >> wiskbr...@hotmail.com wrote: > Here are the contents of my /etc/postfix/blocked_senders file: > > "operator#...@somephishingbanksite\.com" REJECT The above line is the wrong syntax and wil

RESOLVED RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-20 Thread wiskbroom
>> From: Victor.Duchovni@ >> On Thu, May 14, 2009 at 12:42:01PM -0500, Noel Jones wrote: >> >>> wiskbr...@hotmail.com wrote: >> Here are the contents of my /etc/postfix/blocked_senders file: >> >> "operator#...@somephishingbanksite\.com" REJECT > The above line is the wrong synta

Re: RESOLVED RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-21 Thread Michael Orlitzky
wiskbr...@hotmail.com wrote: My problem was that my main.cf, although stating the aliases map with: alias_database = dbm:/etc/postfix/aliases alias_maps = dbm:/etc/postfix/aliases Was actually using /etc/aliases. Not sure why, I've just deleted the /etc one and sym-linked the /etc/postfix/ali

RE: RESOLVED RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-22 Thread wiskbroom
> From: mich...@orlitzky.com > To: postfix-users@postfix.org > Subject: Re: RESOLVED RE: Need To Reject Inbound From Addresses with My Own > Domain/s > > wiskbr...@hotmail.com wrote: >> >> My problem was that my main.cf, although stating the aliases map with: &