Peter Rundle said:

> without any tampering, others however are obviously evil and their
> mail must go via the corporate server to have whatever degrading
> indignaties are to be imposed on them (virus scanning, long winded 
> legalise tacked on the end, all nudie pictures removed etc...)
This can all be done with libmilter (part of the sendmail distribution).

> you have to put OSS between "commercial" software and the internet to
> stop it from becoming spam central. ;-)
Sendmail these days comes with a lot of SPAM stomping features...

> Of course a smart user might try to set their "mail from" to something
> else and put a quite note in the body of the message requesting the 
> recipient not reply to the envelope address but to the address written
> ...
> this doesn't match the envelop "mail from" something nasty might happen
> to their e-mail...
libmilter again.

> Now the tricky bit, if the "mail from" is NOT in the "naughty users
> list" 
> their mail gets released to the ether undamaged, otherwise, their mail
> is 
> routed to the corporate server for appropriate tampering before heading
> out. 
ditto.

All you have to do is to write a mail filter program that does all this
(or multiples that do a bit at a time).  Ok, this is a pretty new feature
in sendmail but I am working on one that does virus scanning...  The guys
who wrote the scanner have actually used a rather clever feature in
sendmail so they can use a mailer to send all the mail to the mailer first
and the mailer re-injects the mail into sendmail who then delivers it to
the final destination.  That way all the mail goes through the mailer who
can do with it as it pleases (including throwing it into a black hole).

Ok, this is more than just tweaking the *.cf file...  My statement was
that it can be done.  BTW, I have dealt with both sendmail and qmail and
my choice is sendmail.  Yes, I know, the learning curve for sendmail IS
much steeper but it is much more feature-rich (and potentially
bug-prone).  Further, I do have to refer to the doco quite often as I
DON'T remember everything about it.

tom.
Consultant

AUSSEC    Phone: 61 4 1768 2202
339 Blaxland Rd., Ryde NSW 2112
Email: [EMAIL PROTECTED]



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to