| |||||||||||||||||||||||||||||||
|
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