Re: [courier-users] Blacklisted email addresses not cleared
Hi, On 07/05/2017 11:54 PM, Sam Varshavchik wrote: > Bernd Plagge writes: >> I recently found some cases were blacklisted email addresses (recorded >> in /var/lib/courier/track) were not cleared by the "courier clear >> user@domain" command. I run into a similar issue recently and figured other files in that directory were blocking the user, which `courier clear` didn't clear. You might want to check those files as well. > That's the expected result. An email address gets cleared by adding an A > record, so this looks ok. > > Reviewing the code in question I only see a potential problem with > "clear all" not working correctly, but clearing an individual address > should work. Unfortunately I'm not sure if I can reproduce this, but in my case, `courier clear mar...@bluegap.ch` didn't help. Kind Regards Markus Wanner signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Blacklisted email addresses not cleared
Bernd Plagge writes: Hi all I recently found some cases were blacklisted email addresses (recorded in /var/lib/courier/track) were not cleared by the "courier clear user@domain" command. I ran strace and here is the result: fstat64(3, {st_mode=S_IFREG|0644, st_size=173, ...}) = 0 write(3, "1499264814 aem...@domain.com"..., 33) = 33 close(3)= 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 write(1, "m...@domain.com cleared.\n", 30) = 30 exit_group(0) = ? That's the expected result. An email address gets cleared by adding an A record, so this looks ok. Reviewing the code in question I only see a potential problem with "clear all" not working correctly, but clearing an individual address should work. pgp1WFJM2MF8d.pgp Description: PGP signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users