>> This one works: >> accept from any for domain <domains> virtual <catchall> deliver to maildir >> accept from any for domain <domains> alias <aliases> deliver to maildir > But in this case all will be catched!
Yes. Reading other answers, i tried to add a blacklist file with rule: table forbidden_users file:/etc/smtpd/forbidden_users accept from any for domain <domains> recipient !<forbidden_users> virtual <catchall> deliver to maildir (content of /etc/smtpd/forbidden_users): #just the email to be filtered #(here, AT replaces @ because of gmane addresses filtering) filtremoiATgammaray.finiderire.com When i send an email to "filtremoi...", it is filtered. Note that it didn't work when i tried with the «usual» database syntax, that is: filteredATbidule.net filteredATbidule.net they use this syntax here: http://www.openbsd-edu.net/index.php?title=Le_mail_sous_OpenBSD#Blacklister_un_utilisateur You see: touch /etc/mail/blacklist-recipients echo "patricklecassepiedATgmail.com patricklecassepiedATgmail.com" >> /etc/mail/blacklist-recipients But if you do that, you have errors like «invalid use of RECIPIENT table». So i tried with only one occurence of email address to block, and it worked. Also, i'm now in «catch-all but not too much» (that means, that some accounts are for others users than me). e.g. : table catchall { "@" => me, "root@" => root } It seems to work, but that's another story. -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
