nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Confusion Pl. Clear it for me

This is a discussion on Confusion Pl. Clear it for me within the Linux software forums, part of the Linux Getting Started category; 1.) I have a query about Sendmail that why we need DNS for Sendmail, whereas it can also run with ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 10-25-2006, 09:43 PM
Member
User
 
Join Date: Jul 2006
Posts: 78
Rep Power: 0
kasimani
Send a message via Yahoo to kasimani
Default Confusion Pl. Clear it for me

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

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.

3.)
Can we see the log report of Internet Uses Using Squid Proxy.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-25-2006, 11:48 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

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:
Code:
mail -s "test" vivek@nixcraft.in < /dev/null
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
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 10-26-2006, 12:38 AM
Member
User
 
Join Date: Jul 2006
Posts: 78
Rep Power: 0
kasimani
Send a message via Yahoo to kasimani
Default Logic Not Clear

I want the working funda behind sendmail

1) On what basis it will differentiates local mail accounts with Internet mail account

i have a network in which linux box acting as Mail server for local users, now i want to set up this box also to Mail Router from Internet.

Clients are using MS Outlook for mail sending and retrival.
pl. give the experimental things

Thanks
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
MySQL clear history file ~/.mysql_history raj Databases servers 1 04-16-2008 10:55 AM


All times are GMT +5.5. The time now is 12:10 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36