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.

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

Reply via email to