9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fake bounce spam
@ 2008-04-08  0:11 erik quanstrom
  2008-04-08  0:35 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: erik quanstrom @ 2008-04-08  0:11 UTC (permalink / raw)
  To: 9fans

starting saturday, i've been getting an increasing amount of
fake bounce spam predending to be a undelivered mail
notice from MAILER-DAEMON or similar.  overnight i
received >500 such emails.  as an emergency measure, i applied
this terrible hack to smtpd:

; 9diff smtpd.c
/n/sources/plan9//sys/src/cmd/upas/smtp/smtpd.c:1175,1180 - smtpd.c:1175,1184
  				"recipients");
  			return -1;
  		}
+ 		if(1){
+ 			werrstr("rejected: /dev/null likely spam ");
+ 			return -1;
+ 		}
  		return 0;
  	}

unfortunately, if i really do send mail that bounces, i won't know
about it.

i suppose it would be much better to accept bounces only from addresses to which
email has been sent.  though that may mean maintaining a list (per user?).

- erik


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] fake bounce spam
  2008-04-08  0:11 [9fans] fake bounce spam erik quanstrom
@ 2008-04-08  0:35 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2008-04-08  0:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

if you don't want any spam, you'll do much better with

chmod 0 /bin/upas/smtpd

hope this helps.
russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-08  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-08  0:11 [9fans] fake bounce spam erik quanstrom
2008-04-08  0:35 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).