2 msgpostmap header_checks error
10 msgmailbox_command (dovecot lda) stopped working, ...
5 msgmynetworks via LDAP lookup
7 msgLocal recipient table in LDAP problem
2 msgproxy_read_maps

smtpd_restriction_class and it's lookup
\ egoitz (24 Jan 2008)

8 msgMessage Rejected
12 msgCustomize to filter attachment ?
2 msgRelay question
14 msgunnecessary routing?
4 msgdo not use 'reject_maps_rbl'?
9 msgFwd: Postfix in OpenVZ.
2 msgbypass body_checks for local mail?
4 msgcatchall with relay_recipient_maps
4 msg'Name server failure' is output
3 msgsmtp_sasl_password_maps lookups
16 msgPostfix Queues on a Ram Disk
15 msgsendmail compared to smtp sending
3 msgPostfix does not recognize remote emails
2 msgHow to disable SSLv2 on smtpd opportunistic TLS?
Subject:smtpd_restriction_class and it's lookup
Group:Postfix-users
From:egoitz
Date:24 Jan 2008


 
Hi,

I'm trying to get a policy to be passed only to some users so I used a
smtpd_restriction_class... I built an access map (a hash) wich with if
domain was local to pass the policy else not... till here all correct and
nice... but know I have a problem... when I have forwards in local domains
to another addresses my policy is trying to be passed and this can't
happen... the email addresses I need to pass the policy in the email
column on my users table. Is it possible to do something like this:

hosteado = check_policy_service unix:private/policyr
defuera = permit
smtpd_restriction_classes = hosteado, defuera

and a hash or something in wich now for defining wich users are going over
hosteado or defuera do something like :


[if address exists in users table in email column] hosteado

else defuera or just do nothing continue examining restrictions...



Thanks a lot mates!







© 2004-2008 readlist.com