Quote:
1.)
I have a query about Sendmail that why we need DNS for Sendmail, whereas it can also run with default configuration with No DNS
|
No you can't use sendmail or any other modern MTA without DNS. You need DNS to find out mail server name for each domain. For example following query shows the mail serer for this site (cyberciti.biz)
Code:
host -t mx cyberciti.biz
cyberciti.biz mail is handled by 10 mail.cyberciti.biz.
Code:
host -t mx nixcraft.com
nixcraft.com mail is handled by 10 ASPMX.L.GOOGLE.com.
So when someone sends an email to
me@nixcraft.com or
me@cyberciti.biz it is handled by ASPMX.L.GOOGLE.com. or mail.cyberciti.biz mail server respectively. DNS is used to provide this information.
Quote:
2.)Is sendmail can be configured as Mail Router as well as Mail Server for Local Users. If Yes. Pl. give me logic behind it, that how it will deferentiate between internet mail account (Global account and Local Users mail account.
|
Is sendmail can be configured as Mail Router as well as Mail Server for Local Users. If Yes. Pl. give me logic behind it, that how it will deferentiate between internet mail account (Global account

and Local Users mail account.
If you local UNIX/Linux username it will be send to local mail account for example
Code:
mail -s "test" vivek < /dev/null
But if you use @domain it will be queried using DNS and mail is send to actual mail server:
Quote:
|
Can we see the log report of Internet Uses Using Squid Proxy.
|
Can we see the log report of Internet Uses Using Squid Proxy.
Yes use /var/log/squid/access.log and /var/log/squid/cache.log files.
Code:
tail -f /var/log/squid/access.log
tail -f /var/log/squid/cache.log