7 msgPostfix 2.2.5 on latest Solaris 9 x86
5 msgPostfix Relay, and Pop-before-smtp
12 msgNewb Question
13 msgBest defense against this?
1 msgundelivered mail problem - SOLVED
4 msgLegal local-part
3 msgvirtual_alias_domains with mysql: 'User unknown...
6 msgSubmission port (587): howto to use differente ...
5 msgWhen does smtpd_reject_unlisted_recipient kick in?
4 msgPostfix 'falling back' on sasldb? I don't want ...

Nested access maps (I think ;))
\ FH (21 Sep 2007)
. \ Victor Duchovni (21 Sep 2007)
. \ FH (21 Sep 2007)

3 msgSuppression of encoding bad header function in ...
4 msgRE: Catchall ??
3 msgproblem with .forward files + forwarding loops
5 msgPostfix Strange Behaviours
7 msgContent filter question, based upon auth'ed or not
28 msgMail stuck in active queue for loooong time
11 msgHow to stop a user from changing the 'From:' he...
10 msg[Semi-OT] blocked port 465, anywhere?
7 msgchroot problems on Nexenta (OpenSolaris)
Subject:Nested access maps (I think ;))
Group:Postfix-users
From:FH
Date:21 Sep 2007


 
I have a couple of email addresses (they are internal mail lists [of the
::include: variety] actually) that I want to restrict who can send email to
them. I thought the best way was to...

main.cf
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/access

access
maillist permit_mynetworks,check_client_access
hash:/etc/postfix/good_domains,reject

good_domains
domain OK
domain2 OK

But doing this yields a 451 4.3.5 Server configuration error so obviously I
don't know what I'm doing ;) If I remove the check_client_access it works
fine, but the problem is people outside of those listed in "mynetworks" should
be allowed to send mail to these addresses. I know I could set up something
different (like a mailman list) but since there are only a dozen or so people
on these lists it seemed a bit excessive.

Since it doesn't seem possible to nest things like this (or maybe I'm just
doing it wrong), is there any way in postfix to set up this sort of
restriction (limited authorized access to send to a specific destination
address)?

BTW in case it's important I'm running 2.3.8 on a debian 2.6 machine.

TIA




© 2004-2008 readlist.com