Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


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

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

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 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 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 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 it send this mail to my google account which is If yes then please tell me how.

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

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

Thank you.

Last edited by Terry56; 01-22-2010 at 04:12 AM.
Old 01-22-2010, 05:09 AM   #2
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.


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 08:02 AM
Why my 2 mail server cannot send mail to each other via Sendmail? Linux - Newbie 4 12-09-2008 07:22 PM
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Help me guide to setup mail server as a mail-gateway use spamassasin (use sendmail) adcom99 Linux - Newbie 1 11-03-2007 03:47 PM
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 02:16 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 AM.

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