How to configure sendmail in linux

Hi,
I want to know how to configure emails in linux.First how to configure inside the firewall and second how to configure it outside the firewall?

Regards,
Rajesh

In both cases you need to do the same configuration,difference is if you are sitting inside a firewall then you need to do port forwarding on your firewall,,
thats all .........

Regards,.

Harinder Singh.