IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Make that the responsibility of the programmer
Route all email sending through some central piece of code that can decide whether or not to edit the email address when you send it so that it doesn't actually go out.

Yeah, it is a PITA. It also seems to really be the best way to go.

Cheers,
Ben
To deny the indirect purchaser, who in this case is the ultimate purchaser, the right to seek relief from unlawful conduct, would essentially remove the word consumer from the Consumer Protection Act
- [link|http://www.techworld.com/opsys/news/index.cfm?NewsID=1246&Page=1&pagePos=20|Nebraska Supreme Court]
New 1, I disagree; 2, we've got a way
We don't want the code to have to care what environment it's in. An application that is designed to send notifications to customers should simply send it. If it's coming from the devel box, we catch it before it leaves the box, but I don't want the code having to look it up. And I definitely don't want to leave it up to each programmer to make sure he doesn't accidentally spam our customers.

Besides which, we've got thousands of files that have potentially hundreds of instances of mailing directly from the webserver. We need a solution that we can implement while we work on fixing all the code. (Yes, we're already working on making everything use one method that we can control.)

Second, we're using qmail. Google found me a HOWTO for a simple configuration to say that specific users can only send to specific domains. All we have to do is configure the user the webserver runs as to only send to our own domain.
===

Implicitly condoning stupidity since 2001.
New Can't you just...
block port 25 (SMTP) from that computer at the firewall? I haven't messed with a Sendmail server before, so maybe I'm over simplifying (and am sure I'll catch flak from the members of the forum if I am), but that seems to be the easiest thing to do.
~~~)-Steven----

"I want you to remember that no bastard ever won a war by dying for his country.
He won it by making the other poor dumb bastard die for his country..."

General George S. Patton
Expand Edited by Steven A S Aug. 19, 2004, 02:37:32 PM EDT
New s/SNMP/SMTP/ :-)


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New That's what I thought
The people who have to make it happen, though, disagree.
===

Implicitly condoning stupidity since 2001.
     Any way to capture mail from a particular server? - (drewk) - (8)
         Doesn't a .forward file do what you want? - (Another Scott) - (1)
             Not mail *to* the box, mail *from* the box - (drewk)
         .forward uses pipe to redirect as well -NT - (folkert)
         Make that the responsibility of the programmer - (ben_tilly) - (4)
             1, I disagree; 2, we've got a way - (drewk) - (3)
                 Can't you just... - (Steven A S) - (2)
                     s/SNMP/SMTP/ :-) -NT - (pwhysall)
                     That's what I thought - (drewk)

I could make a hat... or a brooch... or a pterodactyl!
49 ms