13 msgHOLD queue GUI
4 msgSpam being sent from our mail server
3 msgcatch-all mail address
4 msgsending mail is working but only local.
8 msg2 postfix boxes as frontservers for MS Exchange...
3 msgdelayed delivery
2 msglibspf2 and policyd
3 msgBypassing content_filter for trusted networks
8 msgChanging UUCP-Sytsle-Adresses to Domain-Style-A...
9 msgList of main.cf options
6 msg'too many errors after RSET' with Outlook
2 msgVirtual Users w/ LDAP and Authentication
3 msgMultiple content filters?
2 msgI don't know what to make of this
3 msgPostfix and Dspam, point me in the right direct...
14 msgPostfix in base FreeBSD system
4 msgWeird 'Connection timed out while sending messa...
4 msgrewriting and redirecting incoming address
4 msgmaster.cf config question

LDAP smtpd_recipient_restrictions
\ James Wilson (23 Sep 2007)
. \ (Wietse Venema) (23 Sep 2007)
. . \ James Wilson (27 Sep 2007)
. . . \ James Wilson (29 Sep 2007)
. . . . \ mouss (1 Oct 2007)
. . . . . \ James Wilson (1 Oct 2007)
. . . . . . \ mouss (1 Oct 2007)

Subject:Re: LDAP smtpd_recipient_restrictions
Group:Postfix-users
From:James Wilson
Date:29 Sep 2007


 
On 27 Sep 2007, at 11:46, James Wilson wrote:
>
> Thanks - I now have this working. Turning on +v to smtpd in
> master.cf helped no end! As suspected, my query was not correctly
> matching the input key.
>
> I'm now faced with one last issue... Say I have two domains for
> which Postfix is authoritative and accepts mail; both of which do
> not accept mail from the internet and are on internal relays.
>
> domain1.sch.uk
> domain2.sch.uk
>
> Is it possible using built in policy restrictions to only allow
> senders from domain1.sch.uk to email users from domain1.sch.uk, but
> deny from domain2.sch.uk
>
> Using the smtpd_recipient_restrictions and
> smtpd_restriction_classes to check the sender address or recipient
> address doesn't give the granularity I require.
>
> As both domains exist in the access map, check_sender_access and
> check_recipient_access will always match.
>
> /etc/postfix/access:
>
> domain1.sch.uk OK
> domain2.sch.uk OK
>
> etc


Anyone able to assist?

Cheers,

James


© 2004-2008 readlist.com