mouss qpeqrnetoyennet mike morris wrote 02272008 1017 mouss wrote mike morris wrote hi would like work configuration allows individual recipients opt combination number restrictions difficulty determining best within postfix already created interface allows users select six restrictions opt stores row mysql table recipient address boolean value six checks user choose opt initial idea generate cdb maps based information mysql table one map restrictions recipient allowed opt map would return dunno action email addresses chose opt one check return restriction class enabled restriction everyone else maps would replace respective restrictions appropriate smtpd__restrictions stanza problem unless missing something way return default action call restriction class hash cdb etc pcre map could used wanted got thinking perhaps going wrong way doubtless discussed closest find archives one httpgroupsgooglecomgrouplistpostfixusersbrowse_threadthread2f452e71834581bf65a4ad03b74a0b42lnkgstqperrecipientrestrictions suggestion thread use regexpcre well decent enough approach better way accomplish trying information required let know thanks ive worked time ive found complicates things see ive considered two directions one discussed tests needed define set restriction classes policy_none policy_weak policy_low policy_medium policy_high policy_strong policy_extreme users chose policy_mumble apply mail ive considered approach limits users consider different levels restrictions letting choose exact restrictions allows get mail hosts correctly blocked specific restriction typical customer response told person trying receive email using server still sending spam systems yeah arent sending spam let get email agreed look personnal av firewalls pattern levels low medium high custom advanced users question whether better implemented policy service mixing multiple criterias easy directly access checks check_recipient_access mysqletcpostfixmapsmysqlrecipient_preferences job need make mysql return default policy user hasnt chosen one best make table definition set default create query alternatively use ifnull using hash like need put default policy check either duplicate use something like check_recipient_access staticpolicy_medium problem approach gives users choice complicates configuration didnt see much users really asking using time users didnt default setup started getting annoyed spam asked done moved default policy addresses mostly sacrificed addresses remained spam lovers category customers get really irate cant get email blocked source even explained source blocked rejection messages even urls explain block link forms allow mail admins request delisting people want receive email matter giving ability opt specific restrictions addresses issue given appropriate warnings opening uceube phishing viruses etc believe give customers type control complain increase spam pointed however point getting ask would nice interface user pastes message puts id message tells restrictions would block mean gets spam see rules would blocked every mail passes remember checks would blocked user enables check show warning thats full time project saying use scheme see multidomain hosting site domain admin chose preferences whole domain normal users enough knowledge judge another approach considered problem perdomain approach individual users within domain may still want different restrictions true isnt combination custom admins levels individuals enough fri 08 aug 2008 043909 0100 per recipient restrictions