RE: Relay restrictions

2011-01-10 Thread Michael.Larsen
I've been poring over this email for five days now, and just can't wrap my mind around what Viktor's example configuration is doing. I understand what he *says* it's doing, but I can't look at the configuration and "see" it. Can someone explain? Specifically, I don't see where the "AND" and "OR

RE: Relay restrictions

2010-12-31 Thread Michael.Larsen
Thanks for your reply. How does this configuration determine if all mail from a client should be relayed, or only the mail allowed by the allowed-sender/allowed-recipient rules? There are some hosts I don't want subjected to those rules. -Original Message- From: owner-postfix-us...@pos

RE: Relay restrictions

2010-12-31 Thread Michael.Larsen
Thanks again for trying to help, Viktor, but I'm unable to ascertain how your suggested configuration fulfills my goal. It appears to me that your config discards mail from all clients unless they're listed in the allowed-clients table. This isn't what I'm after. What I'm after is for all client

RE: Relay restrictions

2010-12-30 Thread Michael.Larsen
Perhaps I misunderstood, but you said: > With this all mail is discarded unless *all* (my emphasis) the conditions > below are met: > > - From an allowed SMTP client (IP address CIDR table) > - From an allowed envelope sender (indexed via postmap lookup table) > - To an allowed envel

RE: Relay restrictions

2010-12-30 Thread Michael.Larsen
Thanks for trying to help Viktor, but I don't think this configuration will work for me. Let me try to explain; when I made my original post, others on the list were somewhat surprised regarding my intent. This relay isn't so much a relay as a choke point. The test network I support is subject

RE: Relay restrictions

2010-12-30 Thread Michael.Larsen
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni Sent: Thursday, December 30, 2010 10:37 AM To: Larsen, Michael W. Cc: postfix-users@postfix.org Subject: Re: Relay restrictions On Thu, Dec 30, 2010 at 09:15:30AM

RE: Relay restrictions

2010-12-30 Thread Michael.Larsen
With Noel's explanation I think I got it figured out, but before I try it I'd appreciate other brains validating what I've created as a sanity check. Here's what I have: ### smtpd_recipient_restrictions = # Check what hosts are allowed to relay. Anything not # listed in the acce

Relay restrictions

2010-12-29 Thread Michael.Larsen
Back in August several people helped me with the problem linked here: http://www.mail-archive.com/postfix-users@postfix.org/msg26629.html It was almost what I needed, but I didn't completely understand what I was asking for at the time, and the configuration is causing problems. I need to imple

RE: Configuring internal mail relay

2010-08-20 Thread Michael.Larsen
This solution is exactly what I needed! Thanks everyone for your help! -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of michael.lar...@wellsfargo.com Sent: Tuesday, August 17, 2010 1:49 PM To: postfix-users@postfix.org Subject

RE: Configuring internal mail relay

2010-08-17 Thread Michael.Larsen
Sorry I'm so late to the game, Noel - I forgot I implemented a rule to move these to a separate folder. Thanks to Brian for the heads-up to look. I'll play with this and see how it goes, post a response in a bit. Thanks! -Original Message- From: owner-postfix-us...@postfix.org [mailto:

Configuring internal mail relay

2010-08-16 Thread Michael.Larsen
I need to implement a relay on a test network that will discard all mail destined for corporate email addresses _except_ the corporate email addresses that are explicitly allowed. The reason is that my test network is subject to quotas, and I have to throttle the traffic through the corporate em

Postfix relay - restrict addresses EXCEPT from specific host

2010-08-09 Thread Michael.Larsen
I have a very simple postfix relay set up with client.access, sender.access and recipient.access rules. I need to set it up such that it will relay *all addresses* from a specific host, but keep the default rejection for all other hosts unless the address is specified in sender.access or recipie