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"..., 33) = 33
close(3)                                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
write(1, " 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,!
courier-users mailing list

Reply via email to