Scam-backscatter prevents spam backscatter (accept and bounce) on mail servers which don't host mailboxes locally. It validates mailboxes by verifying the recipient addresses hosted on a different mail server. WWW: http://www.elandsys.com/scam/scam-backscatter/ PR: ports/147115 Submitted by: Janne Snabb <snabb@epipe.com>
20 lines
582 B
C
20 lines
582 B
C
--- scam-back.c.orig 2010-02-21 07:20:47.000000000 +0000
|
|
+++ scam-back.c 2010-05-26 17:39:32.000000000 +0000
|
|
@@ -437,7 +437,7 @@
|
|
|
|
#ifndef LINUX
|
|
#ifdef ALLDOMAINS
|
|
- backsslen = backss.ss_len
|
|
+ backsslen = backss.ss_len;
|
|
#else
|
|
backsslen = priv->backss.ss_len;
|
|
#ifdef FALLBACKEND
|
|
@@ -1174,7 +1174,7 @@
|
|
{
|
|
syslog (LOG_ERR, "cannot open pidfile");
|
|
} else {
|
|
- snprintf (buf, sizeof (buf), "%ld", (long) pid);
|
|
+ snprintf (buf, sizeof (buf), "%ld\n", (long) pid);
|
|
if (write (fd, buf, strlen (buf)) != strlen (buf)) {
|
|
syslog (LOG_ERR, "cannot write to pidfile");
|
|
}
|