Re: Preventing domain mails from outside

2009-01-10 Thread Wietse Venema
Sahil Tandon: > > > > > Received: by www.thisisireallymydomain.com (Postfix) > > > > id 3C916254775; Tue, 30 Dec 2008 03:50:01 -0800 (PST) > > > > Delivered-To: n...@thisisireallymydomain.com > > > > Received: from alkhorayef.com (unknown [91.189.132.54]) I repeat, this mail did not arrive via t

Re: Preventing domain mails from outside

2009-01-10 Thread Paweł Leśniak
Specifically I added check_sender_access hash:/etc/postfix/copycats to smtpd_recipient_restrictions= after the mynetworks and SASL authenticated permits, added an /etc/postfix/copycats file containing thisisreallymydomain.com REJECT This seems to be effective at stopping some of the spa

Re: Preventing domain mails from outside

2009-01-09 Thread Victor Duchovni
On Fri, Jan 09, 2009 at 10:55:22PM -0500, Sahil Tandon wrote: > > How do I filter on the actual domain that it is coming from instead of > > the forged > > "From:" sent in the message headers? > > You need to filter based on the headers More accurately, the OP will need to abandon the idea of fi

Re: Preventing domain mails from outside

2009-01-09 Thread Sahil Tandon
Sahil Tandon wrote: > > > Received: by www.thisisireallymydomain.com (Postfix) > > > id 3C916254775; Tue, 30 Dec 2008 03:50:01 -0800 (PST) > > > Delivered-To: n...@thisisireallymydomain.com > > > Received: from alkhorayef.com (unknown [91.189.132.54]) Some additional advice: consider using the z

Re: Preventing domain mails from outside

2009-01-09 Thread Sahil Tandon
Norm Mackey wrote: > The intent is to reject any emails claiming to be from inside our > own network which do not actually originate from our own server > IPs or authenticated sessions. > > In order to do this I followed the instructions I found at > http://tech.groups.yahoo.com/group/postfix-u

Re: Preventing domain mails from outside

2009-01-09 Thread Wietse Venema
Norm Mackey: > Received: by www.thisisireallymydomain.com (Postfix) > id 3C916254775; Tue, 30 Dec 2008 03:50:01 -0800 (PST) That mail did not arrive via SMTP. Look in your maillog file around that time. If this mail comes from your HTTP account, the look in the HTTP logs for details. If the HT

Preventing domain mails from outside

2009-01-09 Thread Norm Mackey
I am trying to stop a flood of incoming spam that appears in user inboxes as coming from legitimate users. The intent is to reject any emails claiming to be from inside our own network which do not actually originate from our own server IPs or authenticated sessions. In order to do this I follo