Sendmail (or any reasonable MTA (Mail Transport Agent): postfix, qmail,
etc.) can do this as well, but you have to be careful.
I think what was meant was whether ipchains/Linux can do this, even if it
isn't a mail server; the answer to that is a "no", insofar as I know,
since ipchains is a packet filter, and knows nothing of the mail protocol;
what can be done is write a mod for smtp port, or redirect that port to a
program listening on the firewall/elsewhere that will deal with the email.
(Like transparent squid, except not squid since that's a caching program,
and not an MTA)
Hope that helps!
Brian
> This sounds like a job for procmail!
>
> Ron DuFresne
> > Hi,
> >
> > Can somebody suggest me whether i can block outgoing
> > mail attachements from my internel lan to outside
> > world(like hotmail/yahoo...) by ipchains on linux.
> > system is working as router/proxy/firewall.
> >
> > TIA.
> >
> >
> > Gunjan
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos -- now, 100 FREE prints!
> > http://photos.yahoo.com
> > -
> > [To unsubscribe, send mail to [EMAIL PROTECTED] with
> > "unsubscribe firewalls" in the body of the message.]
> >
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Cutting the space budget really restores my faith in humanity. It
> eliminates dreams, goals, and ideals and lets us get straight to the
> business of hate, debauchery, and self-annihilation." -- Johnny Hart
> ***testing, only testing, and damn good at it too!***
>
> OK, so you're a Ph.D. Just don't touch anything.
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]