LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-22-2010, 01:14 AM   #1
Terry56
Member
 
Registered: Oct 2009
Posts: 49

Rep: Reputation: 15
where do mail go if user not exist on mail server(sendmail)


Hi,
Hope you all will be fine. I want to ask suppose you have a mail server(sendmail). On your system you created a user and send email to him/her. Suppose you created user Kashif and send email to kashif@nethyderabad.com. This will either go to the /var/spool/mail/kashif or /var/spool/mail/root depending on the settings. Ok fine.

Now i want to ask suppose i send email to the user that not exist on the server say Ahsan@nethyerabad.com so where did this mail go. Will it receive by sendmail or not. If yes then where sendmail will put it and if no then i want to ask that, is there any way that when i send email to any user name with domain @nethyderabad.com whether user exist or not it will go to the root directory of mail server(sendmail i.e, var/spool/mail).

Please answer one more question is it possible that whenever sendmail receive an email form @nethyderabad.com it send this mail to my google account which is basit.mahnmood56@gmail.com. If yes then please tell me how.

I also did a change in the file /etc/mail/virtusertable i.e,
Quote:
@nethyderabad.com masood
and then restarted the sendmail also. By doing this i thought now the emails with domain @nethyderabad.com will go to masood mail box(user on the server). But it didn't.

Also when i send email with domain name nethyderabad.com the logs are empty . log doesn't show any message.

Thank you.

Last edited by Terry56; 01-22-2010 at 05:12 AM.
 
Old 01-22-2010, 06:09 AM   #2
Terry56
Member
 
Registered: Oct 2009
Posts: 49

Original Poster
Rep: Reputation: 15
Hi ,
Problem solved. It goes to masood mail box now.Actually the problem is we just changed our IP so i didn't change the IP in our main server. After changing IP in the main server it works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to transfer mail server(all mail account, message of all user) to another machine addil Linux - Newbie 4 04-13-2009 09:02 AM
Why my 2 mail server cannot send mail to each other via Sendmail? nelson.ck.sit Linux - Newbie 4 12-09-2008 08:22 PM
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 04:00 PM
Help me guide to setup mail server as a mail-gateway use spamassasin (use sendmail) adcom99 Linux - Newbie 1 11-03-2007 04:47 PM
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 03:16 PM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration